summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto_init.c
diff options
context:
space:
mode:
authortb <>2024-04-09 13:56:00 +0000
committertb <>2024-04-09 13:56:00 +0000
commitd21f4bb8cfe84425c9438bfc097f2e11185edce3 (patch)
tree2598f4b5ffa3bba1453768c32952e6b075054d7b /src/lib/libcrypto/crypto_init.c
parentd0fa5fd25f085379a12d27f262978b3251c3dbf1 (diff)
downloadopenbsd-d21f4bb8cfe84425c9438bfc097f2e11185edce3.tar.gz
openbsd-d21f4bb8cfe84425c9438bfc097f2e11185edce3.tar.bz2
openbsd-d21f4bb8cfe84425c9438bfc097f2e11185edce3.zip
Plug leaks in ASN1_TIME_set_string_internal()
This API can be called with s == NULL, in which case the tm_to_*() functions helpfully allocate a new s and then leak. This is a rather ugly fix to make portable ASAN regress happy again, the better fix will be to rewrite the tm_to_*() functions and adjust their callers. That is more intrusive and will be done in a later pass. ok bcook jsing
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
0 files changed, 0 insertions, 0 deletions