sulogin crashes if root password is "x"
Bug #1348332 reported by
Michael G. Morey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There is no check for the pointer return value of library call crypt() before the pointer is used by strcmp(). This results in a segmentation fault and prevents the maintenance shell from running at system start-up if there is a problem mounting one or more filesystems.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: sysvinit-utils 2.88dsf-41ubuntu6
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Thu Jul 24 19:03:09 2014
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SHELL=/bin/sh
SourcePackage: sysvinit
UpgradeStatus: No upgrade log present (probably fresh install)
To post a comment you must log in.
I'm attaching the output of:
/usr/bin/ltrace -S -f -o /root/sulogin- trace.log /sbin/sulogin
called from /etc/init/ mountall- shell.conf (modified).