summaryrefslogtreecommitdiffstats
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2018-07-10 16:22:52 +0200
committerHerbert Xu2018-07-20 07:51:21 +0200
commit3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad (patch)
tree5ba2cdea55b27cb0fd47277de8c8f1cd7f9d465b /crypto/drbg.c
parentcrypto: chtls - use 64-bit arithmetic instead of 32-bit (diff)
downloadkernel-qcow2-linux-3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad.tar.gz
kernel-qcow2-linux-3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad.tar.xz
kernel-qcow2-linux-3fd8093b41e745448ffeb0a0d3becc2cd1f9d7ad.zip
crypto: dh - fix memory leak
In case memory resources for *base* were allocated, release them before return. Addresses-Coverity-ID: 1471702 ("Resource leak") Fixes: e3fe0ae12962 ("crypto: dh - add public key verification test") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Reviewed-by: Stephan Müller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions