*** 8.26	1995/12/31 23:27:58
--- CHANGES	1996/01/09 20:23:46
***************
*** 1,3 ****
! $Id: CHANGES,v 8.26 1995/12/31 23:27:58 vixie Exp $
  
  	--- 4.9.3-rel released ---
--- 1,10 ----
! $Id: CHANGES,v 8.27 1996/01/09 20:23:45 vixie Exp $
! 
! 	--- 4.9.3-p1 released ---
! 
! 575. [port]	Ultrix/Hesiod named responses are oversized, we were
! 		incorrectly accepting them and then overwriting the stack.
! 
! 574. [port]	BSD/OS 2.1 required some ./BSD/Makefile changes.
  
  	--- 4.9.3-rel released ---
*** 8.27	1995/12/31 23:27:58
--- Makefile	1996/01/09 20:23:47
***************
*** 2,6 ****
  # vixie@decwrl December, 1992 [original]
  #
! # $Id: Makefile,v 8.27 1995/12/31 23:27:58 vixie Exp $
  
  ## ++Copyright++ 1989
--- 2,6 ----
  # vixie@decwrl December, 1992 [original]
  #
! # $Id: Makefile,v 8.28 1996/01/09 20:23:45 vixie Exp $
  
  ## ++Copyright++ 1989
***************
*** 57,61 ****
  ## --Copyright--
  
! VER = 4.9.3-REL
  SHELL = /bin/sh
  MAKE = make
--- 57,61 ----
  ## --Copyright--
  
! VER = 4.9.3-P1
  SHELL = /bin/sh
  MAKE = make
*** 8.1	1994/12/15 06:23:45
--- BSD/named/Makefile	1996/01/09 20:23:48
***************
*** 1,3 ****
! # $Id: Makefile,v 8.1 1994/12/15 06:23:45 vixie Exp $
  
  .PATH:	${.CURDIR}/../BIND/named \
--- 1,3 ----
! # $Id: Makefile,v 8.2 1996/01/09 20:23:47 vixie Exp $
  
  .PATH:	${.CURDIR}/../BIND/named \
***************
*** 22,23 ****
--- 22,25 ----
  .include <bsd.prog.mk>
  .include "${.CURDIR}/../Makefile.maninc"
+ 
+ .depend: version.c
*** 8.2	1995/12/31 23:28:01
--- BSD/named-xfer/Makefile	1996/01/09 20:23:48
***************
*** 1,6 ****
! # $Id: Makefile,v 8.2 1995/12/31 23:28:01 vixie Exp $
  
  .PATH:	${.CURDIR}/../BIND/named \
! 	${.CURDIR}/../named \
  	${.CURDIR}/../BIND/man
  
--- 1,6 ----
! # $Id: Makefile,v 8.3 1996/01/09 20:23:48 vixie Exp $
  
  .PATH:	${.CURDIR}/../BIND/named \
! 	${.CURDIR}/../named/obj \
  	${.CURDIR}/../BIND/man
  
*** 8.12	1995/12/29 07:16:18
--- named/ns_main.c	1996/01/09 20:23:56
***************
*** 1,5 ****
  #if !defined(lint) && !defined(SABER)
  static char sccsid[] = "@(#)ns_main.c	4.55 (Berkeley) 7/1/91";
! static char rcsid[] = "$Id: ns_main.c,v 8.12 1995/12/29 07:16:18 vixie Exp $";
  #endif /* not lint */
  
--- 1,5 ----
  #if !defined(lint) && !defined(SABER)
  static char sccsid[] = "@(#)ns_main.c	4.55 (Berkeley) 7/1/91";
! static char rcsid[] = "$Id: ns_main.c,v 8.13 1996/01/09 20:23:55 vixie Exp $";
  #endif /* not lint */
  
***************
*** 653,657 ****
  			    int from_len = sizeof(from_addr);
  
! 			    if ((n = recvfrom(dqp->dq_dfd, (char *)buf, sizeof(buf), 0,
  				(struct sockaddr *)&from_addr, &from_len)) < 0)
  			    {
--- 653,658 ----
  			    int from_len = sizeof(from_addr);
  
! 			    if ((n = recvfrom(dqp->dq_dfd, (char *)buf,
! 					      MIN(PACKETSZ, sizeof buf), 0,
  				(struct sockaddr *)&from_addr, &from_len)) < 0)
  			    {
*** 8.18	1995/12/29 21:08:13
--- named/ns_resp.c	1996/01/09 20:23:57
***************
*** 1,5 ****
  #if !defined(lint) && !defined(SABER)
  static char sccsid[] = "@(#)ns_resp.c	4.65 (Berkeley) 3/3/91";
! static char rcsid[] = "$Id: ns_resp.c,v 8.18 1995/12/29 21:08:13 vixie Exp $";
  #endif /* not lint */
  
--- 1,5 ----
  #if !defined(lint) && !defined(SABER)
  static char sccsid[] = "@(#)ns_resp.c	4.65 (Berkeley) 3/3/91";
! static char rcsid[] = "$Id: ns_resp.c,v 8.19 1996/01/09 20:23:55 vixie Exp $";
  #endif /* not lint */
  
***************
*** 945,952 ****
  	if ((!restart || !cname) && qp->q_cmsglen && ancount) {
  		dprintf(1, (ddt, "Cname second pass\n"));
! 		newmsglen = qp->q_cmsglen;
  		bcopy(qp->q_cmsg, newmsg, newmsglen);
  	} else {
! 		newmsglen = msglen;
  		bcopy(msg, newmsg, newmsglen);
  	}
--- 945,952 ----
  	if ((!restart || !cname) && qp->q_cmsglen && ancount) {
  		dprintf(1, (ddt, "Cname second pass\n"));
! 		newmsglen = MIN(PACKETSZ, qp->q_cmsglen);
  		bcopy(qp->q_cmsg, newmsg, newmsglen);
  	} else {
! 		newmsglen = MIN(PACKETSZ, msglen);
  		bcopy(msg, newmsg, newmsglen);
  	}
