Wednesday, September 10, 2008

Memory crash

First test the array bound checks. May be some where array is trying to assign value more then declared.

ex: code causing memory crash :

int arr[255];

;
;
;
arr[i] = x; where i>=255