From b35a6a202fe8bd218af5152420e1dabeb79f10d4 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 2 Dec 2012 17:37:17 +0100 Subject: [PATCH] isl_tab.c: push_union: handle NULL input Signed-off-by: Sven Verdoolaege --- isl_tab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isl_tab.c b/isl_tab.c index 6089f3a1..3fc0367f 100644 --- a/isl_tab.c +++ b/isl_tab.c @@ -787,6 +787,8 @@ static int push_union(struct isl_tab *tab, { struct isl_tab_undo *undo; + if (!tab) + return -1; if (!tab->need_undo) return 0; -- 2.11.4.GIT