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
| ||
|
Date: Thu, 9 Jan 2014 21:30:22 -0800 From: Stephen Hemminger <stephen@...workplumber.org> To: Ben Hutchings <bhutchings@...arflare.com> Cc: David Miller <davem@...emloft.net>, <ying.xue@...driver.com>, <steffen.klassert@...unet.com>, <dborkman@...hat.com>, <netdev@...r.kernel.org> Subject: Re: [PATCH net-next] net: xfrm6: silence sparse warning On Fri, 10 Jan 2014 02:53:06 +0000 Ben Hutchings <bhutchings@...arflare.com> wrote: > On Thu, 2014-01-09 at 15:04 -0800, Stephen Hemminger wrote: > > On Wed, 08 Jan 2014 00:56:56 -0500 (EST) > > David Miller <davem@...emloft.net> wrote: > > > > > From: Ying Xue <ying.xue@...driver.com> > > > Date: Wed, 8 Jan 2014 13:55:09 +0800 > > > > > > > 3. Just drop the patch > > > > > > This is the only suitable thing to do. > > > -- > > > 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 > > > > There was some patches floating around to eliminate uses of variable > > length array in the kernel since they aren't supported by CLANG. > > I think you're mixing up two different things there. VLAs are part of > C99 so I'm quite sure Clang supports them (in general). But they seem > to be deprecated in the kernel anyway, maybe because they make it easy > to introduce a stack overflow. > > Ben. > Reading up on this, the problem in CLANG is VLA in Structs; as in: struct foo { char a[n]; int b; }; -- 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