Patch #: 10 Type: bug fix Priority: high Affects: sites running ARNS under SGI IRIX Reported: David Hornsby Summary: fix bad read length argument Archived: munnari.OZ.AU mac/cap.patches/arns.patch010 Application: 'cd arns; patch -p < arns.patch010' *** pf.c.orig Thu May 19 15:29:03 1994 --- pf.c Mon Jun 6 07:10:43 1994 *************** *** 25,31 **** * AIX Ethernet Device (AIXETH) * * $Author: djh $ ! * $Revision: 1.14 $ * */ --- 25,31 ---- * AIX Ethernet Device (AIXETH) * * $Author: djh $ ! * $Revision: 1.15 $ * */ *************** *** 1323,1329 **** else off = RAW_HDRPAD(sizeof(struct ether_header)); ! if ((cc = read(fd, buf, sizeof(buf))) <= 0) return(cc); if ((cc = cc - off) <= 0) --- 1323,1329 ---- else off = RAW_HDRPAD(sizeof(struct ether_header)); ! if ((cc = read(fd, buf, len)) <= 0) return(cc); if ((cc = cc - off) <= 0) *** README.orig Mon Jun 6 07:10:56 1994 --- README Mon Jun 6 07:11:11 1994 *************** *** 5,11 **** The University of Melbourne djh@munnari.OZ.AU January, 1992 ! version 1.9 ARNS is 'A Remote Network Server' package for AppleTalk that allows a --- 5,11 ---- The University of Melbourne djh@munnari.OZ.AU January, 1992 ! version 1.10 ARNS is 'A Remote Network Server' package for AppleTalk that allows a