diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-01 18:46:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-01 18:46:43 +0000 |
commit | 3e49e0c87aab41004f9069a616e282b6d3a801ca (patch) | |
tree | 958db14dc6891dc9d0d2f9c2b851bf53d57a19a8 /package/openssl/patches/900-CVE-2009-1378.patch | |
parent | 524303b8492816a7fa95c8f47bcd13e468f5d9ce (diff) | |
download | upstream-3e49e0c87aab41004f9069a616e282b6d3a801ca.tar.gz upstream-3e49e0c87aab41004f9069a616e282b6d3a801ca.tar.bz2 upstream-3e49e0c87aab41004f9069a616e282b6d3a801ca.zip |
openssl: upgrade to 0.9.8m (patch by Peter Wagner)
SVN-Revision: 19939
Diffstat (limited to 'package/openssl/patches/900-CVE-2009-1378.patch')
-rw-r--r-- | package/openssl/patches/900-CVE-2009-1378.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/openssl/patches/900-CVE-2009-1378.patch b/package/openssl/patches/900-CVE-2009-1378.patch deleted file mode 100644 index 514d444807..0000000000 --- a/package/openssl/patches/900-CVE-2009-1378.patch +++ /dev/null @@ -1,22 +0,0 @@ -http://rt.openssl.org/Ticket/Display.html?id=1931&user=guest&pass=guest - ---- a/ssl/d1_both.c -+++ b/ssl/d1_both.c -@@ -561,7 +561,16 @@ dtls1_process_out_of_seq_message(SSL *s, - if ((msg_hdr->frag_off+frag_len) > msg_hdr->msg_len) - goto err; - -- if (msg_hdr->seq <= s->d1->handshake_read_seq) -+ /* Try to find item in queue, to prevent duplicate entries */ -+ pq_64bit_init(&seq64); -+ pq_64bit_assign_word(&seq64, msg_hdr->seq); -+ item = pqueue_find(s->d1->buffered_messages, seq64); -+ pq_64bit_free(&seq64); -+ -+ /* Discard the message if sequence number was already there, is -+ * too far in the future or the fragment is already in the queue */ -+ if (msg_hdr->seq <= s->d1->handshake_read_seq || -+ msg_hdr->seq > s->d1->handshake_read_seq + 10 || item != NULL) - { - unsigned char devnull [256]; - |