summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-09-20 19:13:06 +0000
committertb <tb@openbsd.org>2020-09-20 19:13:06 +0000
commit73cc06fd813e794b30ebbb25563b58531a823e43 (patch)
tree695dcad05eee14eadba9d0952148563769698acb /usr.bin/ssh/ssh.c
parentKNF/whitespace nits (diff)
downloadwireguard-openbsd-73cc06fd813e794b30ebbb25563b58531a823e43.tar.xz
wireguard-openbsd-73cc06fd813e794b30ebbb25563b58531a823e43.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 'usr.bin/ssh/ssh.c')
0 files changed, 0 insertions, 0 deletions