cck@CUNIXC.CC.COLUMBIA.EDU ("Charlie C. Kim") (10/12/88)
CAP Release 5.00 - PROBLEM REPORT: 0005
REPORT 0005
OS: bsd 4.3
Revision: n/a
Major local modifications: n/a
Machine Type: n/a
Date: 10/12/88
Reported by: Hal Eden, University of Colorado
Priority: MEDIUM to HIGH
Problem: ddp_protocol didn't truncate physical packet lengths to the
ddp encoded length.
Solution: apply the following patch.
%%%%%% START OF PATCH %%%%%%
*** /tmp/,RCSt1027891 Wed Oct 12 09:10:09 1988
--- abddp.c Tue Oct 11 23:49:53 1988
***************
*** 358,364
if (dbug.db_ddp)
fprintf(stderr, "BAD PACKET: ddp reports more data than came in\n");
return; /* drop pkt */
! }
if (dochecksum) {
if (ddp->checksum != 0) {
--- 358,364 -----
if (dbug.db_ddp)
fprintf(stderr, "BAD PACKET: ddp reports more data than came in\n");
return; /* drop pkt */
! } else plen = len; /* truncate if len < plen */
if (dochecksum) {
if (ddp->checksum != 0) {
%%%%%% END OF PATCH %%%%%%