Browse Source
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-length `Region` 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 in `GuestPtr<'_, [u8]>` buffer.pull/1367/head
Jakub Konka
5 years ago
committed by
GitHub
1 changed files with 16 additions and 1 deletions
Loading…
Reference in new issue