]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pw/apply-ulong-overflow-check'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2025 18:18:30 +0000 (10:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2025 18:18:30 +0000 (10:18 -0800)
"git apply" internally uses unsigned long for line numbers and uses
strtoul() to parse numbers on the hunk headers.  It however forgot
to check parse errors.

* pw/apply-ulong-overflow-check:
  apply: detect overflow when parsing hunk header

1  2 
apply.c
t/t4100-apply-stat.sh

diff --cc apply.c
Simple merge
Simple merge