Check to see if array->data is NULL before we dereference it, instead of
after. (Prevents segfault when array->data is initialized to NULL, but array->length is not set to 0.) Always initialize both data & length in ARRAYs.
Loading
Please register or sign in to comment