Bug 456088 - groupmems segfaults when working with nonexistent group
Summary: groupmems segfaults when working with nonexistent group
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
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:
Environment:
Last Closed: 2008-09-25 12:12:47 UTC
Type: ---
Embargoed:


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:
always

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

Actual results:
segfault

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. lkukline for the patch.


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