Patch #: 11 Type: bug fix Priority: low Reported: Andy Polyakov Modification: make NBP tuple buffer an unsigned char field Archived: munnari.OZ.AU mac/cap.patches/arns.patch011 Application: 'cd arns; patch -p < arns.patch011' *** ddp.c.orig Thu May 19 16:54:49 1994 --- ddp.c Wed Oct 5 13:15:27 1994 *************** *** 15,21 **** * djh@munnari.OZ.AU * * $Author: djh $ ! * $Revision: 1.8 $ * */ --- 15,21 ---- * djh@munnari.OZ.AU * * $Author: djh $ ! * $Revision: 1.9 $ * */ *************** *** 1535,1543 **** struct sockaddr_in *from; u_char node; { - char *object; - char tuple[96]; char *hostname, *remotehost(); void insertTuple(); if (from->sin_family != AF_INET) --- 1535,1542 ---- struct sockaddr_in *from; u_char node; { char *hostname, *remotehost(); + u_char *object, tuple[96]; void insertTuple(); if (from->sin_family != AF_INET) *************** *** 1560,1567 **** return; object = tuple+5; ! sprintf(object+1,"%s [%02x%02x.%02x]",hostname,tuple[0],tuple[1],node); ! *object = strlen(object+1); insertTuple(tuple, object, NBPTYPE, (*object)+6, 1); --- 1559,1567 ---- return; object = tuple+5; ! sprintf((char *)(object+1), "%s [%02x%02x.%02x]", ! hostname, tuple[0], tuple[1], node); ! *object = strlen((char *)(object+1)); insertTuple(tuple, object, NBPTYPE, (*object)+6, 1); *** README.orig Mon Jun 6 07:11:11 1994 --- README Wed Oct 5 13:18:33 1994 *************** *** 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 --- 5,11 ---- The University of Melbourne djh@munnari.OZ.AU January, 1992 ! version 1.11 ARNS is 'A Remote Network Server' package for AppleTalk that allows a