projects
/
15.05
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5961d37aa54f62dd0ccdaff170e2e5573d39123c
[15.05/openwrt.git]
/
package
/
libs
/
polarssl
/
patches
/
300-CVE-2015-1182.patch
1
--- a/library/asn1parse.c
2
+++ b/library/asn1parse.c
3
@@ -278,6 +278,8 @@ int asn1_get_sequence_of( unsigned char
4
if( cur->next == NULL )
5
return( POLARSSL_ERR_ASN1_MALLOC_FAILED );
6
7
+ memset( cur->next, 0, sizeof( asn1_sequence ) );
8
+
9
cur = cur->next;
10
}
11
}