Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 10:39:28 -0600 (CST)
From:      Tim Bandy <bandy@raid.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/5969: non-root user can reboot/lock up system
Message-ID:  <199803101639.KAA00381@ralph.raid.com>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803101639.KAA00381>