[stda@enea.se] libc/1623: buggs in XDR functions
Andreas Jaeger
aj@suse.de
Fri Mar 3 09:44:00 GMT 2000
>>>>> 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
More information about the Libc-alpha
mailing list