aboutsummaryrefslogtreecommitdiffstats
path: root/package/openssl/patches/900-CVE-2009-1379.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-11-12 10:39:10 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-11-12 10:39:10 +0000
commit1404796880ab9701394284f8ec5b33c41da83b57 (patch)
tree10dcbd35e6febfd9d73bdd4fd3b561e3563bf171 /package/openssl/patches/900-CVE-2009-1379.patch
parentedeee3ac1949f77d92e84d6aafc2f808d5247237 (diff)
downloadupstream-1404796880ab9701394284f8ec5b33c41da83b57.tar.gz
upstream-1404796880ab9701394284f8ec5b33c41da83b57.tar.bz2
upstream-1404796880ab9701394284f8ec5b33c41da83b57.zip
update openssl to 0.9.8l -- thanks puchu
SVN-Revision: 18398
Diffstat (limited to 'package/openssl/patches/900-CVE-2009-1379.patch')
-rw-r--r--package/openssl/patches/900-CVE-2009-1379.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/openssl/patches/900-CVE-2009-1379.patch b/package/openssl/patches/900-CVE-2009-1379.patch
new file mode 100644
index 0000000000..7067324350
--- /dev/null
+++ b/package/openssl/patches/900-CVE-2009-1379.patch
@@ -0,0 +1,22 @@
+Index: openssl/ssl/d1_both.c
+RCS File: /v/openssl/cvs/openssl/ssl/d1_both.c,v
+rcsdiff -q -kk '-r1.14.2.6' '-r1.14.2.7' -u '/v/openssl/cvs/openssl/ssl/d1_both.c,v' 2>/dev/null
+--- d1_both.c 2009/04/22 12:17:02 1.14.2.6
++++ d1_both.c 2009/05/13 11:51:30 1.14.2.7
+@@ -519,6 +519,7 @@
+
+ if ( s->d1->handshake_read_seq == frag->msg_header.seq)
+ {
++ unsigned long frag_len = frag->msg_header.frag_len;
+ pqueue_pop(s->d1->buffered_messages);
+
+ al=dtls1_preprocess_fragment(s,&frag->msg_header,max);
+@@ -536,7 +537,7 @@
+ if (al==0)
+ {
+ *ok = 1;
+- return frag->msg_header.frag_len;
++ return frag_len;
+ }
+
+ ssl3_send_alert(s,SSL3_AL_FATAL,al);