Tolerate zero-length vectors with null.
Opened this issue · 0 comments
quadrupleslap commented
It is valid for malloc(0)
to return NULL
or a valid, unique pointer, depending on the implementation. So it makes sense that NULL
should be permitted for the address of a zero-length foreign array.