Cleanup ressource leaks in test_aead_speed()
Get series with b4
b4 am 20140421204439.7999f1c6@spikeVersions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto: Fix potential leak in test_aead_speed() if aad_size is too bigcrypto/ | +6 | 4 replies | |
| 2/3 | crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() failscrypto/ | +2 | 2 replies | |
| 3/3 | crypto: Fix leak of struct aead_request in test_aead_speed()crypto/ | +3 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Marek Vasut |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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