summaryrefslogtreecommitdiff
path: root/Documentation/cat-texi.perl
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-02-18 14:07:37 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-18 13:38:16 -0800
commit329fac3a366244ceac599ab63cd338bcc6a1dcb4 (patch)
treeeca1be7031b7eafb708a0823fee635448bac2fb3 /Documentation/cat-texi.perl
parentmidx: use chunk-format read API (diff)
downloadtgif-329fac3a366244ceac599ab63cd338bcc6a1dcb4.tar.xz
midx: use 64-bit multiplication for chunk sizes
When calculating the sizes of certain chunks, we should use 64-bit multiplication always. This allows us to properly predict the chunk sizes without risk of overflow. Other possible overflows were discovered by evaluating each multiplication in midx.c and ensuring that at least one side of the operator was of type size_t or off_t. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/cat-texi.perl')
0 files changed, 0 insertions, 0 deletions