diff options
| author | Ben Peart <peartben@gmail.com> | 2017-05-05 11:27:54 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 10:57:26 +0900 |
| commit | 974b50c5565107e1e3209176682ee6f6e420bd2b (patch) | |
| tree | 39fb555270c308253f9b5ebc61abda4f13f2ac33 /t/t4013/diff.diff_initial..side | |
| parent | convert: remove erroneous tests for errno == EPIPE (diff) | |
| download | git-974b50c5565107e1e3209176682ee6f6e420bd2b.tar.gz git-974b50c5565107e1e3209176682ee6f6e420bd2b.zip | |
pkt-line: fix packet_read_line() to handle len < 0 errors
Update packet_read_line() to test for len > 0 to avoid potential bug
if read functions return lengths less than zero to indicate errors.
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Found/Fixed-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
