author | Steffen Prohaska <prohaska@zib.de> | |
Thu, 18 Oct 2007 20:02:35 +0000 (22:02 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 19 Oct 2007 01:11:27 +0000 (21:11 -0400) | ||
commit | d7b0a09316fe8dcb62ad247dbbb45c3c777667ad | |
tree | a502781dd4cb2d46d3e4937263e61866ada2f66d | tree | snapshot |
parent | 415e7b877c54440bf92137a7021416efdf0a29b5 | commit | diff |
attr: fix segfault in gitattributes parsing code
git may segfault if gitattributes contains an invalid
entry. A test is added to t0020 that triggers the segfault.
The parsing code is fixed to avoid the crash.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git may segfault if gitattributes contains an invalid
entry. A test is added to t0020 that triggers the segfault.
The parsing code is fixed to avoid the crash.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
attr.c | diff | blob | history | |
t/t0020-crlf.sh | diff | blob | history |