diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2023-03-31 06:42:29 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-03-31 07:17:22 +0200 |
commit | 6f0308a3e717ebe68eeb3f95253612fab5dbf20e (patch) | |
tree | 23f0ea1a66bad5f50d23ee3486489beb602e4e89 /scp.c | |
parent | upstream: don't leak arg2 on parse_pubkey_algos error path; ok (diff) | |
download | openssh-6f0308a3e717ebe68eeb3f95253612fab5dbf20e.tar.xz openssh-6f0308a3e717ebe68eeb3f95253612fab5dbf20e.zip |
upstream: Return immediately from get_sock_port
if sock <0 so we don't call getsockname on a negative FD. From Coverity
CID 291840, ok djm@
OpenBSD-Commit-ID: de1c1130646230c2eda559831fc6bfd1b61d9618
Diffstat (limited to 'scp.c')
0 files changed, 0 insertions, 0 deletions