Date: Tue, 10 Mar 1998 12:10:06 -0800 (PST) From: Max Euston <meuston@jmrodgers.com> To: freebsd-bugs Subject: RE: kern/5969: non-root user can reboot/lock up system Message-ID: <199803102010.MAA13164@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/5969; it has been noted by GNATS.
From: Max Euston <meuston@jmrodgers.com>
To: "'bandy@raid.com'" <bandy@raid.com>,
"FreeBSD-gnats-submit@freebsd.org"
<FreeBSD-gnats-submit@freebsd.org>
Cc: Subject: RE: kern/5969: non-root user can reboot/lock up system
Date: Tue, 10 Mar 1998 14:59:59 -0500
Tim,
This works "correctly" on -STABLE. What options are you giving 'cc'? Can you send me the output ('.s' file) from a 'cc -S'?
Max
-----
Max Euston <meuston@jmrodgers.com>
Sysadm, Programmer, etc...
On Tuesday, March 10, 1998 11:39 AM, Tim Bandy [SMTP:bandy@raid.com] wrote:
>
> >Number: 5969
> >Category: kern
> >Synopsis: non-root user can reboot/lock up system
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: freebsd-bugs
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: current-users
> >Arrival-Date: Tue Mar 10 08:50:04 PST 1998
> >Last-Modified:
> >Originator: Tim Bandy
> >Organization:
> >Release: FreeBSD 3.0-CURRENT i386
> >Environment:
> pentium 166MHz 64M
>
> >Description:
> I was looking at some code from the ioccc (International Obfuscated C
> Code Contest) and locked up my machine. The code that did it is included
> below. It does not always lock up in the same manner. It sometimes will
> take about 15 seconds or more to lock up, sometimes as quickly as 1.
> I've had better luck locking up the system about 30 seconds or so after
> it boots, with both X and Xemacs running.
> I copied some information off of the console after one such lockup.
> Fatal trap 12
> fault virtual address 0x38
>
> However, at other times, it does not lock up in the same manner and only
> tells me "page fault, syncing disks..."
>
> >How-To-Repeat:
>
> Here's the nasty beast.
>
> int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
> o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
>
> >Fix:
>
>
>
> >Audit-Trail:
> >Unformatted:
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message
>
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?199803102010.MAA13164>
