author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Sun, 6 Jan 2008 19:03:10 +0000 (20:03 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jan 2008 02:41:44 +0000 (18:41 -0800) | ||
commit | a0393ef67679ea7720290bd45d9d628920df59f3 | |
tree | fc6b9ce6502087710dadcaa4b2d1f65262c77a3c | tree | snapshot |
parent | 5162e69732d13dd079919a389a6ace8878aad716 | commit | diff |
parse_tag_buffer: don't parse invalid tags
The current tag parsing code can access memory outside the tag buffer,
if \n are missing. This patch prevent this behaviour.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The current tag parsing code can access memory outside the tag buffer,
if \n are missing. This patch prevent this behaviour.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tag.c | diff | blob | history |