Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2300

Summary: rcp fails to report source-file-not-found
Product: [Retired] Red Hat Linux Reporter: vallon
Component: rshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: ftp://ftp.mindspring.com/users/vallon/netkit-rsh-0.10-stdarg.patch
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-04 16:25:35 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 vallon 1999-04-21 05:29:35 UTC
[Is this the right place for ppc.rpm bugs?]

Given host realhost and missing file no-file, "rcp no-file
realhost:." fails with a seg fault on ppc.

The problem is that the error function calls vfprintf
multiple times for a single va_start.  On ppc (at least),
vfprintf has side effects on va_list, and the second
vfprintf is no longer using the same args.

Reproducible on glibc-0.961212, MkLinux, rsh-0.10-2b.ppc.rpm
or rsh-0.10-24.ppc.rpm.

I'll submit a patch.  You should be able to find it at the
above URL.

------- Email Received From  Justin Vallon <vallon> 04/21/99 01:44 -------

Comment 1 Jeff Johnson 1999-05-04 16:25:59 UTC
Fixed in rsh-0.10-26. Thanks for the patch.