diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-07-20 16:53:32 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-07-20 16:53:32 +0000 |
commit | 7749fc1146d602ef596af6abcf23f92413930dd0 (patch) | |
tree | 7bc997a52291a47d733bf7811974890f4cb992b9 /security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c | |
parent | Update to version 0.3.1. (diff) |
Merge telnetd vulnerability fix from FreeBSD.
Submitted by: Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
Notes
Notes:
svn path=/head/; revision=45288
Diffstat (limited to 'security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c')
-rw-r--r-- | security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c b/security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c new file mode 100644 index 000000000000..9a19ab958aaf --- /dev/null +++ b/security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c @@ -0,0 +1,12 @@ +--- 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); |