buxton_serialize_message() is called at many places after buxton_array_new() which returns memory allocated using calloc.
However, in rare conditions if calloc failed it will return Null & hence buxton_serialize_message() will dereference Null (list).
Adding assert(list) to fix such a case.
buxton_serialize_message() is called at many places after buxton_array_new() which returns memory allocated using calloc. However, in rare conditions if calloc failed it will return Null & hence buxton_serialize_message() will dereference Null (list). Adding assert(list) to fix such a case.