Derek Atkins <[EMAIL PROTECTED]> writes:

> And yes, this code has been there a long time, in order to detect a
> double-free.  

That's a bug then; you can't access freed memory, period.  

Indeed, it is fair game for an attempted read out of freed memory to
fault; it's been freed, you can't read it.  You have no right to
assume that malloc/free even keep pages mapped after a free.

Thomas
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to