Prevent overrunning stack for large benchmarks
This commit is contained in:
parent
75a42a86a6
commit
bb2d285814
@ -108,7 +108,7 @@ int main()
|
|||||||
unsigned long long mlen;
|
unsigned long long mlen;
|
||||||
|
|
||||||
unsigned long long t0, t1;
|
unsigned long long t0, t1;
|
||||||
unsigned long long t[XMSS_SIGNATURES];
|
unsigned long long *t = malloc(sizeof(unsigned long long) * XMSS_SIGNATURES);
|
||||||
struct timespec start, stop;
|
struct timespec start, stop;
|
||||||
double result;
|
double result;
|
||||||
|
|
||||||
@ -153,6 +153,7 @@ int main()
|
|||||||
free(m);
|
free(m);
|
||||||
free(sm);
|
free(sm);
|
||||||
free(mout);
|
free(mout);
|
||||||
|
free(t);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user