Patch #: 8 Type: bug fix Priority: high Affects: sites running UAR under SGI IRIX Reported: David Hornsby Summary: fix bad read length argument Archived: munnari.OZ.AU mac/cap.patches/uar.1.0.patch08 Application: 'cd uar; patch -p < uar.1.0.patch08' *** 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 Thu May 19 19:53:40 1994 --- README Mon Jun 6 07:16:53 1994 *************** *** 4,10 **** The University of Melbourne djh@munnari.OZ.AU October, 1993 ! version 1.0.7 --- 4,10 ---- The University of Melbourne djh@munnari.OZ.AU October, 1993 ! version 1.0.8