author | Jeff King <peff@peff.net> | |
Thu, 9 Jun 2011 15:52:43 +0000 (11:52 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 22 Jun 2011 18:24:51 +0000 (11:24 -0700) | ||
commit | c5d6350bdc8d0d8bd4bd1aa0273313e71cd548f6 | |
tree | 1a2a1f3d095ba519e1f3ef019d8cce217117fafb | tree | snapshot |
parent | 1c2c9bee1bad9a4133a934d04c32b033cc16c8aa | commit | diff |
config: avoid segfault when parsing command-line config
We already check for an empty key on the left side of an
equals, but we would segfault if there was no content at
all.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We already check for an empty key on the left side of an
equals, but we would segfault if there was no content at
all.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c | diff | blob | history | |
t/t1300-repo-config.sh | diff | blob | history |