Add test case found through fuzzing to pkparse test suite

This commit is contained in:
Sanne Wouda 2017-08-31 12:57:35 +01:00 committed by Gilles Peskine
parent 7b2e85dd7c
commit 90da97d587

View file

@ -486,3 +486,6 @@ pk_parse_key_rsa:"301c02010002010102010102010102010102010102010102010102010100":
Key ASN1 (RSAPrivateKey, values present, check_privkey fails)
pk_parse_key_rsa:"301b020100020102020101020101020101020101020101020101020101":"":MBEDTLS_ERR_PK_KEY_INVALID_FORMAT
Key ASN1 (heap-buffer-overflow, unchecked access of tag)
pk_parse_key_rsa:"30070201010400a000":"":MBEDTLS_ERR_PK_KEY_INVALID_FORMAT