| Summary: | Change 1.10 in libc/xdr/xdr_rec.c breaks some RPC | ||
|---|---|---|---|
| Product: | Base System | Reporter: | sue <sue> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
sue
2000-01-10 16:00:01 UTC
State Changed From-To: open->closed 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. |