Email thread. Kind of neat. I just wish I had a system setup to test it.
Originally posted by: kamper
Didn't totally understand that pkgsrc problem. Does that mean that pkgsrc has hitherto-undiscovered bugs that can be investigated and fixed?
Originally posted by: kamper
But one way or another, it means that the new malloc is working, which can't be a bad thing. They're developers. They'll fix the problems.
Originally posted by: kamper
Agreed. Given that their whole MI is to get rid of cruft and rewrite stuff and that most of their current user base is probably willing to deal with the havoc, it wouldn't make sense not to take it. Matt Dillon seemed pretty keen on accepting it and it hasn't caused too many problems in OpenBSD 3.8 has it?
G ``Guard''. Enable guard pages and chunk randomization. Each
page size or larger allocation is followed by a guard page that
will cause a segmentation fault upon any access. Smaller than
page size chunks are returned in a random order.
Originally posted by: kamper
I see. So (you think) it's enabled in -current in obsd (or did you tweak it and forget?). I have nothing set in 3.8 stable.
I remember reading about this but forget the answer: are heap overflow attacks a potential threat? ie. are there security benefits from enabling G?
I wish I'd had this malloc impl when I was learning c in 1st year 😛