diff options
author | Jack Lloyd <[email protected]> | 2015-08-02 23:43:12 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-08-02 23:43:12 -0400 |
commit | 392ce7db1eccf5e2eacb074195ea7f5016f70259 (patch) | |
tree | 49aa67753d35e5ae56feac3b67cc55b7274a53da /src/tests/data/fuzz/x509/afl_014.pem | |
parent | 8e19ecf11c2c50b5a2d6642477d729091409fec8 (diff) |
Fix two crashes in the BER decoder found with afl.
One a read at 0 of an empty vector, the other causing allocation of an
arbitrary amount of memory.
Diffstat (limited to 'src/tests/data/fuzz/x509/afl_014.pem')
-rw-r--r-- | src/tests/data/fuzz/x509/afl_014.pem | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/data/fuzz/x509/afl_014.pem b/src/tests/data/fuzz/x509/afl_014.pem new file mode 100644 index 000000000..b68d8c8e2 --- /dev/null +++ b/src/tests/data/fuzz/x509/afl_014.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB+jCCAWMCAgGjMA0GCSqGSIb3DQEBBAUAMEUxCzAJBgNVBAYTAlVTMRgwFgYD +VQQKEw9HVEUgQ29ycG9yYXRpb24xHDAaBgNVBAMTE0dURSBDeWJlclRydXN0IFJv +b3QwHhcNOTYwMjIzMjMwMTAwWhcNMDYwMjIzMjM1OTAwWjBFMQswCQYDVQQGEwJV +UzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMRwwGgYDVQQDExNHVEUgQ3liZXJU +cnVzdCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCATDKBgQC45k+625h8cXyv +RLfTD0bZZOWTwUKOx7pJjTUteueLveUFMVnGsS8KDPufpz+iCWaEVh43KRuH6X4M +ypqfpX/1FZSj1aJGgthoTNE3FQZor734sLPwKfWVWgkWYXcKIiXUT0Wqx73llt/5 +1KiOQswkwB6RJ0q1bQaAYznEol44AwIDAQABMA0GCSqGSIb3DQEBBAUAA4GBABKz +dcZfHeFhVYAA1IFLezEPI2PnPfMD+fQ2qLvZ46WXTeorKeDWanOB5sCJo9Px4KWl +IjeaY8JIILTbcuPI9tl8vrGvU9oUtCG41tWW4/5ODFlitppK+ULdjG+BqXH/9Apy +bW1EDp3zdHSo1TRJ6V6e6bR64eVaH4QwnNOfpSXY +-----END CERTIFICATE-----
\ No newline at end of file |