git/reftable
Junio C Hamano 5575c713c2 Merge branch 'ps/reftable-alloc-failures'
The reftable library is now prepared to expect that the memory
allocation function given to it may fail to allocate and to deal
with such an error.

* ps/reftable-alloc-failures: (26 commits)
  reftable/basics: fix segfault when growing `names` array fails
  reftable/basics: ban standard allocator functions
  reftable: introduce `REFTABLE_FREE_AND_NULL()`
  reftable: fix calls to free(3P)
  reftable: handle trivial allocation failures
  reftable/tree: handle allocation failures
  reftable/pq: handle allocation failures when adding entries
  reftable/block: handle allocation failures
  reftable/blocksource: handle allocation failures
  reftable/iter: handle allocation failures when creating indexed table iter
  reftable/stack: handle allocation failures in auto compaction
  reftable/stack: handle allocation failures in `stack_compact_range()`
  reftable/stack: handle allocation failures in `reftable_new_stack()`
  reftable/stack: handle allocation failures on reload
  reftable/reader: handle allocation failures in `reader_init_iter()`
  reftable/reader: handle allocation failures for unindexed reader
  reftable/merged: handle allocation failures in `merged_table_init_iter()`
  reftable/writer: handle allocation failures in `reftable_new_writer()`
  reftable/writer: handle allocation failures in `writer_index_hash()`
  reftable/record: handle allocation failures when decoding records
  ...
2024-10-10 14:22:25 -07:00
..
LICENSE
basics.c reftable/basics: fix segfault when growing `names` array fails 2024-10-04 07:59:31 -07:00
basics.h reftable/basics: ban standard allocator functions 2024-10-02 07:53:56 -07:00
block.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
block.h reftable/block: handle allocation failures 2024-10-02 07:53:55 -07:00
blocksource.c
blocksource.h
constants.h
error.c
iter.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
iter.h
merged.c reftable: handle trivial allocation failures 2024-10-02 07:53:55 -07:00
merged.h
pq.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
pq.h reftable/pq: handle allocation failures when adding entries 2024-10-02 07:53:55 -07:00
reader.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
reader.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
record.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
record.h
reftable-basics.h
reftable-blocksource.h
reftable-error.h
reftable-iterator.h
reftable-merged.h
reftable-reader.h
reftable-record.h
reftable-stack.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
reftable-writer.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
stack.c Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
stack.h
system.h
tree.c reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
tree.h reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
writer.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
writer.h