Path: utzoo!attcan!uunet!husc6!bloom-beacon!apple!bionet!agate!ucbvax!CUNIXC.CC.COLUMBIA.EDU!cck From: cck@CUNIXC.CC.COLUMBIA.EDU ("Charlie C. Kim") Newsgroups: comp.protocols.appletalk Subject: CPR 0005 (ddp) Message-ID: Date: 12 Oct 88 13:15:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 38 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 %%%%%%