]> git.ipfire.org Git - thirdparty/openssl.git/commit
bn2bin(): Don't accept len < 0
authorRichard Levitte <levitte@openssl.org>
Fri, 13 Jan 2023 11:51:43 +0000 (12:51 +0100)
committerHugo Landau <hlandau@openssl.org>
Fri, 20 Jan 2023 07:38:40 +0000 (07:38 +0000)
commitc9466f38e0191aa86e0bd49267b0c4ef33e3a3d2
treee9328ce9ea8e4a813a6b8401344d01b3b128c7bf
parent15192335c8bbfb78bc02086bcd77a0d82efffbce
bn2bin(): Don't accept len < 0

Test included

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20033)
crypto/bn/bn_lib.c
test/bntest.c