smalloc: fix bad assert for zero length data
If the data length passed to smalloc.alloc() the array_length will be
zero, causing an overflow check to fail. This prevents that from
happening.
Signed-off-by:
Trevor Norris <trev.norris@gmail.com>
parent
b636ba81
Please register or sign in to comment