This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[] libc/2226: rpc/rpc_msg.h incorrect on Alpha

Hi glibc developer,s

Here's a bug report against 2.1.3 that is also valid for 2.2.3.

What should be done?


   libc/2226: rpc/rpc_msg.h incorrect on Alpha

>Number:         2226
>Category:       libc
>Synopsis:       rpc/rpc_msg.h incorrect on Alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    libc-gnats
>State:          open
>Class:          sw-bug
>Submitter-Id:   gnatsweb
>Arrival-Date:   Tue May 01 10:10:26 -0400 2001
>Originator:     Kenneth C. Schalk
>Release:        2.1.3, current CVS
Alpha Micrporocessor Development Group
Compaq Computer Corporation
RedHat 6.2 Alpha
The use of u_long for rpc_msg.rm_xid and probably others
is incorrect.  rm_xid should be 4 bytes, but u_long is 8
bytes on Alpha.  Based on the Tru64 version of this header,
I'd bet that every ocurrence of u_long should be replaced
with u_int32_t (or a similar 32-bit type).  Other
RPC-related source should also be audited for this problem.

I noticed because tcpdump was unable to decode NFS packets
on Alpha Linux.
Build tcpdump on Alpha Linux and try to monitor NFS traffic.

 Andreas Jaeger
  SuSE Labs

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]