diff options
author | tb <> | 2021-04-05 07:02:50 +0000 |
---|---|---|
committer | tb <> | 2021-04-05 07:02:50 +0000 |
commit | c6687d35502cbe2f35c39eb4335a7e5a55d93807 (patch) | |
tree | 3f0d45b745fcd0af146bd7b4e01c204bf8add2ca /src/regress/lib/libcrypto/sm3/sm3test.c | |
parent | 82b9607cca567f19abcdd8aa6a15fba2cc0106c3 (diff) | |
download | openbsd-c6687d35502cbe2f35c39eb4335a7e5a55d93807.tar.gz openbsd-c6687d35502cbe2f35c39eb4335a7e5a55d93807.tar.bz2 openbsd-c6687d35502cbe2f35c39eb4335a7e5a55d93807.zip |
Don't leak param->name in x509_verify_param_zero()
For dynamically allocated verify parameters, param->name is only ever set
in X509_VERIFY_set1_name() where the old one is freed and the new one is
assigned via strdup(). Setting it to NULL without freeing it beforehand is
a leak.
looks correct to millert, ok inoguchi
Diffstat (limited to 'src/regress/lib/libcrypto/sm3/sm3test.c')
0 files changed, 0 insertions, 0 deletions