Skip to content

Fix NULL checks for some packet_read_line call sites

Jon Simons git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2correct error messages for NULL packet_read_line()builtin/archive.c fetch-pack.c+3 -30 replies
2/2always check for NULL return from packet_read_line()remote-curl.c send-pack.c+4 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJeff King
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix NULL checks for some packet_read_line call sites

Included here are a couple of fixes and cleanups for handling NULL return values from 'packet_read_line'.

Jeff King (1):
correct error messages for NULL packet_read_line()

Jon Simons (1):
always check for NULL return from packet_read_line()

 builtin/archive.c | 2 +-
 fetch-pack.c      | 4 ++--
 remote-curl.c     | 2 ++
 send-pack.c       | 2 ++
 4 files changed, 7 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.4