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

[PATCH 0/2] fast-import: fix segfault and tests

From
MBMaxim Bublis <satori@yandex-team.ru>
Date
Aug 28, 2014, 14:54 UTC
Message-ID
<1409237674-74185-1-git-send-email-satori@yandex-team.ru>

Removing root tree with filedelete command would lead to segmentation fault in store_tree(). First patch from patch series adds test to show incorrect behaviour and second one fixes bug by sanity check and load_tree() usage.

Maxim Bublis (2):
  t9300: test filedelete root
  fast-import: fix segfault in store_tree()
 fast-import.c          |  6 +++++-
 t/t9300-fast-import.sh | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)
-- 
1.8.5.2 (Apple Git-48)
Next: Maxim Bublis
Message 1 of 7 in “fast-import: fix segfault and tests”
  1. 0/2 fast-import: fix segfault and testsMaxim Bublis, Aug 28, 2014
  2. 1/2 t9300: test filedelete rootMaxim Bublis, Aug 28, 2014
  3. Junio C HamanoAug 28, 2014
  4. Maxim BublisAug 29, 2014
  5. 2/2 fast-import: fix segfault in store_tree()Maxim Bublis, Aug 28, 2014
  6. Junio C HamanoAug 28, 2014
  7. Maxim BublisAug 29, 2014

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.