- If the size is negative or if rounding it up to a multiple of the block size overflows, fail the read request with ERANGE.
- While here, add a sanity check that the ICB length for the root directory is at least as long as a minimum-sized file entry.
PR: 257768
Reported by: Robert Morris <rtm@lcs.mit.edu>
Sponsored by: FreeBSD Foundation