summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-07-16 15:33:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-16 20:30:34 (GMT)
commit620e2bb93785ed8eb60846d94fd4753d4817c8ec (patch)
treec7c2c34dc1d9ec69fd233fe6e8a53934cf18d154 /attr.c
parentdf4b3abc941a0f876c3b1f5490e6ea01a4fb62cf (diff)
downloadgit-620e2bb93785ed8eb60846d94fd4753d4817c8ec.zip
git-620e2bb93785ed8eb60846d94fd4753d4817c8ec.tar.gz
git-620e2bb93785ed8eb60846d94fd4753d4817c8ec.tar.bz2
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 'attr.c')
0 files changed, 0 insertions, 0 deletions