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

Null pointer dereference in error pathway on git pull

From
JHJoshua Hudson <jhudson@cedaron.com>
Date
Jan 26, 2021, 20:31 UTC
Message-ID
<1cda3398-7b02-edc5-aaab-c75191124b80@cedaron.com>
>git pull
remote: Azure Repos
remote: Found 452 objects to send. (157 ms)
Rfatal: the remote end hung up unexpectedly
fatal: early EOFs:  81% (367/452)
fatal: index-pack failed
warning: unable to unlink '(NULL)': Invalid argument

So it hits some kind of error (looks like network disconnect) and tries to back out; passed a NULL pointer to unlink().

Apologies if this has been submitted before. A search didn't find it.
Next: Jeff King
Message 1 of 3 in “Null pointer dereference in error pathway on git pull”
  1. Joshua HudsonJan 26, 2021
  2. Jeff KingJan 26, 2021
  3. Joshua HudsonJan 26, 2021

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.