I ran into a scenario where I'm hitting an assert (linked below) in mpack_write_str() when I pass NULL for data and 0 for the count. It seems reasonable to be able to pass this combination. No matter what, the data value shouldn't be dereferenced right?
|
mpack_assert(data != NULL, "data for string of length %i is NULL", (int)count); |