Date: Tue, 18 Jan 2000 22:18:51 -0800 (PST) From: <wpaul@FreeBSD.org> To: sue@sleepycat.com, wpaul@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/16028: Change 1.10 in libc/xdr/xdr_rec.c breaks some RPC Message-ID: <200001190618.WAA80038@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Change 1.10 in libc/xdr/xdr_rec.c breaks some RPC State-Changed-From-To: open->closed State-Changed-By: wpaul State-Changed-When: Tue Jan 18 22:15:15 PST 2000 State-Changed-Why: Apparently it's legal for client RPC programs to receive zero length records with the LAST_FRAG marger bit set. So the test that works on the server side breaks on the client side. I changed the test to look for a header value of 0, since that is actually not legal. This fixes the client side while still maintaining the test for the server side. With this fix, the sample application works correctly. I updated xdr_rec.c in both the -current and -stable branches. The fix will be in 4.0-RELEASE when it comes out. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001190618.WAA80038>
