]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/reftable-hardening' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:26 +0000 (19:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 02:49:26 +0000 (19:49 -0700)
commitca91eb2437db89b8e4cfd9bfb0e43e0a127d8c90
tree8114cd758117c5e5b4cdbb7dbf93aa166b723f96
parent37dbd5c7fb537165848fb5093e357d218fba92e2
parent888782ad4cf48901a3c5fa1d996bedb8ecf0c9e7
Merge branch 'ps/reftable-hardening' into jch

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
  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
t/unit-tests/u-reftable-table.c