summaryrefslogtreecommitdiff
path: root/security/krb5-appl/files/patch-appl::telnet::telnetd::authenc.c
diff options
context:
space:
mode:
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.c12
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);