Re: malloc: variation in junk locations

2023-04-03 Thread Theo Buehler
On Sat, Apr 01, 2023 at 09:08:49PM +0200, Otto Moerbeek wrote: > Hi, > > by default an allocation isn't fully written with junk bytes, only at > certain spots. This introduces variations in the spot, so we have a > bigger chance of catching write-after-frees in specific spots. > > After a remark

malloc: variation in junk locations

2023-04-01 Thread Otto Moerbeek
Hi, by default an allocation isn't fully written with junk bytes, only at certain spots. This introduces variations in the spot, so we have a bigger chance of catching write-after-frees in specific spots. After a remark from jsing@ that variation would be nice to have for this. -Otto In