Revision 426193c025eb76125a99b3fe143eea50e849f9ca authored by Erik Faye-Lund on 23 March 2009, 12:53:08 UTC, committed by Junio C Hamano on 19 April 2009, 19:29:26 UTC
If a tag object points to a tree (or another unhandled type), the commit-
pointer is left uninitialized and later dereferenced. This patch adds a
default case to the switch that issues a warning and skips the object.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 38124d8
History
File Mode Size
lib
macosx
po
windows
.gitattributes -rw-r--r-- 84 bytes
.gitignore -rw-r--r-- 97 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 11.2 KB
git-gui--askpass -rwxr-xr-x 1.3 KB
git-gui.sh -rwxr-xr-x 83.3 KB

back to top