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:	Wed, 25 Jun 2014 16:40:18 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	tklauser@...tanz.ch
Cc:	dborkman@...hat.com, ast@...mgrid.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: filter: Use kcalloc/kmalloc_array to allocate
 arrays

From: Tobias Klauser <tklauser@...tanz.ch>
Date: Tue, 24 Jun 2014 15:33:22 +0200

> Use kcalloc/kmalloc_array to make it clear we're allocating arrays. No
> integer overflow can actually happen here, since len/flen is guaranteed
> to be less than BPF_MAXINSNS (4096). However, this changed makes sure
> we're not going to get one if BPF_MAXINSNS were ever increased.
> 
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>

Applied, thank you.
--
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