[Bug 238035] Divide by zero in kern_fcntl_freebsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 22 00:18:18 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238035

--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
Looks like F_READAHEAD on devfs.  The problematic code is a handcoded
roundup(arg, bsize).  It seems like possible solutions would be either not
rounding the arg when bsize==0, or EINVALing the request.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list