User: Password:
Subscribe / Log in / New account

Fun with NULL pointers, part 1

Fun with NULL pointers, part 1

Posted Jul 21, 2009 19:14 UTC (Tue) by zeekec (subscriber, #2414)
Parent article: Fun with NULL pointers, part 1

Nasal demons!

(Log in to post comments)

#pragma and GCC

Posted Jul 21, 2009 21:48 UTC (Tue) by BrucePerens (guest, #2510) [Link]

Some time in the 80's, when RMS was still coding GCC, the response to #pragma in C was explicitly stated to be undefined, so that your compiler could have whatever magic happen that it wished.

So, RMS coded GCC to start the game "rogue" when it saw #pragma.

#pragma and GCC

Posted Jul 22, 2009 15:46 UTC (Wed) by zeekec (subscriber, #2414) [Link]

Wouldn't that be a great response to a NULL dereference in the kernel.

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