projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2143d
)
isl_tab.c: push_union: handle NULL input
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Dec 2012 16:37:17 +0000
(17:37 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Dec 2012 16:37:17 +0000
(17:37 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab.c
patch
|
blob
|
history
diff --git
a/isl_tab.c
b/isl_tab.c
index
6089f3a
..
3fc0367
100644
(file)
--- 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;