From nobody@FreeBSD.org  Wed Oct 16 13:05:31 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B26C037B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 13:05:31 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 735D443EAA
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 13:05:31 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9GK5P7R053087
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 13:05:25 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9GK5P6n053086;
	Wed, 16 Oct 2002 13:05:25 -0700 (PDT)
Message-Id: <200210162005.g9GK5P6n053086@www.freebsd.org>
Date: Wed, 16 Oct 2002 13:05:25 -0700 (PDT)
From: Phungte Ha <phungte@decru.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Diskless kernel may crash, depends on the root fs name
X-Send-Pr-Version: www-1.0

>Number:         44149
>Category:       misc
>Synopsis:       Diskless kernel may crash, depends on the root fs name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 13:10:03 PDT 2002
>Closed-Date:    Thu Oct 17 00:47:20 PDT 2002
>Last-Modified:  Thu Oct 17 00:47:20 PDT 2002
>Originator:     Phungte Ha
>Release:        4.4.
>Organization:
Decru, Inc.
>Environment:
FreeBSD walnut 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Wed Oct 16 12:45:39 PDT 2002 root@hw50.decru.com:/usr/src/sys/compile/DISKLESS  i386
>Description:
    depends on the name of the root device, for instance:
"nfs:phungte2:/local/diskless_root" the kernel can returns 1 from setrootbyname() in vfs_conf.c or can crash.  
>How-To-Repeat:
      
>Fix:
      in setrootbyname(), the line parsing the name is currently like this:
      while (cp != '\0' && (*cp < '0' || *cp > '9'))
              cp++;

        


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Thu Oct 17 00:46:35 PDT 2002 
State-Changed-Why:  
Duplicate of misc/44150. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44149 
>Unformatted:
