author | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 23:32:29 +0000 (15:32 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 23:48:10 +0000 (15:48 -0800) | ||
commit | 52f3c81a9d41af019ab8f05051c5251f078b12e5 | |
tree | 6cebba3fe821be8561a7c6ff1d648748450774c7 | tree | snapshot |
parent | b2979ff599a6bcf9dbf5e2ef1e32b81a1b88e115 | commit | diff |
apply: do not barf on patch with too large an offset
Previously a patch that records too large a line number caused the
offset matching code in git-apply to overstep its internal buffer.
Noticed by Johannes Schindelin.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously a patch that records too large a line number caused the
offset matching code in git-apply to overstep its internal buffer.
Noticed by Johannes Schindelin.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | diff | blob | history | |
t/t4105-apply-fuzz.sh | [new file with mode: 0755] | blob |