]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/reftable-alloc-failures-zalloc-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 23 Dec 2024 17:32:06 +0000 (09:32 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Dec 2024 17:32:06 +0000 (09:32 -0800)
Recent reftable updates mistook a NULL return from a request for
0-byte allocation as OOM and died unnecessarily, which has been
corrected.

* ps/reftable-alloc-failures-zalloc-fix:
  reftable/basics: return NULL on zero-sized allocations
  reftable/stack: fix zero-sized allocation when there are no readers
  reftable/merged: fix zero-sized allocation when there are no readers
  reftable/stack: don't perform auto-compaction with less than two tables

1  2 
reftable/basics.c
reftable/merged.c
reftable/stack.c

Simple merge
Simple merge
Simple merge