Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44060master
parent
f0d73a4381
commit
555492e41a
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue