Re: [PATCH 2/3] crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() fails

2014-04-23 Thread Tim Chen
On Mon, 2014-04-21 at 20:46 +0200, Christian Engelmayer wrote: > Fix a potential memory leak in the error handling of test_aead_speed(). In > case > crypto_alloc_aead() fails, the function returns without going through the > centralized cleanup path. Reported by Coverity - CID 1163870. > > Signed

Re: [PATCH 2/3] crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() fails

2014-04-22 Thread Marek Vasut
On Monday, April 21, 2014 at 08:46:40 PM, Christian Engelmayer wrote: > Fix a potential memory leak in the error handling of test_aead_speed(). In > case crypto_alloc_aead() fails, the function returns without going through > the centralized cleanup path. Reported by Coverity - CID 1163870. > > Si

[PATCH 2/3] crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() fails

2014-04-21 Thread Christian Engelmayer
Fix a potential memory leak in the error handling of test_aead_speed(). In case crypto_alloc_aead() fails, the function returns without going through the centralized cleanup path. Reported by Coverity - CID 1163870. Signed-off-by: Christian Engelmayer --- crypto/tcrypt.c | 3 ++- 1 file changed,