Skip to content

Cleanup ressource leaks in test_aead_speed()

Christian Engelmayer linux-crypto lkml 1 version In review

Get series with b4
b4 am 20140421204439.7999f1c6@spike

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: Fix potential leak in test_aead_speed() if aad_size is too bigcrypto/tcrypt.c+6 -84 replies
2/3crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() failscrypto/tcrypt.c+2 -12 replies
3/3crypto: Fix leak of struct aead_request in test_aead_speed()crypto/tcrypt.c+3 -12 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMarek Vasut
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Cleanup ressource leaks in test_aead_speed()

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(-)
Signature · 1 line
1.9.1