Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 456088 - groupmems segfaults when working with nonexistent group
Summary: groupmems segfaults when working with nonexistent group
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F10Blocker, F10FinalBlocker
TreeView+ depends on / blocked
Reported: 2008-07-21 14:15 UTC by Lukas Kuklinek
Modified: 2008-09-25 12:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-09-25 12:12:47 UTC

Attachments (Terms of Use)

Description Lukas Kuklinek 2008-07-21 14:15:17 UTC
Description of problem:
groupmems segfaults when requested to work with group that does not exist.

How reproducible:

Steps to Reproduce:
# useradd user1
# groupmems -a user1 -g doesnotexist
Segmentation fault

Actual results:

Expected results:
Print error message about not existing group and exit.

Comment 1 Peter Vrabec 2008-09-25 12:12:47 UTC
fixed in fixed in 4.1.2-8. 
thnx. for the patch.

Note You need to log in before you can comment on or make changes to this bug.