kubkon opened PR #1366 from wiggle-zero-len-regions
to master
:
Previously, we'd be very strict and disallow zero-length
wiggle_runtime::Region
s
altogether (we'd actually panic which is even worse). However, we
should allow this noting that any zero-lengthRegion
never
overlaps since its length is, well, zero. Additionally, this makes
path_readlink
with zero buffers cleaner and possible without
additional checks/hacks around the passed inGuestPtr<'_, [u8]>
buffer.
kubkon requested alexcrichton, and pchickey for a review on PR #1366.
kubkon requested alexcrichton, and pchickey for a review on PR #1366.
alexcrichton submitted PR Review.
alexcrichton merged PR #1366.
Last updated: Dec 23 2024 at 12:05 UTC