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
AppMain.tcl -rw-r--r-- 556 bytes
Info.plist -rw-r--r-- 940 bytes
git-gui.icns -rw-r--r-- 28.2 KB

back to top