This is a cleanup of Coverity ressource leak findings for the quick & dirty crypto testing module crypto/tcrypt.c. All 3 changesets address function test_aead_speed() that was introduced in 53f52d7a (crypto: tcrypt - Added speed tests for AEAD crypto alogrithms in tcrypt test suite) The series applies against v3.15-rc2 as well as branch master in tree git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git and is compile tested only. Christian Engelmayer (3): crypto: Fix potential leak in test_aead_speed() if aad_size is too big crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() fails crypto: Fix leak of struct aead_request in test_aead_speed() crypto/tcrypt.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) -- 1.9.1
Attachment:
signature.asc
Description: PGP signature