Bug 437815

Summary: rshd crashes on invalid username
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: rshAssignee: Adam Tkac <atkac>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: 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: 2008-03-25 14:16:39 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 Miloslav Trmač 2008-03-17 15:32:16 UTC
Version-Release number of selected component (if applicable):
rsh-0.17-46.fc9

Looking at netkit-rsh-0.17-audit.patch:

>         if (pwd == NULL) {
> +               if (log_audit(remuser, pwd->pw_uid, hostname, 0) <= 0) {

In other words, "if pwd == NULL, dereference it.".

Comment 1 Adam Tkac 2008-03-25 14:16:39 UTC
fixed in rsh-0.17-47.fc9 . Thanks for your report.