add test for provoking integer overflow in ossl_asn1_time_from_tm
authorPaul Dreik <github@pauldreik.se>
Thu, 7 Dec 2023 19:31:50 +0000 (20:31 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Jan 2024 16:00:57 +0000 (17:00 +0100)
commit017fd465a4f01323465823a3dcf318553365dfdd
tree4c37d0da1d42ef36aa3f6318185f0654ef82d29e
parentc1decd62460072082833909a962892e5042b16bb
add test for provoking integer overflow in ossl_asn1_time_from_tm

this needs a sanitized 64 bit time_t build to be detected (or possibly
valgrind, trapv or similar)

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22976)
test/asn1_time_test.c