diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-12-26 17:17:05 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-12-26 17:17:05 +0100 |
commit | 02fdc2db225b1ca21aab2000ba4a873f335d6707 (patch) | |
tree | 23dfa1f71ce7032ed15a16938d1e384f896406e7 /tests/diff/diffiter.c | |
parent | 3d29b12c9c8ba3272bbc5523fccde96c06ee6b83 (diff) | |
download | libgit2-02fdc2db225b1ca21aab2000ba4a873f335d6707.tar.gz |
ssh_stream_read(): fix possible *bytes_read < 0 branch
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.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions