summaryrefslogtreecommitdiff
path: root/security/starttls/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-02-13 14:36:59 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-02-13 14:36:59 +0000
commit82d44e0a997e137e76257ab797e1b73358d49be3 (patch)
tree11e81160be0bb4a2d6113f8a5bd7fca23341f9a8 /security/starttls/files
parentrequire gaim version 0.75_6, since the vulnerability has been re-introduced (diff)
Fix a problem when reading big message over starttls.
Thanks to: ume Reference: http://lists.airs.net/wl/archive/200208/msg00107.html
Notes
Notes: svn path=/head/; revision=100852
Diffstat (limited to 'security/starttls/files')
-rw-r--r--security/starttls/files/patch-starttls.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/starttls/files/patch-starttls.c b/security/starttls/files/patch-starttls.c
new file mode 100644
index 000000000000..1bdcd9e4627c
--- /dev/null
+++ b/security/starttls/files/patch-starttls.c
@@ -0,0 +1,11 @@
+--- starttls.c.orig Fri Feb 13 23:30:28 2004
++++ starttls.c Fri Feb 13 23:30:37 2004
+@@ -229,7 +229,7 @@
+ #else
+ fd_set readfds, writefds;
+ #endif
+- char buffer[BUFSIZ], *retry;
++ char buffer[BUFSIZ*8], *retry;
+ struct sigaction act;
+
+ int this_option_optind = optind ? optind : 1;