]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: algif_aead - fix uninitialized variable warning
authorStephan Mueller <smueller@chronox.de>
Thu, 8 Dec 2016 06:09:44 +0000 (07:09 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Dec 2016 12:09:22 +0000 (20:09 +0800)
commite0826e1b7935f3edcfb389614bd588617742a506
tree033a4087eb17cd5ec1c164a0ae5e04b7bb030fee
parentcaaf202c8c84fe6b667246a521bd993195fbf425
crypto: algif_aead - fix uninitialized variable warning

In case the user provided insufficient data, the code may return
prematurely without any operation. In this case, the processed
data indicated with outlen is zero.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_aead.c