Date: Thu, 15 Nov 2001 13:36:56 -0800 (PST) From: David Hill <david@phobia.ms> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/32019: open() bpf crashes system Message-ID: <200111152136.fAFLau070133@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 32019
>Category: kern
>Synopsis: open() bpf crashes system
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 15 13:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: David Hill
>Release: 5.0-CURRENT
>Organization:
>Environment:
FreeBSD rain.hill.hom 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Nov 10 11:06:32 GMT 2001
root@rain.hill.hom:/usr/src/sys/i386/compile/RAIN i386
>Description:
The following code crashes the system.
/* code */
#include <err.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
int main(void)
{
int fd;
char device[] = "/dev/bpf000000";
if ((fd = open(device, O_RDONLY)) < 0)
err(1, "open");
close(fd);
return 0;
}
>How-To-Repeat:
As root, compile the code and execute it.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111152136.fAFLau070133>
