Bug 18886 - rexec(3) bug in inet/rexec.c
Summary: rexec(3) bug in inet/rexec.c
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords:
: 19379 19602 19873 20441 25363 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-11 13:42 UTC by Nalin Dahyabhai
Modified: 2016-11-24 15:11 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-11-20 23:35:38 UTC


Attachments (Terms of Use)

Description Nalin Dahyabhai 2000-10-11 13:42:40 UTC
The rexec() function in rexec.c is supposed to receive the second argument
(rport) in network-byte order, but it doesn't swap it back to host order
before passing it to snprintf() for formatting the strings.

Comment 1 Jakub Jelinek 2000-10-13 06:08:35 UTC
Do you have some testcase, like e.g. rsh does not work or something like that?
I've submitted a patch to fix this to Ulrich, but would like to verify it.

Comment 2 Nalin Dahyabhai 2000-10-19 14:14:55 UTC
*** Bug 19379 has been marked as a duplicate of this bug. ***

Comment 3 Nalin Dahyabhai 2000-10-19 14:15:47 UTC
Sorry for the delay.  The test case is to run rexec to any host from a
little-endian machine.  If you strace it, it'll try to connect to port 2 instead
of 512.

Comment 4 Jakub Jelinek 2000-10-19 14:50:59 UTC
Please check glibc-2.1.95-1, it should be fixed there.

Comment 5 Jakub Jelinek 2000-10-20 21:32:42 UTC
*** Bug 19379 has been marked as a duplicate of this bug. ***

Comment 6 Nalin Dahyabhai 2000-10-24 18:56:02 UTC
*** Bug 19602 has been marked as a duplicate of this bug. ***

Comment 7 Jakub Jelinek 2000-10-27 16:08:15 UTC
*** Bug 19873 has been marked as a duplicate of this bug. ***

Comment 8 Nalin Dahyabhai 2000-11-20 23:34:47 UTC
Jakub, this is fixed in the latest errata candidate.

Comment 9 Nalin Dahyabhai 2000-11-20 23:35:36 UTC
*** Bug 20441 has been marked as a duplicate of this bug. ***

Comment 10 Nalin Dahyabhai 2001-02-05 06:47:54 UTC
*** Bug 25363 has been marked as a duplicate of this bug. ***


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