summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2017-08-02 16:40:47 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-09 20:01:33 +0800
commit28389575a8cf933a5f3c378556b9f4d3cce0efd2 (patch)
treea5279edab102a586cda55f12c628c8455d9c76ab /lib
parent60c4081ec4195389f4fa1fce83eaad5e4b948748 (diff)
downloadlinux-28389575a8cf933a5f3c378556b9f4d3cce0efd2.tar.gz
linux-28389575a8cf933a5f3c378556b9f4d3cce0efd2.tar.bz2
linux-28389575a8cf933a5f3c378556b9f4d3cce0efd2.zip
crypto: ixp4xx - Fix error handling path in 'aead_perform()'
In commit 0f987e25cb8a, the source processing has been moved in front of the destination processing, but the error handling path has not been modified accordingly. Free resources in the correct order to avoid some leaks. Cc: <stable@vger.kernel.org> Fixes: 0f987e25cb8a ("crypto: ixp4xx - Fix false lastlen uninitialised warning") Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions