[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160126144613.GA23202@gondor.apana.org.au>
Date: Tue, 26 Jan 2016 22:46:13 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
"open list:CRYPTO API" <linux-crypto@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: crypto: algif_hash: creating 0 sized array in hash_accept
On Tue, Jan 26, 2016 at 09:30:54AM -0500, Sasha Levin wrote:
>
> The C spec forbids it, so ubsan complains :)
If you really care about this then please send a patch that adds
?: 1 to the size.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists