Re: [dev] [st] clipboard patch can lead to crashes with st 0.8

2018-03-17 Thread Daniel Tameling
Hiltjo Posthuma writes: > On Sat, Mar 17, 2018 at 11:04:22AM +0100, Daniel Tameling wrote: >> >> Hi, >> >> the clipboard patch st-clipboard-20180309-c5ba9c0.diff can lead to >> double frees with st 0.8. This is because, starting with commit >> cfc7acdfd923924ae150a32061fb95987697b159, in brelease

Re: [dev] [st] clipboard patch can lead to crashes with st 0.8

2018-03-17 Thread Hiltjo Posthuma
On Sat, Mar 17, 2018 at 11:04:22AM +0100, Daniel Tameling wrote: > > Hi, > > the clipboard patch st-clipboard-20180309-c5ba9c0.diff can lead to > double frees with st 0.8. This is because, starting with commit > cfc7acdfd923924ae150a32061fb95987697b159, in brelease every time Button1 > is release

[dev] [st] clipboard patch can lead to crashes with st 0.8

2018-03-17 Thread Daniel Tameling
Hi, the clipboard patch st-clipboard-20180309-c5ba9c0.diff can lead to double frees with st 0.8. This is because, starting with commit cfc7acdfd923924ae150a32061fb95987697b159, in brelease every time Button1 is released mousesel(e, 1) is called. Up to the commit, there was some code that only cal