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
Raw File
.gitignore
.DS_Store
config.mak
Git Gui.app*
git-gui.tcl
GIT-VERSION-FILE
GIT-GUI-VARS
git-gui
lib/tclIndex
back to top