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:	Mon, 24 Oct 2011 18:51:08 -0400
From:	Dave Jones <davej@...hat.com>
To:	Richard Weinberger <richard@....at>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Fix kmalloc argument order in um/vdso/vma.c

On Tue, Oct 25, 2011 at 12:23:47AM +0200, Richard Weinberger wrote:
 > Am 25.10.2011 00:15, schrieb Dave Jones:
 > > kmalloc size is 1st arg, not second.
 > > 
 > > Signed-off-by: Dave Jones <davej@...hat.com>
 > 
 > Applied, Thanks!
 > 
 > I'm a bit shocked that this obviously wrong code builds and seems to work.

Both args are the same types, so gcc didn't know any better.

 > How have you found this?

grep -r kmalloc\(GFP *

	Dave

--
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