Bug 2300 - rcp fails to report source-file-not-found
rcp fails to report source-file-not-found
Product: Red Hat Linux
Classification: Retired
Component: rsh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 1999-04-21 01:29 EDT by vallon
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-05-04 12:25:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description vallon 1999-04-21 01:29:35 EDT
[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@mindspring.com> 04/21/99 01:44 -------
Comment 1 Jeff Johnson 1999-05-04 12:25:59 EDT
Fixed in rsh-0.10-26. Thanks for the patch.

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