summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2011-10-06 18:03:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-07 15:46:12 -0700
commit05ac978495e84fe03d91ab591524b7ea138900ed (patch)
tree3236dfbac92de4c0578ee2e038e54286a0693e8f /help.c
parentGit 1.7.7 (diff)
downloadtgif-05ac978495e84fe03d91ab591524b7ea138900ed.tar.xz
pickaxe: plug diff filespec leak with empty needle
Check first for the unlikely case of an empty needle string and only then populate the filespec, lest we leak it. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions