summaryrefslogtreecommitdiff
path: root/t/t1020-subdirectory.sh
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2022-02-21 18:46:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-23 13:36:26 -0800
commiteff5832ba13b81ebbf68b0c28934fe18ba8601fc (patch)
tree7b810a616913dc65bc89fd363dcb6755a9d21145 /t/t1020-subdirectory.sh
parentDocumentation: object_id_len goes up to 31 (diff)
downloadtgif-eff5832ba13b81ebbf68b0c28934fe18ba8601fc.tar.xz
reftable: reject 0 object_id_len
The spec says 2 <= object_id_len <= 31. We are lenient and allow 1, but we forbid 0, so we can be sure that we never read a 0-length key. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1020-subdirectory.sh')
0 files changed, 0 insertions, 0 deletions