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:
796b943
)
isl_convex_hull.c: initial_facet_constraint: avoid invalid access on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 15 Sep 2012 08:19:56 +0000
(10:19 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 15 Sep 2012 08:19:56 +0000
(10:19 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_convex_hull.c
patch
|
blob
|
history
diff --git
a/isl_convex_hull.c
b/isl_convex_hull.c
index
c75d77f
..
8162d4f
100644
(file)
--- a/
isl_convex_hull.c
+++ b/
isl_convex_hull.c
@@
-483,7
+483,7
@@
static __isl_give isl_mat *initial_facet_constraint(__isl_keep isl_set *set)
int i;
unsigned dim = isl_set_n_dim(set);
int is_bound;
- isl_mat *bounds;
+ isl_mat *bounds
= NULL
;
isl_assert(set->ctx, set->n > 0, goto error);
bounds = isl_mat_alloc(set->ctx, 1, 1 + dim);