January 29, 2004

Integer overflow in the new[] operator

Raymond wrote an excellent entry on how to integer overflow the new[] operator. I liked how he broke down the C++ code into assembly to hit the point home. He even provides a wrapper function to do the allocation check for you to use.

Enjoy.

Posted by SilverStr at January 29, 2004 09:29 AM | TrackBack