From: Junio C Hamano Date: Sat, 17 Oct 2009 07:44:19 GMT Subject: Re: [PATCH] grep: do not segfault when -f is used Message-ID: <7vzl7qforw.fsf@alter.siamese.dyndns.org> In-Reply-To: <1255702405-7050-1-git-send-email-kraai@ftbfs.org> Matt Kraai writes: > "git grep" would segfault if its -f option was used because it would > try to use an uninitialized strbuf, so initialize the strbuf. > > Thanks to Johannes Sixt for the help with the > test cases. > > Signed-off-by: Matt Kraai Thanks, both of you.