head	1.10;
access;
symbols
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.5;
locks; strict;
comment	@# @;


1.10
date	2004.02.28.21.37.17;	author cy;	state dead;
branches;
next	1.9;

1.9
date	2004.01.26.04.10.56;	author cy;	state Exp;
branches;
next	1.8;

1.8
date	2003.08.08.01.42.00;	author cy;	state dead;
branches;
next	1.7;

1.7
date	2002.11.05.06.51.28;	author cy;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.15.04.25.18;	author cy;	state dead;
branches;
next	1.5;

1.5
date	2002.08.20.21.25.23;	author cy;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.14.21.35.13;	author cy;	state dead;
branches;
next	1.3;

1.3
date	2002.04.13.16.33.14;	author cy;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.08.14.38.43;	author cy;	state dead;
branches;
next	1.1;

1.1
date	2002.02.10.22.45.28;	author cy;	state Exp;
branches;
next	;


desc
@@


1.10
log
@MIT KRB5 1.3.2 has been released. Remove the beta.
@
text
@--- appl/gssftp/ftpd/ftpd.c.orig	Wed Jan  9 14:26:51 2002
+++ appl/gssftp/ftpd/ftpd.c	Thu Jan 10 19:00:13 2002
@@@@ -487,7 +487,13 @@@@
 #ifndef LOG_DAEMON
 #define LOG_DAEMON 0
 #endif
-	openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_DAEMON);
+
+#ifndef LOG_FTP
+#define FACILITY	LOG_DAEMON
+#else
+#define FACILITY	LOG_FTP
+#endif
+	openlog("ftpd", LOG_PID | LOG_NDELAY, FACILITY);
 
 	addrlen = sizeof (his_addr);
 	if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) {
@@@@ -2312,6 +2318,10 @@@@
 		if ((length = krb_mk_safe((u_char *)&cksum, out_buf, sizeof(cksum),
 					  &kdata.session,&ctrl_addr, &his_addr)) == -1) {
 			secure_error("ADAT: krb_mk_safe failed");
+			return(0);
+		}
+		if (length >= (FTP_BUFSIZ - sizeof("ADAT=")) / 4 * 3) {
+			secure_error("ADAT: reply too long");
 			return(0);
 		}
 		if (length >= (FTP_BUFSIZ - sizeof("ADAT=")) / 4 * 3) {
@


1.9
log
@Brand new MIT KRB5 beta.
@
text
@@


1.8
log
@MIT KRB5 1.3 has been released. Remove the beta.
@
text
@@


1.7
log
@New MIT Kerberos V beta, version 1.2.7-beta1.
@
text
@@


1.6
log
@MIT KRB5 1.2.6 has been GA for some time. Remove the beta.
@
text
@@


1.5
log
@New MIT Kerberos V beta, V 1.2.6-beta1.
@
text
@@


1.4
log
@Removing krb5-beta port.  As krb5-1.2.5 went GA 14 days ago, krb5-beta
is not relevant at this time.
@
text
@@


1.3
log
@New MIT Kerberos V beta, V 1.2.5-beta1.
@
text
@@


1.2
log
@Removing krb5-beta port.  Krb5-beta is a "test" port to allow FreeBSD users
the opportunity to use/test the upcoming krb5 before it is released.
Krb5-1.2.4 was released over a week ago superceeding this port.  This port
will be resurrected when a new krb5-beta becomes available.
@
text
@@


1.1
log
@New port, Kerberos V 1.2.4-beta1.
@
text
@@

