summaryrefslogtreecommitdiffstats
path: root/strbuf.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-06-09 17:52:43 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-22 20:24:51 +0200
commitc5d6350bdc8d0d8bd4bd1aa0273313e71cd548f6 (patch)
tree1a2a1f3d095ba519e1f3ef019d8cce217117fafb /strbuf.c
parentconfig: die on error in command-line config (diff)
downloadgit-c5d6350bdc8d0d8bd4bd1aa0273313e71cd548f6.tar.xz
git-c5d6350bdc8d0d8bd4bd1aa0273313e71cd548f6.zip
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>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions