summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/p5_scrypt.c
diff options
context:
space:
mode:
authorPaul Dreik <github@pauldreik.se>2023-12-07 16:59:57 +0100
committerTomas Mraz <tomas@openssl.org>2024-01-18 17:00:57 +0100
commit5b2d8bc28a8ff59689da98f31459819db09a9099 (patch)
tree6dfeff7021bb33d77d251b6987526de5560a7596 /crypto/asn1/p5_scrypt.c
parent017fd465a4f01323465823a3dcf318553365dfdd (diff)
prevent integer overflow in ossl_asn1_time_from_tm
this could be triggered by the following code (assuming 64 bit time_t): time_t t = 67768011791126057ULL; ASN1_TIME* at = ASN1_TIME_set(NULL, t); Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22976)
Diffstat (limited to 'crypto/asn1/p5_scrypt.c')
0 files changed, 0 insertions, 0 deletions