summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_record_layer.c
diff options
context:
space:
mode:
authortb <>2020-12-16 18:35:59 +0000
committertb <>2020-12-16 18:35:59 +0000
commit25fba608b24a7bf868f7cd6c3cb19e964a7ffcd4 (patch)
treec14be4d2e2975a01d1db395a96d115e44073875b /src/lib/libssl/tls13_record_layer.c
parentcb6846b13d05fa51adb1c44b76664e35c71791b8 (diff)
downloadopenbsd-25fba608b24a7bf868f7cd6c3cb19e964a7ffcd4.tar.gz
openbsd-25fba608b24a7bf868f7cd6c3cb19e964a7ffcd4.tar.bz2
openbsd-25fba608b24a7bf868f7cd6c3cb19e964a7ffcd4.zip
Avoid potential use of uninitialized in ASN1_time_parse
When parsing an UTCTime into a struct tm that wasn't cleared by the caller, the years would be added to the already present value, which could give an incorrect result. This is an issue in ASN1_UTCTIME_cmp_time_t(), which is practically unused. Fix this by always zeroing the passed struct tm. Issue reported by Olivier Taïbi, thanks! ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_record_layer.c')
0 files changed, 0 insertions, 0 deletions