pr-git-1185/hanwen/obj-id-len-v1
tagged this
12 Jan 18:07
this series makes sure that the object record does not have to consider empty keys (and therefore, a NULL memcpy destination) while we're at it add some more tests, and fix a naming mistake. Han-Wen Nienhuys (7): Documentation: object_id_len goes up to 31 reftable: reject 0 object_id_len reftable: add a test that verifies that writing empty keys fails reftable: avoid writing empty keys at the block layer reftable: ensure that obj_id_len is >= 2 on writing reftable: add test for length of disambiguating prefix reftable: rename writer_stats to reftable_writer_stats Documentation/technical/reftable.txt | 2 +- reftable/block.c | 27 ++++--- reftable/block_test.c | 5 ++ reftable/reader.c | 5 ++ reftable/readwrite_test.c | 103 ++++++++++++++++++++++++++- reftable/reftable-writer.h | 2 +- reftable/writer.c | 9 +-- 7 files changed, 135 insertions(+), 18 deletions(-) base-commit: 90d242d36e248acfae0033274b524bfa55a947fd Submitted-As: https://lore.kernel.org/git/pull.1185.git.git.1642010868.gitgitgadget@gmail.com
Assets 2
-
2022-01-12T18:07:48Z -
2022-01-12T18:07:48Z - Loading