diff options
author | tobhe@openbsd.org <tobhe@openbsd.org> | 2023-11-13 09:18:19 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-11-16 09:53:42 +1100 |
commit | 676377ce67807a24e08a54cd60ec832946cc6cae (patch) | |
tree | 11005c0c3fc5da794afb3b77271ac8680218abe5 /channels.c | |
parent | 64e0600f23c6dec36c3875392ac95b8a9100c2d6 (diff) |
upstream: Make sure sftp_get_limits() only returns 0 if 'limits'
was initialized. This fixes a potential uninitialized use of 'limits' in
sftp_init() if sftp_get_limits() returned early because of an unexpected
message type.
ok djm@
OpenBSD-Commit-ID: 1c177d7c3becc1d71bc8763eecf61873a1d3884c
Diffstat (limited to 'channels.c')
0 files changed, 0 insertions, 0 deletions