Bug 473492

Summary: unchecked return values
Product: [Fedora] Fedora Reporter: mpachary
Component: rshAssignee: Adam Tkac <atkac>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 11CC: atkac, jgorig, ovasik
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: 2010-01-05 15:52:03 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:

Description mpachary 2008-11-28 20:13:02 UTC
Description of problem:
unchecked return values

Version-Release number of selected component (if applicable):
netkit-rsh-0.17

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

 ./netkit-rsh-0.17/rshd/rshd.c:392:		chdir("/"); ### return value of chdir not checked 
 
 ./netkit-rsh-0.17/rexec/rexec.c:319:  *command = (char *) malloc((len+1)*sizeof(char)); ### return value of malloc, *command dereferenced without checking.

Comment 1 Bug Zapper 2009-06-09 09:58:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Jan Görig 2010-01-05 15:52:03 UTC
Fixed in rsh-0.17-62.