Commit 372a2f56 authored by Trevor Norris's avatar Trevor Norris
Browse files

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: default avatarTrevor Norris <trev.norris@gmail.com>
parent b636ba81
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