aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/polarssl/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-20 12:49:54 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-20 12:49:54 +0000
commit555492e41a38ad5ca1fcffb0394c947b1a6b61d4 (patch)
tree9bc9e7a36bde49ebe4aa543017c80864339c70b4 /package/libs/polarssl/patches
parentf0d73a4381b1f3a6f8714bfd46a62a515b4f53b0 (diff)
downloadupstream-555492e41a38ad5ca1fcffb0394c947b1a6b61d4.tar.gz
upstream-555492e41a38ad5ca1fcffb0394c947b1a6b61d4.tar.bz2
upstream-555492e41a38ad5ca1fcffb0394c947b1a6b61d4.zip
polarssl: patch CVE-2015-1182
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44060
Diffstat (limited to 'package/libs/polarssl/patches')
-rw-r--r--package/libs/polarssl/patches/300-CVE-2015-1182.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/polarssl/patches/300-CVE-2015-1182.patch b/package/libs/polarssl/patches/300-CVE-2015-1182.patch
new file mode 100644
index 0000000000..5961d37aa5
--- /dev/null
+++ b/package/libs/polarssl/patches/300-CVE-2015-1182.patch
@@ -0,0 +1,11 @@
+--- a/library/asn1parse.c
++++ b/library/asn1parse.c
+@@ -278,6 +278,8 @@ int asn1_get_sequence_of( unsigned char
+ if( cur->next == NULL )
+ return( POLARSSL_ERR_ASN1_MALLOC_FAILED );
+
++ memset( cur->next, 0, sizeof( asn1_sequence ) );
++
+ cur = cur->next;
+ }
+ }