Patch #: 160 Type: bug fix Priority: low Affects: sites running AUFS with non-Mac clients Reported: Nick Kisseberth Archived: munnari.OZ.AU mac/cap.patches/cap60.patch160 Application: 'cd cap60; patch -p < cap60.patches/cap60.patch160' Summary: FPEnumerate() can core-dump for non-existent file/directory File: cap60/applications/aufs/afpdir.c *** applications/aufs/afpdir.c.orig Thu Jan 14 23:00:28 1993 --- applications/aufs/afpdir.c Mon Sep 13 17:02:20 1993 *************** *** 1,8 **** /* ! * $Author: djh $ $Date: 1993/01/14 12:00:20 $ ! * $Header: /mac/src/cap60/applications/aufs/RCS/afpdir.c,v 2.2 1993/01/14 12:00:20 djh Rel djh $ ! * $Revision: 2.2 $ ! */ /* * afpdir.c - Appletalk Filing Protocol Directory Level Routines --- 1,9 ---- /* ! * $Author: djh $ $Date: 1993/09/13 07:01:49 $ ! * $Header: /mac/src/cap60/applications/aufs/RCS/afpdir.c,v 2.3 1993/09/13 07:01:49 djh Rel djh $ ! * $Revision: 2.3 $ ! * ! */ /* * afpdir.c - Appletalk Filing Protocol Directory Level Routines *************** *** 19,27 **** * */ - /* PATCH: PC.aufs/afpdir.c.diffs, djh@munnari.OZ.AU, 15/11/90 */ - /* PATCH: Moy@Berkeley/afpdir.c.diff, djh@munnari.OZ.AU, 17/11/90 */ - /* * Non OS dependant support routines for: * --- 20,25 ---- *************** *** 137,142 **** --- 135,143 ---- if (err != noErr) return(err); + + if (idir == NILDIR) + return(aeDirNotFound); /* set the bitmaps for return message and packing */ *** lib/cap/abversion.c.orig Wed Sep 8 12:40:26 1993 --- lib/cap/abversion.c Mon Sep 13 17:03:36 1993 *************** *** 1,8 **** /* ! * $Author: djh $ $Date: 1993/09/08 02:40:20 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.58 1993/09/08 02:40:20 djh Rel djh $ ! * $Revision: 2.58 $ ! */ /* * abversion.c - Return version information --- 1,9 ---- /* ! * $Author: djh $ $Date: 1993/09/13 07:03:28 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.59 1993/09/13 07:03:28 djh Rel djh $ ! * $Revision: 2.59 $ ! * ! */ /* * abversion.c - Return version information *************** *** 31,37 **** myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 159; myversion.cv_rmonth = "September"; myversion.cv_ryear = "1993"; switch (lap_proto) { --- 32,38 ---- myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 160; myversion.cv_rmonth = "September"; myversion.cv_ryear = "1993"; switch (lap_proto) { *** README.orig Wed Sep 8 12:59:45 1993 --- README Mon Sep 13 17:04:19 1993 *************** *** 2,8 **** CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 159, September 1993 Notice ------ --- 2,8 ---- CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 160, September 1993 Notice ------