ssh.c
18.7 KB
-
ssh_stream_read(): fix possible *bytes_read < 0 branch · 02fdc2db
Fix the possibility of returning successfully from ssh_stream_read() with *bytes_read < 0. This would occur if stdout channel read resulted in 0, and stderr channel read failed afterwards.
Michał Górny committed