lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.58.0705291022400.27110@be10.lrz>
Date:	Tue, 29 May 2007 10:26:05 +0200 (CEST)
From:	Bodo Eggert <7eggert@....de>
To:	Al Viro <viro@....linux.org.uk>
cc:	Bodo Eggert <7eggert@....de>,
	Jan Engelhardt <jengelh@...ux01.gwdg.de>,
	David Miller <davem@...emloft.net>, satyam.sharma@...il.com,
	linux-kernel@...r.kernel.org
Subject: Re: double exclamation (!!) suckage in the kernel

On Sat, 26 May 2007, Al Viro wrote:

> On Sat, May 26, 2007 at 06:38:07PM +0200, Bodo Eggert wrote:
> > Not exactly, if(foo) is the same as if( (int) foo), which is not
> > guaranteed to result in non-null values for non-null pointers.
> 
> RTFStandard.

... and donĀ“t forget half of it untill you look up the next thing.
Yes, obviously I misremembered "compares equal to" as "is".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ