sulogin crashes if root password is "x"

Bug #1348332 reported by Michael G. Morey
6
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
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
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)

Revision history for this message
Michael G. Morey (mgmorey) wrote :
Revision history for this message
Michael G. Morey (mgmorey) wrote :

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).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.