LWN.net Logo

Linux 2.6.30 exploit posted

Linux 2.6.30 exploit posted

Posted Jul 18, 2009 8:51 UTC (Sat) by Ross (subscriber, #4065)
In reply to: Linux 2.6.30 exploit posted by regala
Parent article: Linux 2.6.30 exploit posted

There is no point in checking if it is NULL _after_ you have used it. As soon as you have dereferenced a NULL pointer you can't predict what the program will do, and there is no point in blaming the compiler about it. GCC doesn't claim to allow this and it is not required to by any of the C standards.


(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