git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jon Simons <jon@jonsimons.org>
Date
Feb 8, 2018, 18:47 UTC
Message-ID
<1518115670-2646-1-git-send-email-jon@jonsimons.org>

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(-)
-- 
2.1.4
Next: Jon Simons
Message 1 of 4 in “Fix NULL checks for some packet_read_line call sites”
  1. 0/2 Fix NULL checks for some packet_read_line call sitesJon Simons, Feb 8, 2018
  2. 1/2 correct error messages for NULL packet_read_line()Jon Simons, Feb 8, 2018
  3. 2/2 always check for NULL return from packet_read_line()Jon Simons, Feb 8, 2018
  4. Jeff KingFeb 8, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.