Bug 456088

Summary: groupmems segfaults when working with nonexistent group
Product: [Fedora] Fedora Reporter: Lukas Kuklinek <lkukline>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-25 12:12:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 438943    

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.