Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information