author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 20 May 2007 12:19:17 +0000 (14:19 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 20 May 2007 21:39:16 +0000 (14:39 -0700) | ||
commit | 078f8380f65acfdffee077a642e982453277873a | |
tree | bb9be48e03ab0a6bb71336af32dc99429a2da351 | tree | snapshot |
parent | f7b47b273ed2c9e9b298c4f5dd02884b46dfbced | commit | diff |
branch: fix segfault when resolving an invalid HEAD
Caused by return value of resolve_ref being passed directly
to xstrdup whereby the sanity checking was never reached.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Caused by return value of resolve_ref being passed directly
to xstrdup whereby the sanity checking was never reached.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-branch.c | diff | blob | history |