author | Clemens Buchacher <drizzd@aon.at> | |
Wed, 27 May 2009 20:13:43 +0000 (22:13 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 May 2009 06:16:16 +0000 (23:16 -0700) | ||
commit | 6a01554e6350123c78de805d820e90f1c56e5fdc | |
tree | 512631158643b30cda638d18e1ca0ee70a7d3a8e | tree | snapshot |
parent | e57cb0158209ece040a4b873064504efd7d2ec0e | commit | diff |
fix segfault showing an empty remote
In case of an empty list, the search for its tail caused a
NULL-pointer dereference.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Reported-by: Erik Faye-Lund <kusmabite@googlemail.com>
Acked-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In case of an empty list, the search for its tail caused a
NULL-pointer dereference.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Reported-by: Erik Faye-Lund <kusmabite@googlemail.com>
Acked-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c | diff | blob | history | |
t/t5505-remote.sh | diff | blob | history |