Platform and configuration command:
$ uname -a
Linux run 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64
x86_64 x86_64 GNU/Linux
$ CC=afl-clang-fast ../openssl/config enable-fuzz-afl no-shared no-module
Commit log since last time:
94736c3a10 rsa: Try legacy encoding functions for pubkey
796f4f7085 Updates CHANGES.md and NEWS.md for new 1.1.1 release
ad1ca777f9 Check the plaintext buffer is large enough when decrypting SM2
d07036b98d Extend tests for SM2 decryption
36cf45ef3b Correctly calculate the length of SM2 plaintext given the ciphertext
4b8a8bb752 Fix the error handling in i2v_AUTHORITY_KEYID
e20fc2ee4f Allow fuzz builds to detect string overruns
030c5aba94 Fix EC_GROUP_new_from_ecparameters to check the base length
7c038a6bcd Fix NETSCAPE_SPKI_print function to not assume NUL terminated strings
98624776c4 Fix append_ia5 function to not assume NUL terminated strings
1f365708a3 Fix test code to not assume NUL terminated strings
95f8c1e142 Fix CMP code to not assume NUL terminated strings
d2015a783e Fix the name constraints code to not assume NUL terminated strings
918430ba80 Fix printing of PROXY_CERT_INFO_EXTENSION to not assume NUL
terminated strings
b2b3b9c993 Fix GENERAL_NAME_print to not assume NUL terminated strings
1747d4658b Fix POLICYINFO printing to not assume NUL terminated strings
ad6ac17489 Fix i2v_GENERAL_NAME to not assume NUL terminated strings
Build log ended with (last 100 lines):
# SSL_accept() failed -1, 1
# 40970CDB177F0000:error:068C0100:asn1 encoding
routines:ASN1_STRING_set:malloc failure:../openssl/crypto/asn1/asn1_lib.c:311:
# 40970CDB177F0000:error:068C0100:asn1 encoding
routines:asn1_ex_c2i:malloc failure:../openssl/crypto/asn1/tasn_dec.c:944:
# 40970CDB177F0000:error:0688010A:asn1 encoding
routines:asn1_template_noexp_d2i:nested asn1
error:../openssl/crypto/asn1/tasn_dec.c:685:Field=session_id,
Type=SSL_SESSION_ASN1
# 40970CDB177F0000:error:0A0C0103:SSL
routines:construct_stateless_ticket:internal
error:../openssl/ssl/statem/statem_srvr.c:3706:
# INFO: @ ../openssl/test/helpers/ssltestlib.c:957
# SSL_connect() failed -1, 1
# 40970CDB177F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1
alert internal error:../openssl/ssl/record/rec_layer_s3.c:1584:SSL alert number
80
# ERROR: (bool) 'create_ssl_connection(serverssl, clientssl,
SSL_ERROR_NONE) == true' failed @ ../openssl/test/sslapitest.c:9260
# false
# OPENSSL_TEST_RAND_ORDER=1629843676
not ok 372 - iteration 7
# ------------------------------------------------------------------------------
# OPENSSL_TEST_RAND_ORDER=1629843676
not ok 74 - test_dh_auto
# ------------------------------------------------------------------------------
# INFO: @ ../openssl/test/helpers/ssltestlib.c:975
# SSL_accept() failed -1, 1
# 40970CDB177F0000:error:068C0100:asn1 encoding
routines:ASN1_STRING_set:malloc failure:../openssl/crypto/asn1/asn1_lib.c:311:
# 40970CDB177F0000:error:068C0100:asn1 encoding routines:asn1_ex_c2i:malloc
failure:../openssl/crypto/asn1/tasn_dec.c:944:
# 40970CDB177F0000:error:0688010A:asn1 encoding
routines:asn1_template_noexp_d2i:nested asn1
error:../openssl/crypto/asn1/tasn_dec.c:685:
# 40970CDB177F0000:error:0688010A:asn1 encoding
routines:asn1_template_ex_d2i:nested asn1
error:../openssl/crypto/asn1/tasn_dec.c:537:Field=session_id_context,
Type=SSL_SESSION_ASN1
# 40970CDB177F0000:error:0A0C0103:SSL
routines:construct_stateless_ticket:internal
error:../openssl/ssl/statem/statem_srvr.c:3706:
# INFO: @ ../openssl/test/helpers/ssltestlib.c:1004
# No progress made
# ERROR: (bool) 'create_ssl_connection(serverssl, clientssl,
SSL_ERROR_NONE) == true' failed @ ../openssl/test/sslapitest.c:9315
# false
# OPENSSL_TEST_RAND_ORDER=1629843676
not ok 75 - test_sni_tls13
# ------------------------------------------------------------------------------
../../util/wrap.pl ../../test/sslapitest ../../../openssl/test/certs
../../../openssl/test/recipes/90-test_sslapi_data/passwd.txt /tmp/bkTcXITTlB
default ../../../openssl/test/default.cnf => 1
not ok 1 - running sslapitest
# ------------------------------------------------------------------------------
# Failed test 'running sslapitest'
# at ../openssl/test/recipes/90-test_sslapi.t line 32.
# Looks like you failed 1 test of 1.90-test_sslapi.t ...................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
80-test_ssl_new.t (Wstat: 7168 Tests: 30 Failed: 28)
Failed tests: 1-21, 23-28, 30
Non-zero exit status: 28
20-test_spkac.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 2, 4
Non-zero exit status: 2
25-test_crl.t (Wstat: 256 Tests: 10 Failed: 1)
Failed test: 3
Non-zero exit status: 1
25-test_sid.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
65-test_cmp_ctx.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
70-test_asyncio.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
70-test_clienthello.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
70-test_recordlen.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
70-test_servername.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
80-test_ca.t (Wstat: 256 Tests: 15 Failed: 1)
Failed test: 5
Non-zero exit status: 1
80-test_dtls_mtu.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
80-test_dtls.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
80-test_pkcs12.t (Wstat: 768 Tests: 13 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
80-test_sslcorrupt.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
90-test_sslbuffers.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
90-test_v3name.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
80-test_ssl_old.t (Wstat: 1024 Tests: 6 Failed: 4)
Failed tests: 3-6
Non-zero exit status: 4
90-test_sslapi.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=240, Tests=2835, 273 wallclock secs (15.31 usr 1.87 sys + 943.09 cusr
72.74 csys = 1033.01 CPU)
Result: FAIL
make[1]: *** [Makefile:2570: run_tests] Error 1
make[1]: Leaving directory '/home/openssl/run-checker/enable-fuzz-afl'
make: *** [Makefile:2566: tests] Error 2