]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't Overflow when printing Thawte Strong Extranet Version
authorMatt Caswell <matt@openssl.org>
Thu, 19 Nov 2020 13:58:21 +0000 (13:58 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 2 Dec 2020 10:28:45 +0000 (10:28 +0000)
commit61b0fead5e6079ca826594df5b9ca00e65883cb0
tree900b7572c85a02a54f5f3e7381d45038dac9a6ca
parent89cccbea51fa52a1e4784a9ece35d96e4dcbfd30
Don't Overflow when printing Thawte Strong Extranet Version

When printing human readable info on the Thawte Strong Extranet extension
the version number could overflow if the version number == LONG_MAX. This
is undefined behaviour.

Issue found by OSSFuzz.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/13452)
crypto/x509/v3_sxnet.c
fuzz/corpora/crl/4d72381f46c50eb9cabd8aa27f456962bf013b28 [new file with mode: 0644]