LWN.net Logo

GCC and pointer overflows

GCC and pointer overflows

Posted Apr 19, 2008 5:51 UTC (Sat) by wahern (subscriber, #37304)
In reply to: GCC and pointer overflows by jzbiciak
Parent article: GCC and pointer overflows

The question was how to check if arithmetic overflowed/wrapped, not whether an index or length
is valid.



(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds