On Mon, 2014-04-21 at 20:45 +0200, Christian Engelmayer wrote:
Fix a potential memory leak in the error handling of test_aead_speed(). In
case
the size check on the associate data length parameter fails, the function goes
through the wrong exit label. Reported by Coverity - CID 1163870.
On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut ma...@denx.de wrote:
On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote:
+ if (aad_size = PAGE_SIZE) {
On an unrelated note ... Won't if (aad_size PAGE_SIZE) be sufficient here?
From what I have seen how the buffers are
On Wednesday, April 23, 2014 at 07:43:35 PM, Christian Engelmayer wrote:
On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut ma...@denx.de wrote:
On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote:
+ if (aad_size = PAGE_SIZE) {
On an unrelated note ... Won't if (aad_size
On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote:
Fix a potential memory leak in the error handling of test_aead_speed(). In
case the size check on the associate data length parameter fails, the
function goes through the wrong exit label. Reported by Coverity - CID
1163870.
Fix a potential memory leak in the error handling of test_aead_speed(). In case
the size check on the associate data length parameter fails, the function goes
through the wrong exit label. Reported by Coverity - CID 1163870.
Signed-off-by: Christian Engelmayer cenge...@gmx.at
---
crypto/tcrypt.c