]> git.99rst.org Git - git.git/commit
Merge branch 'ps/reftable-hardening'
authorJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:14 +0000 (10:42 -0700)
committerJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:15 +0000 (10:42 -0700)
commit65f37b632afc185f444e6e1b484c40f666b6934c
treec3d3370538838d40214d90b2664bee4bcceb54ff
parent41365c2a9ba347870b80881c0d67454edd22fd49
parentca93c27328eaa782786d480a8112b98bc32c83a3
Merge branch 'ps/reftable-hardening'

The 'reftable' code has been hardened against corrupted tables by
fixing out-of-bounds writes, out-of-bounds reads, and abort calls
during parsing.

* ps/reftable-hardening:
  reftable/table: fix OOB read on truncated table
  reftable/table: fix NULL pointer access when seeking to bogus offsets
  reftable/block: fix OOB read with bogus restart offset
  reftable/block: fix use of uninitialized memory when binsearch fails
  reftable/block: fix OOB read with bogus restart count
  reftable/block: fix OOB read with bogus block size
  reftable/block: fix OOB write with bogus inflated log size
  t/unit-tests: introduce test helper to write reftable blocks
  reftable/record: don't abort when decoding invalid ref value type
  reftable/basics: fix OOB read on binary search of empty range
  oss-fuzz: add fuzzer for parsing reftables
  meson: support building fuzzers with libFuzzer
Makefile
meson.build
meson_options.txt
reftable/table.c
t/unit-tests/u-reftable-table.c
git clone https://git.99rst.org/PROJECT