Bug 44149

Summary: Diskless kernel may crash, depends on the root fs name
Product: Base System Reporter: Phungte Ha <phungte>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Phungte Ha 2002-10-16 21:10:03 UTC
    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.

Fix: 

in setrootbyname(), the line parsing the name is currently like this:
      while (cp != '\0' && (*cp < '0' || *cp > '9'))
              cp++;
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2002-10-17 08:46:35 UTC
State Changed
From-To: open->closed

Duplicate of misc/44150.