Patch #: 129 Type: bug fix Priority: medium Affects: sites running network number authentication Reported: Gilbert Taylor Wood Reported: Leif Hedstrom Reported: Nick Kisseberth Archived: munnari.OZ.AU mac/cap.patches/cap60.patch129 Application: 'cd cap60; patch -p < cap60.patches/cap60.patch129' Blackboard: realloc() has two arguments, the old pointer & new size realloc() has two arguments, the old pointer & new size realloc() has two arguments, the old pointer & new size realloc() has two arguments, the old pointer & new size realloc() has two ar File: cap60/lib/cap/authenticate.c *** lib/cap/authenticate.c.orig Thu Feb 28 23:43:19 1991 --- lib/cap/authenticate.c Tue Apr 13 15:56:53 1993 *************** *** 155,162 **** list->size = NNETS; } if(list->count >= list->size) { ! if((list->list = (Net *)realloc((list->size += NNETS) * ! sizeof(Net))) == NULL) { fprintf(stderr, "%s: realloc failed\n", myident.progname); exit(1); --- 155,162 ---- list->size = NNETS; } if(list->count >= list->size) { ! if((list->list = (Net *)realloc(list->list, (list->size += ! NNETS) * sizeof(Net))) == NULL) { fprintf(stderr, "%s: realloc failed\n", myident.progname); exit(1); *** lib/cap/abversion.c.orig Tue Feb 16 22:56:37 1993 --- lib/cap/abversion.c Tue Apr 13 15:58:49 1993 *************** *** 1,7 **** /* ! * $Author: djh $ $Date: 1993/02/16 11:56:30 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.28 1993/02/16 11:56:30 djh Rel djh $ ! * $Revision: 2.28 $ */ /* --- 1,7 ---- /* ! * $Author: djh $ $Date: 1993/04/13 05:58:43 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.29 1993/04/13 05:58:43 djh Rel djh $ ! * $Revision: 2.29 $ */ /* *************** *** 31,38 **** myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 128; ! myversion.cv_rmonth = "February"; myversion.cv_ryear = "1993"; switch (lap_proto) { case LAP_KIP: --- 31,38 ---- myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 129; ! myversion.cv_rmonth = "April"; myversion.cv_ryear = "1993"; switch (lap_proto) { case LAP_KIP: *** README.orig Tue Feb 16 22:55:13 1993 --- README Tue Apr 13 15:59:34 1993 *************** *** 2,8 **** CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 128, February 1993 Notice ------ --- 2,8 ---- CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 129, April 1993 Notice ------