aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-07-16 19:33:29 +0400
committerJunio C Hamano <gitster@pobox.com>2008-07-16 13:30:34 -0700
commit620e2bb93785ed8eb60846d94fd4753d4817c8ec (patch)
treec7c2c34dc1d9ec69fd233fe6e8a53934cf18d154 /diff.h
parentdf4b3abc941a0f876c3b1f5490e6ea01a4fb62cf (diff)
downloadgit-620e2bb93785ed8eb60846d94fd4753d4817c8ec.tar.gz
git-620e2bb93785ed8eb60846d94fd4753d4817c8ec.tar.xz
Fix buffer overflow in git-grep
If PATH_MAX on your system is smaller than any path stored in the git repository, that can cause memory corruption inside of the grep_tree function used by git-grep. Signed-off-by: Dmitry Potapov <dpotapov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions