A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MBI: Do not use arrays out of bound
[simgrid.git]
/
teshsuite
/
smpi
/
MBI
/
ResleakGenerator.py
diff --git
a/teshsuite/smpi/MBI/ResleakGenerator.py
b/teshsuite/smpi/MBI/ResleakGenerator.py
index
13fc716
..
b2556e4
100755
(executable)
--- a/
teshsuite/smpi/MBI/ResleakGenerator.py
+++ b/
teshsuite/smpi/MBI/ResleakGenerator.py
@@
-50,7
+50,7
@@
static void myOp(int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) {
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
- int i=1, j=
1
, size=1;
+ int i=1, j=
0
, size=1;
int color =0;
MPI_Init(&argc, &argv);