To clarify, the code in question deals with the global zero in ed declared as:

int*    zero;

and later on it is intialized with

zero = malloc((nlall+5)*sizeof(int*));

I don't see how this is not a bug ... zero is a dynamic array of ints, it 
should be zero = malloc (<number of elements of dynamic array> * sizeof(int)) 
not     <number> * sizeof(int*);

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb698c8da65baca8e-M1a779f6a5e677461a8a2415d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to