oss-sec mailing list archives

Re: [Dailydave] [oss-security] Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable


From: Todd Sabin <tsabin () optonline net>
Date: Wed, 22 Jul 2009 11:04:38 -0400

spender () grsecurity net (Brad Spengler) writes:

(Really there should have been a CVE for the lack of 
-fno-delete-null-pointer-checks instead of pretending the only problem 
was /dev/net/tun....

Just as a side note, it seems like gcc is missing an option, to me.
Okay, it can figure out that some NULL pointer checks seem to be
useless, and either optimize them away or leave them in.  What about
issuing a warning?

Where's -Wuseless-null-pointer-check?


Todd

-- 
Todd Sabin                                          <tsabin () optonline net>


Current thread: