diff options
| author | tb <> | 2020-09-20 19:13:06 +0000 |
|---|---|---|
| committer | tb <> | 2020-09-20 19:13:06 +0000 |
| commit | 997a143ecd162f797e525fdea4a0e42c1c73c939 (patch) | |
| tree | d7ad4f2bd91d34ae759edabe90d77b3298da4c56 /src/lib/libc/crypt/crypt_checkpass.3 | |
| parent | d1b6fcd5204171614ffca34c18b320cbdd1650b1 (diff) | |
| download | openbsd-997a143ecd162f797e525fdea4a0e42c1c73c939.tar.gz openbsd-997a143ecd162f797e525fdea4a0e42c1c73c939.tar.bz2 openbsd-997a143ecd162f797e525fdea4a0e42c1c73c939.zip | |
Avoid memleak caused by shadowing
The outer scope in x509_constraints_extract_names() contains a vname
variable which will be freed on error, but an inner scope contains
another vname that won't be freed, e.g., if x509_constraints_names_add
fails.
Found by llvm scan-build.
ok beck
Diffstat (limited to 'src/lib/libc/crypt/crypt_checkpass.3')
0 files changed, 0 insertions, 0 deletions
