From: Christian Engelmayer Date: Mon, 21 Apr 2014 18:45:59 +0000 (+0200) Subject: crypto: tcrypt - Fix potential leak in test_aead_speed() if aad_size is too big X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~2^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac5f863f8c548ab72511213b30368cfc8007ae01;p=pandora-kernel.git crypto: tcrypt - Fix potential leak in test_aead_speed() if aad_size is too big Fix a potential memory leak in the error handling of test_aead_speed(). In case the size check on the associate data length parameter fails, the function goes through the wrong exit label. Reported by Coverity - CID 1163870. Signed-off-by: Christian Engelmayer Acked-by: Tim Chen Signed-off-by: Herbert Xu --- Reading git-diff-tree failed