]> git.pld-linux.org Git - packages/fetchmail.git/commitdiff
fixes arguments for from64tobits function
authorfilon <filon@sokrates.mimuw.edu.pl>
Wed, 10 Oct 2001 12:34:04 +0000 (12:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fetchmail-from64tobits.patch -> 1.1

fetchmail-from64tobits.patch [new file with mode: 0644]

diff --git a/fetchmail-from64tobits.patch b/fetchmail-from64tobits.patch
new file mode 100644 (file)
index 0000000..6d5ab5f
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur fetchmail-5.9.4/imap.c fetchmail.new/imap.c
+--- fetchmail-5.9.4/imap.c     Tue Oct  2 09:55:58 2001
++++ fetchmail.new/imap.c       Wed Oct 10 14:28:06 2001
+@@ -181,7 +181,7 @@
+     if ((gen_recv(sock, msgbuf, sizeof msgbuf)))
+       return result;
+   
+-    len = from64tobits ((unsigned char*)&challenge, msgbuf);
++    len = from64tobits ((unsigned char*)&challenge, msgbuf, sizeof(challenge));
+     
+     if (outlevel >= O_DEBUG)
+       dumpSmbNtlmAuthChallenge(stdout, &challenge);
+diff -ur fetchmail-5.9.4/kerberos.c fetchmail.new/kerberos.c
+--- fetchmail-5.9.4/kerberos.c Wed Oct  3 11:33:07 2001
++++ fetchmail.new/kerberos.c   Wed Oct 10 14:19:47 2001
+@@ -208,7 +208,7 @@
+      * process is complete.
+      */
+-    len = from64tobits(buf2, buf1, sizeof(buf2x));
++    len = from64tobits(buf2, buf1, sizeof(buf2));
+     if (len < 0) {
+       report(stderr, GT_("could not decode BASE64 ready response\n"));
+       return PS_AUTHFAIL;
This page took 0.077373 seconds and 4 git commands to generate.