|
|||||||||||
|
Re: safe mallocs (was Re: vulndev-1 and a suggestion about the ensuing discussion)
From: xenophi1e <oliver.lavery(at)sympatico.ca>
Date: Fri May 16 2003 - 13:02:07 EDT ('binary' encoding is not supported, stored as-is) In-Reply-To: <20030516014931.GB564@rahul.net> Interesting. How much would you need to do to expand this to prevent hacking as opposed to just programming errors? Provided the canary was hard to guess, it would be pretty good, I think. Perhaps you could also checksum the bookeeping info and XOR it with the canary and perhaps the allocated address. These three pieces of information seem like they would be quite difficult to fake. Especially if the canary was randomly generated each time the application started, or even more frequently. A static canary and the size alone would be easy to guess, it seems to me.
Cheers,
>When I got around to wrapping malloc, I decided to get a smigeon
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT |
||||||||||
|
|||||||||||