From: Dmitry Potapov Date: Wed, 16 Jul 2008 14:54:02 +0000 (+0400) Subject: Fix buffer overflow in git diff X-Git-Tag: v1.5.6.4~16 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/fd55a19eb1d49ae54008d932a65f79cd6fda45c9?hp=fd55a19eb1d49ae54008d932a65f79cd6fda45c9 Fix buffer overflow in git diff If PATH_MAX on your system is smaller than a path stored, it may cause buffer overflow and stack corruption in diff_addremove() and diff_change() functions when running git-diff Signed-off-by: Dmitry Potapov Signed-off-by: Junio C Hamano ---