commit | 620e2bb93785ed8eb60846d94fd4753d4817c8ec | [log] [tgz] |
---|---|---|
author | Dmitry Potapov <dpotapov@gmail.com> | Wed Jul 16 19:33:29 2008 +0400 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Jul 16 13:30:34 2008 -0700 |
tree | c7c2c34dc1d9ec69fd233fe6e8a53934cf18d154 | |
parent | df4b3abc941a0f876c3b1f5490e6ea01a4fb62cf [diff] |
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>