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]
Date:	Sun, 04 Oct 2009 12:36:14 +0200
From:	Jan Ceuleers <jan.ceuleers@...puter.org>
To:	netdev@...r.kernel.org
Subject: Re: [PATCH] net: Fix wrong sizeof

Jan Ceuleers wrote:
> David Miller wrote:
>> Any time you see "&" in a sizeof() expression, it's almost
>> certainly a bug.  Something for the folks with automated
>> tools to look for if they haven't already :-)
> 
> Your remark prompted me to find four more instances of such bugs (none of which in the networking bits). I have submitted patches.

As a matter of fact, Jean Delvare had already found all of these and submitted patches.

Jan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ