[Bug 238035] Divide by zero in kern_fcntl_freebsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 22 17:49:58 UTC 2019


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

--- Comment #4 from Conrad Meyer <cem at freebsd.org> ---
Smaller repro:

#include <fcntl.h>

int
main(int argc, char **argv)
{
        int fd;

        (void)argc;
        (void)argv;

        fd = open("/dev/", O_RDONLY);
        fcntl(fd, F_READAHEAD, 0);
        return (0);
}

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


More information about the freebsd-bugs mailing list