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
(from parent 1:
fe354c5
)
fix parameter alignment when alignee has zero parameters
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 11 Sep 2010 17:59:59 +0000
(19:59 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 11 Sep 2010 17:59:59 +0000
(19:59 +0200)
The number of parameters was passed as an unsigned integer and
later decremented, leading to an allocation request for a huge
amount of memory.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_reordering.c
patch
|
blob
|
history
diff --git
a/isl_reordering.c
b/isl_reordering.c
index
63df9e7
..
94a1832
100644
(file)
--- a/
isl_reordering.c
+++ b/
isl_reordering.c
@@
-11,7
+11,7
@@
#include <isl_dim_private.h>
#include <isl_reordering.h>
-__isl_give isl_reordering *isl_reordering_alloc(isl_ctx *ctx,
unsigned
len)
+__isl_give isl_reordering *isl_reordering_alloc(isl_ctx *ctx,
int
len)
{
isl_reordering *exp;