ACOTSP
ACOTSP copied to clipboard
Out of bounds write.
A long int array is allocated as ints, not long ints, causing out of bound writes.
From ls.c
long int *r;
r = malloc(n * sizeof(int));
for ( i = 0 ; i < n; i++)
r[i] = i;