summaryrefslogtreecommitdiff
path: root/Documentation/gitattributes.txt
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2021-11-10 15:40:33 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-11 10:06:37 -0800
commit34de5b8eac2743497bc1785f661b4184adce21f3 (patch)
tree944d93d85a85c58141420663a68d91d95eeac0b5 /Documentation/gitattributes.txt
parentMerge branch 'vd/pthread-setspecific-g11-fix' into maint (diff)
downloadtgif-34de5b8eac2743497bc1785f661b4184adce21f3.tar.xz
packfile: avoid overflowing shift during decode
unpack_object_header_buffer() attempts to protect against overflowing left shifts, but the limit of the shift amount should not be the size of the variable being shifted. It should be the size minus the size of its contents. Fix that accordingly. This was noticed at $DAYJOB by a fuzzer running internally. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitattributes.txt')
0 files changed, 0 insertions, 0 deletions