Bug 473492 - unchecked return values
Summary: unchecked return values
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rsh
Version: 11
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-28 20:13 UTC by mpachary
Modified: 2013-04-30 23:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-05 15:52:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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