This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: [stda@enea.se] libc/1623: buggs in XDR functions
- To: Sten Dahlgren <stda at enea dot se>
- Subject: Re: [stda@enea.se] libc/1623: buggs in XDR functions
- From: Andreas Jaeger <aj at suse dot de>
- Date: 03 Mar 2000 18:39:49 +0100
- Cc: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- References: <u8u2iojccz.fsf@gromit.rhein-neckar.de> <38BFEB34.19BB8806@enea.se>
>>>>> Sten Dahlgren writes:
Sten> Hello !
Sten> The sad thing is that i found that the same bugg is in xdr_hyper
Sten> ie the sign extension problem.
Sten> I'll try to fix this in the original source when at home and send you a
Sten> proper diff on monday
Do you mean this?
Thanks,
Andreas
2000-03-03 Andreas Jaeger <aj@suse.de>
* sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
============================================================
Index: sunrpc/xdr.c
--- sunrpc/xdr.c 1999/04/08 02:09:55 1.16
+++ sunrpc/xdr.c 2000/03/03 17:39:39
@@ -200,7 +200,7 @@
xdr_hyper (XDR *xdrs, quad_t *llp)
{
long t1;
- long t2;
+ unsigned long int t2;
if (xdrs->x_op == XDR_ENCODE)
{
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de