diff options
author | tb <> | 2024-04-09 13:56:00 +0000 |
---|---|---|
committer | tb <> | 2024-04-09 13:56:00 +0000 |
commit | a57916bb77bc748d39d546df8b878e9f84fe5de8 (patch) | |
tree | 2598f4b5ffa3bba1453768c32952e6b075054d7b /src/lib/libcrypto/mem_clr.c | |
parent | 64a4a93afb604f4128a9e9ef205ceba1a2a1d3f5 (diff) | |
download | openbsd-a57916bb77bc748d39d546df8b878e9f84fe5de8.tar.gz openbsd-a57916bb77bc748d39d546df8b878e9f84fe5de8.tar.bz2 openbsd-a57916bb77bc748d39d546df8b878e9f84fe5de8.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/mem_clr.c')
0 files changed, 0 insertions, 0 deletions