wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.22k stars 798 forks source link

20240621-fix-oqs_dilithium_make_key-leak #7673

Closed douzzer closed 2 weeks ago

douzzer commented 2 weeks ago

wolfcrypt/src/dilithium.c: add missing OQS_SIG_free() in oqs_dilithium_make_key() (liboqs wrapper).

detected by wolfssl-multi-test.sh ... pq-all-sanitizer pq-hybrid-all-rpk-sanitizer; tested with wolfssl-multi-test.sh ... pcheck-source-text q-all-sanitizer pq-hybrid-all-rpk-sanitizer pq-hybrid-all-rpk-valgrind-unittest

JacobBarthelmeh commented 2 weeks ago

Retest this please Jenkins