]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit3151e6a1214b583552ca39c57d429a8eaa8923e8
treef3fee4fde1850a6d929445ab02001cc75351d50a
parentff795a5c5ed2e2d07c688c217a615d89e3f5733b
parentd7282891f542b58410a209230009182b9057af79
Merge branch 'ps/reftable-alloc-failures-zalloc-fix'

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
reftable/basics.c
reftable/merged.c
reftable/stack.c