Commit 6ab4820c authored by Tim Wickberg's avatar Tim Wickberg
Browse files

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.
parent 2707a9c0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment