Re: Linux "NULL pointer dereferece" in the News...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 19 July 2009, Rahul Sundaram wrote:
>On 07/19/2009 11:31 PM, Tom Horsley wrote:
>> On Sun, 19 Jul 2009 23:11:52 +0530
>>
>> Rahul Sundaram wrote:
>>> It is not so simple. This is not a compiler bug. I suggest you read
>>> through http://lwn.net/Articles/341773/rss to understand why.
>>
>> I did. It is a compiler bug no matter what a bunch of language lawyer
>> holier than thou compiler developers say :-).
>
>The kernel developers claim it is a kernel bug and the compiler
>developers claim it is not their bug and this everybody agrees with and
>yet you don't agree with all of them? Who is being holier than thou here?
>
>Kernel first dereferences a pointer, and after that checks whether it's
>NULL.  It is quite common as a compiler optimization to compile out code
>like this.
>
>Rahul

Ok, so what is the option to pass to the compiler to tell it not to do this?

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

Nothing endures but change.
		-- Heraclitus

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux