diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-20 12:49:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-20 12:49:54 +0000 |
commit | 9b164dd29ecb36f78ba826239be27ea7f7c890fb (patch) | |
tree | c6772388a20c10d7b5a167f536332b3134043d1a /package/libs/polarssl/patches | |
parent | ad05c6e1e537956502928516d9ff31d1cc3a1c6b (diff) | |
download | upstream-9b164dd29ecb36f78ba826239be27ea7f7c890fb.tar.gz upstream-9b164dd29ecb36f78ba826239be27ea7f7c890fb.tar.bz2 upstream-9b164dd29ecb36f78ba826239be27ea7f7c890fb.zip |
polarssl: patch CVE-2015-1182
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44060 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/polarssl/patches')
-rw-r--r-- | package/libs/polarssl/patches/300-CVE-2015-1182.patch | 11 |
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; + } + } |