Tweak safe_xcalloc / safe_xmalloc macros to allow zero size allocations.
A lot of places rely on a zero size (or, after xcalloc conversion, count) resulting in a NULL return, so stop xassert()'ing those cases and avoid jumping to the unpack_error label.
Please register or sign in to comment