This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/crypto
Darren Jenkins dbb018cd8a crypto: tcrypt - Fix memory leak in test_cipher
Coverity CID: 2306 & 2307 RESOURCE_LEAK

In the second for loop in test_cipher(), data is allocated space with
kzalloc() and is only ever freed in an error case.
Looking at this loop, data is written to this memory but nothing seems
to read from it. 
So here is a patch removing the allocation, I think this is the right
fix.

Only compile tested.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmailcom>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-07-08 15:51:44 +08:00
..
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:53 +11:00
2007-11-02 08:47:06 +01:00
2008-04-21 10:19:34 +08:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-10-10 16:55:38 -07:00
2008-01-11 08:16:52 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-07-13 08:06:14 -07:00
2008-03-06 18:56:19 +08:00