Zero-length allocations could result in multiple entries with the same offset in the segment map. This would then break subsequent lookups. Fixed by increasing these allocations to a minimum length of one.