summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake_msg.c
diff options
context:
space:
mode:
authortb <>2020-09-20 19:13:06 +0000
committertb <>2020-09-20 19:13:06 +0000
commit997a143ecd162f797e525fdea4a0e42c1c73c939 (patch)
treed7ad4f2bd91d34ae759edabe90d77b3298da4c56 /src/lib/libssl/tls13_handshake_msg.c
parentd1b6fcd5204171614ffca34c18b320cbdd1650b1 (diff)
downloadopenbsd-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/libssl/tls13_handshake_msg.c')
0 files changed, 0 insertions, 0 deletions