freebsd-ports/security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c
Jacques Vidrine 7749fc1146 Merge telnetd vulnerability fix from FreeBSD.
Submitted by:	Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
2001-07-20 16:53:32 +00:00

13 lines
324 B
C

--- appl/telnet/telnetd/authenc.c.orig Wed Feb 28 14:06:51 2001
+++ appl/telnet/telnetd/authenc.c Thu Jul 19 19:14:29 2001
@@ -43,8 +43,7 @@
int len;
{
if (nfrontp + len < netobuf + BUFSIZ) {
- memcpy((void *)nfrontp, (void *)str, len);
- nfrontp += len;
+ output_datalen(str, len);
return(len);
}
return(0);