Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 17:49:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238035] Divide by zero in kern_fcntl_freebsd
Message-ID:  <bug-238035-227-JMCDXIdwAO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238035-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238035-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238035

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

#include <fcntl.h>

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

        (void)argc;
        (void)argv;

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238035-227-JMCDXIdwAO>