From de5969ac01296177d2bf736b8737cdb4181f072d Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 19 Feb 2009 22:23:43 -0500 Subject: [PATCH] Add missing NULL in blame_grep Commit 436674f introduced a grep_text utility function which takes a NULL-terminated list; the callsite in blame_grep forgot to put in a NULL, leading to segmentation faults. Signed-off-by: Jeff King Signed-off-by: Jonas Fonseca --- tig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tig.c b/tig.c index 4a04d03..2a3ab3a 100644 --- a/tig.c +++ b/tig.c @@ -4590,6 +4590,7 @@ blame_grep(struct view *view, struct line *line) commit ? commit->id : "", commit && opt_author ? commit->author : "", commit && opt_date ? mkdate(&commit->time) : "", + NULL }; return grep_text(view, text); -- 2.32.0.93.g670b81a890