Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 139148
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Roussel <gentoo-bugs@diroussel.xsmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139148 depends on: Show dependency tree
Bug 139148 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-04 03:22 0000
# userdel -fr guest
Segmentation fault
# userdel -f -r guest
Segmentation fault
# userdel -f guest

I think it was because guest had a home dir of /dev/null, so the -r option must
have cause useradd to open /dev/null as a directory, and read null from it.

This is using the userdel from sys-apps/shadow-4.0.15-r2

------- Comment #1 From SpanKY 2006-07-04 12:54:50 0000 -------
yep ... there's some code which calls opendir(/dev/null) and then doesnt check
the return value

fixed in 4.0.16-r1 and e-mailed upstream, thanks for the report

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug