Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2021 17:06:55 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 29af3bc12dd7 - stable/13 - cryptocheck: Free generated IV after each GMAC test.
Message-ID:  <202110211706.19LH6tYA080176@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=29af3bc12dd76a4a83556634e400e8f047ea679a

commit 29af3bc12dd76a4a83556634e400e8f047ea679a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-03 23:17:19 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-10-21 15:51:23 +0000

    cryptocheck: Free generated IV after each GMAC test.
    
    Reviewed by:    cem
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D28753
    
    (cherry picked from commit 442a293611461834778d1b7cd2ac170fb3427dcf)
---
 tools/tools/crypto/cryptocheck.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/tools/crypto/cryptocheck.c b/tools/tools/crypto/cryptocheck.c
index 389d0cc9f610..bd075d24e0f5 100644
--- a/tools/tools/crypto/cryptocheck.c
+++ b/tools/tools/crypto/cryptocheck.c
@@ -1141,6 +1141,7 @@ run_gmac_test(const struct alg *alg, size_t size)
 
 out:
 	free(buffer);
+	free(iv);
 	free(key);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110211706.19LH6tYA080176>