summaryrefslogtreecommitdiffstats
path: root/lib/kasprintf.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-01 15:44:50 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:17:00 +1100
commit1b87887d6c232becba77835b29a424cf78442b7d (patch)
tree0580c28ba6f4bc08caa847d26d9ac3f87046f4eb /lib/kasprintf.c
parent2a999a3abb2d3885741b09b9d05280db7e757544 (diff)
downloadop-kernel-dev-1b87887d6c232becba77835b29a424cf78442b7d.zip
op-kernel-dev-1b87887d6c232becba77835b29a424cf78442b7d.tar.gz
[CRYPTO] xcbc: Fix algorithm leak when block size check fails
When the underlying algorithm has a block size other than 16 we abort without freeing it. In fact, we try to return the algorithm itself as an error! This patch plugs the leak and makes it return -EINVAL instead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud