From: Sven Verdoolaege Date: Sun, 2 Dec 2012 16:37:17 +0000 (+0100) Subject: isl_tab.c: push_union: handle NULL input X-Git-Tag: isl-0.11~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b35a6a202fe8bd218af5152420e1dabeb79f10d4;p=platform%2Fupstream%2Fisl.git isl_tab.c: push_union: handle NULL input Signed-off-by: Sven Verdoolaege --- diff --git a/isl_tab.c b/isl_tab.c index 6089f3a..3fc0367 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;