HomeFreeBSD

Convert another tmpfs assert into runtime check.

Description

Convert another tmpfs assert into runtime check.

The offset of the directory file, passed to getdirentries(2) syscall,
is user-controllable. The value of the offset must not be asserted,
instead the invalid value should be checked and rejected if invalid.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Aug 10 2016, 1:50 PM
Parents
rG3cd77f54168a: Consider CROSS_BINUTILS_PREFIX environment variable so we use correct
Branches
Unknown
Tags
Unknown

Event Timeline