[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180412.214804.685830742109478351.davem@davemloft.net>
Date: Thu, 12 Apr 2018 21:48:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: labbott@...hat.com
Cc: isdn@...ux-pingi.de, keescook@...omium.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com
Subject: Re: [PATCHv2] mISDN: Remove VLAs
From: Laura Abbott <labbott@...hat.com>
Date: Tue, 10 Apr 2018 18:04:29 -0700
> There's an ongoing effort to remove VLAs[1] from the kernel to eventually
> turn on -Wvla. Remove the VLAs from the mISDN code by switching to using
> kstrdup in one place and using an upper bound in another.
>
> Signed-off-by: Laura Abbott <labbott@...hat.com>
> ---
> v2: Switch to a tighter upper bound so we are allocating a more
> reasonable amount on the stack (300). This is based on previous checks
> against this value.
Applied.
Powered by blists - more mailing lists