diff options
author | tb <> | 2021-04-05 07:02:50 +0000 |
---|---|---|
committer | tb <> | 2021-04-05 07:02:50 +0000 |
commit | 57e3ff55d71172acc1caf21e8c346e67b7089676 (patch) | |
tree | 3f0d45b745fcd0af146bd7b4e01c204bf8add2ca /src/lib/libc/stdlib/malloc.3 | |
parent | bccd89cb7bb9005fc89f4056d7d54e1fc95786b5 (diff) | |
download | openbsd-57e3ff55d71172acc1caf21e8c346e67b7089676.tar.gz openbsd-57e3ff55d71172acc1caf21e8c346e67b7089676.tar.bz2 openbsd-57e3ff55d71172acc1caf21e8c346e67b7089676.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/lib/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions