On Thu, Feb 17, 2022 at 09:27:26PM +0200, Gilad Ben-Yossef wrote: > Refuse to try mapping zero bytes as this may cause a fault > on some configurations / platforms and it seems the prev. > attempt is not enough and we need to be more explicit. > > Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx> > Reported-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx> > Fixes: ce0fc6db38de ("crypto: ccree - protect against empty or NULL > scatterlists") > --- > drivers/crypto/ccree/cc_buffer_mgr.c | 7 +++++++ > 1 file changed, 7 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt