From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 13 10:00:38 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BC8B16A560 for ; Thu, 13 Nov 2003 10:00:38 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1243143FF5 for ; Thu, 13 Nov 2003 10:00:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hADI0aFY039703 for ; Thu, 13 Nov 2003 10:00:36 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hADI0auA039702; Thu, 13 Nov 2003 10:00:36 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 13 Nov 2003 10:00:36 -0800 (PST) Resent-Message-Id: <200311131800.hADI0auA039702@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charlie & Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D38B16A4CE for ; Thu, 13 Nov 2003 09:54:36 -0800 (PST) Received: from ntest.nerdinthebox.com (d66-183-61-66.bchsia.telus.net [66.183.61.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 698B243F3F for ; Thu, 13 Nov 2003 09:54:33 -0800 (PST) (envelope-from sep42@nerdinthebox.com) Received: from ntest.nerdinthebox.com (localhost [127.0.0.1]) hAD9afCL001284 for ; Thu, 13 Nov 2003 01:36:41 -0800 (PST) (envelope-from sep42@nerdinthebox.com) Received: (from root@localhost) by ntest.nerdinthebox.com (8.12.10/8.12.8/Submit) id hAD9afjc001283; Thu, 13 Nov 2003 01:36:41 -0800 (PST) (envelope-from sep42) Message-Id: <200311130936.hAD9afjc001283@ntest.nerdinthebox.com> Date: Thu, 13 Nov 2003 01:36:41 -0800 (PST) From: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/59257: modified fire_saver can halt kernel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Charlie & List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 18:00:38 -0000 >Number: 59257 >Category: bin >Synopsis: modified fire_saver can halt kernel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 13 10:00:36 PST 2003 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: >Description: While fooling around with fire_saver.c I've found that changing the Y_SIZE during the iteration in the /* fade the flames out */ you can effectively crash the system This is quite undesireable, since a total system halt, without a single warning is not so good. It's not good to crash OS with software. >How-To-Repeat: Change the following lines /* fade the flames out for (y = 0; y < Y_SIZE; y++) { to /* fade the flames out for (y = 0; y < Y_SIZE+10; y++) { kldunload fire_saver; kldload fire_saver >Fix: Don't increase Y_SIZE. >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD ntest.nnnnn.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov 12 19:00:06 PST 2003 root@ntest.nnnnnn.com:/usr/obj/usr/src/sys/NTEST i386