| Summary: | Diskless kernel may crash, depends on the root fs name | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Phungte Ha <phungte> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Duplicate of misc/44150. |
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++;