Add Reproducible Error Injection (rebased)

This adds reproducible memory error and test-data
error injection, to the fuzzy-test framework.
This feature can be enabled with ./config -DERROR_INJECT and additionally to enable call stacks -DERROR_CALLSTACK
If enable-asan is used, the callstack is printed by the sanitizer, otherwise please set a breakpoint
at the function "break_here", which is executed each time a memory allocation error is injected.
If called with the environment variable ERROR_INJECT defined to the empty string the initialization value is printed, and can be used to reproduce the failure later, by passing the value to the ERROR_INJECT variable.
There is a search script that can be used to look
for errors, and print the command to reproduce the bug:
./testrun.sh
This runs in endless mode until an error is found.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Note: this an enhanced version of #18355
This time it comes with a CI-workflow that automatically runs the fuzz/testrun.sh script.
Thus it has already detected one dead-lock that is triggered by an out-of-memory error.
see https://github.com/openssl/openssl/actions/runs/5781980144/job/15667963244
2023-08-07T07:05:05.4489460Z OpenSSL 3.2.0-dev  (Library: OpenSSL 3.2.0-dev )
2023-08-07T07:05:05.4491057Z built on: Mon Aug  7 06:56:32 2023 UTC
2023-08-07T07:05:05.4493059Z platform: linux-x86_64
2023-08-07T07:05:05.4495374Z options:  bn(64,64)
2023-08-07T07:05:05.4499505Z compiler: gcc -fPIC -pthread -m64 -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -DPEDANTIC -fno-omit-frame-pointer -g -Wa,--noexecstack -Wall -O3 -DPEDANTIC -pedantic -Wno-long-long -DUNUSEDRESULT_DEBUG -Wall -Wmissing-declarations -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wswitch -Wsign-compare -Wshadow -Wformat -Wno-type-limits -Wno-tautological-constant-out-of-range-compare -Wundef -Werror -Wmissing-prototypes -Wstrict-prototypes -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -DERROR_INJECT -DERROR_CALLSTACK
2023-08-07T07:05:05.4502781Z OPENSSLDIR: "/usr/local/ssl"
2023-08-07T07:05:05.4503499Z ENGINESDIR: "/usr/local/lib64/engines-3"
2023-08-07T07:05:05.4504217Z MODULESDIR: "/usr/local/lib64/ossl-modules"
2023-08-07T07:05:05.4504867Z Seeding source: os-specific
2023-08-07T07:05:05.4505515Z CPUINFO: OPENSSL_ia32cap=0xfeda32034f8bffff:0xd09e2fb9
2023-08-07T07:05:05.4737210Z Mon Aug 7 07:05:05 UTC 2023: running asn1
2023-08-07T07:06:26.6053187Z Mon Aug 7 07:06:26 UTC 2023: running asn1parse
2023-08-07T08:06:05.4809310Z Mon Aug 7 08:06:05 UTC 2023: error detected
2023-08-07T08:06:05.4828885Z ERROR_INJECT=1692279870 ../util/shlib_wrap.sh ./asn1parse-test ./corpora/asn1parse/027f6e82ba01d9db9a9167b83e56cc9f2c602550
2023-08-07T08:06:05.4830042Z log file: asn1parse-027f6e82ba01d9db9a9167b83e56cc9f2c602550-23045-test.out
2023-08-07T08:06:05.4889147Z ERROR_INJECT=1692279870
2023-08-07T08:06:05.4889606Z     #0 0x7f280b42fef8 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-07T08:06:05.4890680Z     #1 0x5610a3f396b4 in my_malloc fuzz/test-corpus.c:114
2023-08-07T08:06:05.4891088Z     #2 0x7f280a2eb94c in CRYPTO_malloc crypto/mem.c:177
2023-08-07T08:06:05.4891511Z     #3 0x7f280a2dafdb in OPENSSL_LH_insert crypto/lhash/lhash.c:114
2023-08-07T08:06:05.4891978Z     #4 0x7f280a1c87fe in err_load_strings crypto/err/err.c:264
2023-08-07T08:06:05.4892384Z     #5 0x7f280a1c87fe in err_load_strings crypto/err/err.c:259
2023-08-07T08:06:05.4892840Z     #6 0x7f280a1c87fe in ERR_load_strings_const crypto/err/err.c:301
2023-08-07T08:06:05.4893322Z     #7 0x7f280a6f513b in ossl_err_load_PROV_strings providers/common/provider_err.c:233
2023-08-07T08:06:05.4893801Z     #8 0x7f280a1cf015 in ossl_err_load_crypto_strings crypto/err/err_all.c:109
2023-08-07T08:06:05.4895346Z     #9 0x7f280a2e9b8c in ossl_init_load_crypto_strings crypto/init.c:190
2023-08-07T08:06:05.4895822Z     #10 0x7f280a2e9b8c in ossl_init_load_crypto_strings_ossl_ crypto/init.c:181
2023-08-07T08:06:05.4896368Z     #11 0x7f2808cfbf67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
2023-08-07T08:06:05.4896817Z     #12 0x7f280a32301e in CRYPTO_THREAD_run_once crypto/threads_pthread.c:154
2023-08-07T08:06:05.4897267Z     #13 0x7f280a2ea1da in OPENSSL_init_crypto crypto/init.c:553
2023-08-07T08:06:05.4897679Z     #14 0x5610a3f38e2f in FuzzerInitialize fuzz/asn1parse.c:29
2023-08-07T08:06:05.4898166Z     #15 0x5610a3f38783 in main fuzz/test-corpus.c:194
2023-08-07T08:06:05.4899033Z     #16 0x7f2808c8bd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-07T08:06:05.4899628Z     #17 0x7f2808c8be3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-07T08:06:05.4900264Z     #18 0x5610a3f38d34 in _start (/home/runner/work/openssl/openssl/fuzz/asn1parse-test+0x3d34)
2023-08-07T08:06:05.4900563Z
2023-08-07T08:06:05.4900712Z AddressSanitizer:DEADLYSIGNAL
2023-08-07T08:06:05.4901089Z =================================================================
2023-08-07T08:06:05.4901555Z ==27629==ERROR: AddressSanitizer: ABRT on unknown address 0x03e900006e23 (pc 0x7f2808cfbef8 bp 0x7f280b36afe0 sp 0x7ffd545b2460 T0)
2023-08-07T08:06:05.4902166Z     #0 0x7f2808cfbef8  (/lib/x86_64-linux-gnu/libc.so.6+0x99ef8)
2023-08-07T08:06:05.4902620Z     #1 0x7f280a32301e in CRYPTO_THREAD_run_once crypto/threads_pthread.c:154
2023-08-07T08:06:05.4903154Z     #2 0x7f280a2ea1da in OPENSSL_init_crypto crypto/init.c:553
2023-08-07T08:06:05.4903566Z     #3 0x7f280a1c935e in ossl_err_get_state_int crypto/err/err.c:705
2023-08-07T08:06:05.4904213Z     #4 0x7f280a1cf1f9 in ERR_new crypto/err/err_blocks.c:20
2023-08-07T08:06:05.4904608Z     #5 0x7f280a2eb9ac in CRYPTO_malloc crypto/mem.c:205
2023-08-07T08:06:05.4905027Z     #6 0x7f280a2dafdb in OPENSSL_LH_insert crypto/lhash/lhash.c:114
2023-08-07T08:06:05.4905436Z     #7 0x7f280a1c87fe in err_load_strings crypto/err/err.c:264
2023-08-07T08:06:05.4905859Z     #8 0x7f280a1c87fe in err_load_strings crypto/err/err.c:259
2023-08-07T08:06:05.4906286Z     #9 0x7f280a1c87fe in ERR_load_strings_const crypto/err/err.c:301
2023-08-07T08:06:05.4906748Z     #10 0x7f280a6f513b in ossl_err_load_PROV_strings providers/common/provider_err.c:233
2023-08-07T08:06:05.4907234Z     #11 0x7f280a1cf015 in ossl_err_load_crypto_strings crypto/err/err_all.c:109
2023-08-07T08:06:05.4907690Z     #12 0x7f280a2e9b8c in ossl_init_load_crypto_strings crypto/init.c:190
2023-08-07T08:06:05.4908133Z     #13 0x7f280a2e9b8c in ossl_init_load_crypto_strings_ossl_ crypto/init.c:181
2023-08-07T08:06:05.4908689Z     #14 0x7f2808cfbf67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
2023-08-07T08:06:05.4909135Z     #15 0x7f280a32301e in CRYPTO_THREAD_run_once crypto/threads_pthread.c:154
2023-08-07T08:06:05.4909589Z     #16 0x7f280a2ea1da in OPENSSL_init_crypto crypto/init.c:553
2023-08-07T08:06:05.4910000Z     #17 0x5610a3f38e2f in FuzzerInitialize fuzz/asn1parse.c:29
2023-08-07T08:06:05.4910486Z     #18 0x5610a3f38783 in main fuzz/test-corpus.c:194
2023-08-07T08:06:05.4910974Z     #19 0x7f2808c8bd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-07T08:06:05.4911519Z     #20 0x7f2808c8be3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-07T08:06:05.4912155Z     #21 0x5610a3f38d34 in _start (/home/runner/work/openssl/openssl/fuzz/asn1parse-test+0x3d34)
2023-08-07T08:06:05.4912451Z
2023-08-07T08:06:05.4912638Z AddressSanitizer can not provide additional info.
2023-08-07T08:06:05.4913214Z SUMMARY: AddressSanitizer: ABRT (/lib/x86_64-linux-gnu/libc.so.6+0x99ef8)
2023-08-07T08:06:05.4913586Z ==27629==ABORTING
2023-08-07T08:06:05.4930762Z ##[error]Process completed with exit code 1.

The first callstack is where the memory allocation error was injected,
and the second callstack at AddressSanitizer:DEADLYSIGNAL shows where
the deadlock occurred.
Note: The CI test framework sends a SIGABORT after the process was blocked
for an hour, to visualize the deadlock.

This turns a lot of the asserts into just returning an error. I wonder if we want to keep some of them to trigger a problem when fuzzing.

Yes, currently lots of asserts are triggered by simple out-of-memory errors.
I agree that these asserts are wrong and should be removed.

This PR is dependent on fixes being submitted for the issue that is detected.

Fix for the above bug in #21723.

Another fix found by this in #21725

After I pushed my last update the next error was detected in the fuzzy-testruin (looks like a new/independent issue),
See https://github.com/openssl/openssl/actions/runs/5835517081
2023-08-11T17:58:36.1543620Z ERROR_INJECT=1691753277 ../util/shlib_wrap.sh ./asn1-test ./corpora/asn1/631e91de0de48453946306a477c02dad5d69b241
2023-08-11T17:58:36.1544767Z log file: asn1-631e91de0de48453946306a477c02dad5d69b241-23047-test.out
2023-08-11T17:58:36.1558251Z ERROR_INJECT=1691753277
2023-08-11T17:58:36.1558846Z # ./corpora/asn1/631e91de0de48453946306a477c02dad5d69b241
2023-08-11T17:58:36.1606285Z     #0 0x7f8692730f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-11T17:58:36.1610578Z     #1 0x55b5a176e774 in my_malloc fuzz/test-corpus.c:117
2023-08-11T17:58:36.1612486Z     #2 0x7f8690e2900c in CRYPTO_malloc crypto/mem.c:177
2023-08-11T17:58:36.1612973Z     #3 0x7f8690e29245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-11T17:58:36.1613538Z     #4 0x7f869105d9d4 in OPENSSL_sk_deep_copy crypto/stack/stack.c:109
2023-08-11T17:58:36.1614031Z     #5 0x7f8690cea7a6 in sk_EVP_KEYMGMT_deep_copy crypto/encode_decode/decoder_pkey.c:59
2023-08-11T17:58:36.1614837Z     #6 0x7f8690cea7a6 in ossl_decoder_ctx_for_pkey_dup crypto/encode_decode/decoder_pkey.c:553
2023-08-11T17:58:36.1615434Z     #7 0x7f8690cea7a6 in OSSL_DECODER_CTX_new_for_pkey crypto/encode_decode/decoder_pkey.c:857
2023-08-11T17:58:36.1615917Z     #8 0x7f8690a195fc in d2i_PrivateKey_decoder crypto/asn1/d2i_pr.c:67
2023-08-11T17:58:36.1616488Z     #9 0x7f8690a195fc in d2i_AutoPrivateKey_ex crypto/asn1/d2i_pr.c:237
2023-08-11T17:58:36.1617012Z     #10 0x55b5a176d6dc in FuzzerTestOneInput fuzz/asn1.c:366
2023-08-11T17:58:36.1617721Z     #11 0x55b5a176e271 in testfile fuzz/test-corpus.c:185
2023-08-11T17:58:36.1618212Z     #12 0x55b5a176b89f in main fuzz/test-corpus.c:229
2023-08-11T17:58:36.1618829Z     #13 0x7f868f7bfd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-11T17:58:36.1619474Z     #14 0x7f868f7bfe3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-11T17:58:36.1620103Z     #15 0x55b5a176ba44 in _start (/home/runner/work/openssl/openssl/fuzz/asn1-test+0x9a44)
2023-08-11T17:58:36.1620859Z
2023-08-11T17:58:36.1620869Z
2023-08-11T17:58:36.1621057Z =================================================================
2023-08-11T17:58:36.1621493Z ==25807==ERROR: LeakSanitizer: detected memory leaks
2023-08-11T17:58:36.1621814Z
2023-08-11T17:58:36.1622030Z Direct leak of 48 byte(s) in 1 object(s) allocated from:
2023-08-11T17:58:36.1622511Z     #0 0x7f8692724887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-11T17:58:36.1623032Z     #1 0x7f8690e2900c in CRYPTO_malloc crypto/mem.c:177
2023-08-11T17:58:36.1623480Z     #2 0x7f8690e29245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-11T17:58:36.1623952Z     #3 0x7f8690cea6ac in ossl_decoder_ctx_for_pkey_dup crypto/encode_decode/decoder_pkey.c:538
2023-08-11T17:58:36.1624594Z     #4 0x7f8690cea6ac in OSSL_DECODER_CTX_new_for_pkey crypto/encode_decode/decoder_pkey.c:857
2023-08-11T17:58:36.1625149Z     #5 0x7f8690a195fc in d2i_PrivateKey_decoder crypto/asn1/d2i_pr.c:67
2023-08-11T17:58:36.1625888Z     #6 0x7f8690a195fc in d2i_AutoPrivateKey_ex crypto/asn1/d2i_pr.c:237
2023-08-11T17:58:36.1626355Z     #7 0x55b5a176d6dc in FuzzerTestOneInput fuzz/asn1.c:366
2023-08-11T17:58:36.1626981Z     #8 0x55b5a176e271 in testfile fuzz/test-corpus.c:185
2023-08-11T17:58:36.1627521Z     #9 0x55b5a176b89f in main fuzz/test-corpus.c:229
2023-08-11T17:58:36.1628028Z     #10 0x7f868f7bfd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-11T17:58:36.1628303Z
2023-08-11T17:58:36.1628541Z SUMMARY: AddressSanitizer: 48 byte(s) leaked in 1 allocation(s).
2023-08-11T17:58:41.1642252Z ##[error]Process completed with exit code 1.

Here is another error detection, see: https://github.com/openssl/openssl/actions/runs/5841857184
2023-08-12T14:38:50.0776171Z ERROR_INJECT=1692061351 ../util/shlib_wrap.sh ./client-test ./corpora/client/5e103c98bf85be1760386007c9b20bd5982271b0
2023-08-12T14:38:50.0789420Z log file: client-5e103c98bf85be1760386007c9b20bd5982271b0-23032-test.out
2023-08-12T14:38:50.0790069Z ERROR_INJECT=1692061351
2023-08-12T14:38:50.0791795Z # ./corpora/client/5e103c98bf85be1760386007c9b20bd5982271b0
2023-08-12T14:38:50.0792823Z     #0 0x7f123939df18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-12T14:38:50.0794159Z     #1 0x55d9030552f4 in my_malloc fuzz/test-corpus.c:117
2023-08-12T14:38:50.0794958Z     #2 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0795760Z     #3 0x7f1237a99367 in CRYPTO_strndup crypto/o_str.c:43
2023-08-12T14:38:50.0796619Z     #4 0x7f1237a53bce in evp_signature_from_algorithm crypto/evp/signature.c:55
2023-08-12T14:38:50.0797522Z     #5 0x7f1237a0075b in construct_evp_method crypto/evp/evp_fetch.c:220
2023-08-12T14:38:50.0798401Z     #6 0x7f1237a8ae8d in ossl_method_construct_this crypto/core_fetch.c:109
2023-08-12T14:38:50.0799251Z     #7 0x7f1237a8a590 in algorithm_do_map crypto/core_algorithm.c:77
2023-08-12T14:38:50.0800099Z     #8 0x7f1237a8a590 in algorithm_do_this crypto/core_algorithm.c:122
2023-08-12T14:38:50.0801014Z     #9 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.0801856Z     #10 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.0802595Z     #11 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.0803350Z     #12 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.0804693Z     #13 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.0805591Z     #14 0x7f1237a5524f in EVP_SIGNATURE_fetch crypto/evp/signature.c:307
2023-08-12T14:38:50.0806430Z     #15 0x7f1238dcc2e0 in ssl_load_ciphers ssl/ssl_ciph.c:364
2023-08-12T14:38:50.0807208Z     #16 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.0807955Z     #17 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.0808728Z     #18 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.0809727Z     #19 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0810650Z     #20 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0811611Z     #21 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0812661Z     #22 0x7f123642ce3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-12T14:38:50.0815973Z     #23 0x55d903054164 in _start (/home/runner/work/openssl/openssl/fuzz/client-test+0x5164)
2023-08-12T14:38:50.0816627Z
2023-08-12T14:38:50.0817170Z     #0 0x7f123939df18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-12T14:38:50.0818123Z     #1 0x55d903055274 in my_realloc fuzz/test-corpus.c:132
2023-08-12T14:38:50.0818790Z     #2 0x7f1237cc825d in sk_reserve crypto/stack/stack.c:217
2023-08-12T14:38:50.0819528Z     #3 0x7f1237cc825d in OPENSSL_sk_insert crypto/stack/stack.c:269
2023-08-12T14:38:50.0820326Z     #4 0x7f1237c1f8a4 in ossl_property_string crypto/property/property_string.c:174
2023-08-12T14:38:50.0821175Z     #5 0x7f1237c1f8a4 in ossl_property_value crypto/property/property_string.c:265
2023-08-12T14:38:50.0821978Z     #6 0x7f1237c18cd9 in parse_unquoted crypto/property/property_parse.c:218
2023-08-12T14:38:50.0822769Z     #7 0x7f1237c19324 in parse_value crypto/property/property_parse.c:250
2023-08-12T14:38:50.0823722Z     #8 0x7f1237c1b22c in ossl_parse_property crypto/property/property_parse.c:344
2023-08-12T14:38:50.0825098Z     #9 0x7f1237952f5e in ossl_decoder_from_algorithm crypto/encode_decode/decoder_meth.c:215
2023-08-12T14:38:50.0826028Z     #10 0x7f1237953831 in construct_decoder crypto/encode_decode/decoder_meth.c:310
2023-08-12T14:38:50.0826950Z     #11 0x7f1237a8ae8d in ossl_method_construct_this crypto/core_fetch.c:109
2023-08-12T14:38:50.0827817Z     #12 0x7f1237a8a590 in algorithm_do_map crypto/core_algorithm.c:77
2023-08-12T14:38:50.0828673Z     #13 0x7f1237a8a590 in algorithm_do_this crypto/core_algorithm.c:122
2023-08-12T14:38:50.0829557Z     #14 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.0830455Z     #15 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.0831368Z     #16 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.0832271Z     #17 0x7f1237954ca0 in inner_ossl_decoder_fetch crypto/encode_decode/decoder_meth.c:380
2023-08-12T14:38:50.0833228Z     #18 0x7f1237954ca0 in OSSL_DECODER_do_all_provided crypto/encode_decode/decoder_meth.c:556
2023-08-12T14:38:50.0834218Z     #19 0x7f1237958090 in ossl_decoder_ctx_setup_for_pkey crypto/encode_decode/decoder_pkey.c:448
2023-08-12T14:38:50.0835193Z     #20 0x7f1237958090 in OSSL_DECODER_CTX_new_for_pkey crypto/encode_decode/decoder_pkey.c:797
2023-08-12T14:38:50.0836168Z     #21 0x7f1237d79ff2 in x509_pubkey_ex_d2i_ex crypto/x509/x_pubkey.c:207
2023-08-12T14:38:50.0837001Z     #22 0x7f123769363d in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:262
2023-08-12T14:38:50.0837821Z     #23 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.0838658Z     #24 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.0839496Z     #25 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.0840332Z     #26 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.0841397Z     #27 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.0842241Z     #28 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.0843070Z     #29 0x7f1237696f34 in asn1_item_ex_d2i_intern crypto/asn1/tasn_dec.c:118
2023-08-12T14:38:50.0843876Z     #30 0x7f1237696f34 in ASN1_item_d2i_ex crypto/asn1/tasn_dec.c:144
2023-08-12T14:38:50.0844737Z     #31 0x7f1238f63c94 in tls_process_server_certificate ssl/statem/statem_clnt.c:1989
2023-08-12T14:38:50.0845681Z     #32 0x7f1238f737cf in ossl_statem_client_process_message ssl/statem/statem_clnt.c:1100
2023-08-12T14:38:50.0846571Z     #33 0x7f1238f56a3b in read_state_machine ssl/statem/statem.c:684
2023-08-12T14:38:50.0847383Z     #34 0x7f1238f56a3b in state_machine ssl/statem/statem.c:478
2023-08-12T14:38:50.0848154Z     #35 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0848951Z     #36 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0849935Z     #37 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0850885Z     #38 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0851820Z     #39 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0852874Z     #40 0x7f123642ce3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-12T14:38:50.0854242Z     #41 0x55d903054164 in _start (/home/runner/work/openssl/openssl/fuzz/client-test+0x5164)
2023-08-12T14:38:50.0854987Z
2023-08-12T14:38:50.0855527Z     #0 0x7f123939df18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-12T14:38:50.0856572Z     #1 0x55d903055274 in my_realloc fuzz/test-corpus.c:132
2023-08-12T14:38:50.0857354Z     #2 0x7f1237cc825d in sk_reserve crypto/stack/stack.c:217
2023-08-12T14:38:50.0858283Z     #3 0x7f1237cc825d in OPENSSL_sk_insert crypto/stack/stack.c:269
2023-08-12T14:38:50.0858839Z     #4 0x7f123794ec02 in sk_OSSL_DECODER_push crypto/encode_decode/decoder_lib.c:388
2023-08-12T14:38:50.0859375Z     #5 0x7f123794ec02 in collect_all_decoders crypto/encode_decode/decoder_lib.c:395
2023-08-12T14:38:50.0860094Z     #6 0x7f123794ec02 in collect_all_decoders crypto/encode_decode/decoder_lib.c:390
2023-08-12T14:38:50.0860621Z     #7 0x7f1237c13a1d in alg_do_one crypto/property/property.c:461
2023-08-12T14:38:50.0861126Z     #8 0x7f1237c13a1d in alg_do_each crypto/property/property.c:477
2023-08-12T14:38:50.0861612Z     #9 0x7f1237acc45f in sa_doall crypto/sparse_array.c:93
2023-08-12T14:38:50.0862363Z     #10 0x7f1237acc45f in ossl_sa_doall_arg crypto/sparse_array.c:148
2023-08-12T14:38:50.0862934Z     #11 0x7f1237c15c5d in ossl_sa_ALGORITHM_doall_arg crypto/property/property.c:97
2023-08-12T14:38:50.0863500Z     #12 0x7f1237c15c5d in ossl_method_store_do_all crypto/property/property.c:490
2023-08-12T14:38:50.0864069Z     #13 0x7f1237954d7f in OSSL_DECODER_do_all_provided crypto/encode_decode/decoder_meth.c:562
2023-08-12T14:38:50.0864639Z     #14 0x7f123794ff4a in OSSL_DECODER_CTX_add_extra crypto/encode_decode/decoder_lib.c:543
2023-08-12T14:38:50.0865220Z     #15 0x7f12379581e1 in OSSL_DECODER_CTX_new_for_pkey crypto/encode_decode/decoder_pkey.c:798
2023-08-12T14:38:50.0865748Z     #16 0x7f1237d79ff2 in x509_pubkey_ex_d2i_ex crypto/x509/x_pubkey.c:207
2023-08-12T14:38:50.0866239Z     #17 0x7f123769363d in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:262
2023-08-12T14:38:50.0866732Z     #18 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.0867224Z     #19 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.0867694Z     #20 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.0868181Z     #21 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.0868668Z     #22 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.0869148Z     #23 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.0870088Z     #24 0x7f1237696f34 in asn1_item_ex_d2i_intern crypto/asn1/tasn_dec.c:118
2023-08-12T14:38:50.0870594Z     #25 0x7f1237696f34 in ASN1_item_d2i_ex crypto/asn1/tasn_dec.c:144
2023-08-12T14:38:50.0871107Z     #26 0x7f1238f63c94 in tls_process_server_certificate ssl/statem/statem_clnt.c:1989
2023-08-12T14:38:50.0871657Z     #27 0x7f1238f737cf in ossl_statem_client_process_message ssl/statem/statem_clnt.c:1100
2023-08-12T14:38:50.0872163Z     #28 0x7f1238f56a3b in read_state_machine ssl/statem/statem.c:684
2023-08-12T14:38:50.0872670Z     #29 0x7f1238f56a3b in state_machine ssl/statem/statem.c:478
2023-08-12T14:38:50.0873132Z     #30 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0873603Z     #31 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0874251Z     #32 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0874793Z     #33 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0875357Z     #34 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0875997Z     #35 0x7f123642ce3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-12T14:38:50.0876666Z     #36 0x55d903054164 in _start (/home/runner/work/openssl/openssl/fuzz/client-test+0x5164)
2023-08-12T14:38:50.0877020Z
2023-08-12T14:38:50.0877210Z
2023-08-12T14:38:50.0877350Z =================================================================
2023-08-12T14:38:50.0878069Z ==42401==ERROR: LeakSanitizer: detected memory leaks
2023-08-12T14:38:50.0878823Z
2023-08-12T14:38:50.0879541Z Direct leak of 184 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0880075Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0880708Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0881348Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.0882152Z     #3 0x7f12379f5c1d in EVP_CIPHER_CTX_new crypto/evp/evp_enc.c:76
2023-08-12T14:38:50.0882630Z     #4 0x7f1238f12a6a in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:36
2023-08-12T14:38:50.0883324Z     #5 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.0883850Z     #6 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.0884288Z     #7 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.0884795Z     #8 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.0885227Z     #9 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.0885702Z     #10 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.0886416Z     #11 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0887059Z     #12 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0887775Z     #13 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0938261Z     #14 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0939643Z     #15 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0941236Z
2023-08-12T14:38:50.0941981Z Direct leak of 128 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0942544Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0943069Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0943940Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.0944585Z     #3 0x7f12376c1513 in BIO_new_ex crypto/bio/bio_lib.c:83
2023-08-12T14:38:50.0945319Z     #4 0x7f1238df40bc in ssl_init_wbio_buffer ssl/ssl_lib.c:5084
2023-08-12T14:38:50.0945967Z     #5 0x7f1238f55519 in state_machine ssl/statem/statem.c:456
2023-08-12T14:38:50.0946588Z     #6 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0947219Z     #7 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0948192Z     #8 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0948760Z     #9 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0949265Z     #10 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0949567Z
2023-08-12T14:38:50.0950196Z Direct leak of 72 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0950649Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0951167Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0951800Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.0952495Z     #3 0x7f1238f12aac in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:43
2023-08-12T14:38:50.0953014Z     #4 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.0953481Z     #5 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.0953980Z     #6 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.0954668Z     #7 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.0955175Z     #8 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.0955817Z     #9 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.0956456Z     #10 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0957093Z     #11 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0957747Z     #12 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0958260Z     #13 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0958758Z     #14 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0959002Z
2023-08-12T14:38:50.0959599Z Indirect leak of 4096 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0960134Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0961564Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0962080Z     #2 0x7f12376b54fc in buffer_new crypto/bio/bf_buff.c:58
2023-08-12T14:38:50.0962990Z     #3 0x7f12376c1653 in BIO_new_ex crypto/bio/bio_lib.c:98
2023-08-12T14:38:50.0963716Z     #4 0x7f1238df40bc in ssl_init_wbio_buffer ssl/ssl_lib.c:5084
2023-08-12T14:38:50.0964365Z     #5 0x7f1238f55519 in state_machine ssl/statem/statem.c:456
2023-08-12T14:38:50.0965013Z     #6 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0965677Z     #7 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0966412Z     #8 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0966928Z     #9 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0967694Z     #10 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0967997Z
2023-08-12T14:38:50.0968675Z Indirect leak of 4096 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0969244Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0969744Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0970584Z     #2 0x7f12376b5491 in buffer_new crypto/bio/bf_buff.c:52
2023-08-12T14:38:50.0971284Z     #3 0x7f12376c1653 in BIO_new_ex crypto/bio/bio_lib.c:98
2023-08-12T14:38:50.0971952Z     #4 0x7f1238df40bc in ssl_init_wbio_buffer ssl/ssl_lib.c:5084
2023-08-12T14:38:50.0972869Z     #5 0x7f1238f55519 in state_machine ssl/statem/statem.c:456
2023-08-12T14:38:50.0973721Z     #6 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.0974695Z     #7 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.0975435Z     #8 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0975958Z     #9 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0976665Z     #10 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0976983Z
2023-08-12T14:38:50.0977649Z Indirect leak of 232 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0978181Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0978677Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0979505Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.0980184Z     #3 0x7f1237a203d0 in keymgmt_new crypto/evp/keymgmt_meth.c:24
2023-08-12T14:38:50.0980811Z     #4 0x7f1237a203d0 in keymgmt_from_algorithm crypto/evp/keymgmt_meth.c:44
2023-08-12T14:38:50.0981323Z     #5 0x7f1237a0075b in construct_evp_method crypto/evp/evp_fetch.c:220
2023-08-12T14:38:50.0981784Z     #6 0x7f1237a8ae8d in ossl_method_construct_this crypto/core_fetch.c:109
2023-08-12T14:38:50.0982285Z     #7 0x7f1237a8a590 in algorithm_do_map crypto/core_algorithm.c:77
2023-08-12T14:38:50.0982980Z     #8 0x7f1237a8a590 in algorithm_do_this crypto/core_algorithm.c:122
2023-08-12T14:38:50.0983502Z     #9 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.0984033Z     #10 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.0984484Z     #11 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.0984988Z     #12 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.0985418Z     #13 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.0985916Z     #14 0x7f1237a219cf in EVP_KEYMGMT_fetch crypto/evp/keymgmt_meth.c:238
2023-08-12T14:38:50.0986353Z     #15 0x7f1238e23fae in add_provider_groups ssl/t1_lib.c:345
2023-08-12T14:38:50.0986868Z     #16 0x7f1237d84c54 in tls_group_capability providers/common/capabilities.c:218
2023-08-12T14:38:50.0987437Z     #17 0x7f1237d84c54 in ossl_prov_get_capabilities providers/common/capabilities.c:229
2023-08-12T14:38:50.0988136Z     #18 0x7f1238e22c78 in discover_provider_groups ssl/t1_lib.c:383
2023-08-12T14:38:50.0988965Z     #19 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.0989454Z     #20 0x7f1238e2899d in ssl_load_groups ssl/t1_lib.c:392
2023-08-12T14:38:50.0990145Z     #21 0x7f1238e078d2 in SSL_CTX_new_ex ssl/ssl_lib.c:3903
2023-08-12T14:38:50.0991000Z     #22 0x7f1238e078d2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.0991937Z     #23 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.0992541Z     #24 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.0993079Z     #25 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.0993569Z     #26 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.0993872Z
2023-08-12T14:38:50.0994512Z Indirect leak of 224 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.0995056Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.0995571Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.0996283Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.0997103Z     #3 0x7f1237ac4da3 in provider_new crypto/provider_core.c:444
2023-08-12T14:38:50.0997805Z     #4 0x7f1237ac6194 in provider_activate_fallbacks crypto/provider_core.c:1346
2023-08-12T14:38:50.0998359Z     #5 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.0998879Z     #6 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.0999766Z     #7 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1000227Z     #8 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1000786Z     #9 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1001439Z     #10 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1002313Z     #11 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1002792Z     #12 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1003416Z     #13 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1004117Z     #14 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1004982Z     #15 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1005877Z     #16 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1006413Z     #17 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1006956Z     #18 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1007256Z
2023-08-12T14:38:50.1007880Z Indirect leak of 176 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1008415Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1008932Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1009756Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1010567Z     #3 0x7f1237a46efa in int_ctx_new crypto/evp/pmeth_lib.c:314
2023-08-12T14:38:50.1011213Z     #4 0x7f1237a24795 in do_sigver_init crypto/evp/m_sigver.c:60
2023-08-12T14:38:50.1012167Z     #5 0x7f1237a25430 in EVP_DigestSignInit_ex crypto/evp/m_sigver.c:374
2023-08-12T14:38:50.1012683Z     #6 0x7f1238f12bed in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:77
2023-08-12T14:38:50.1013253Z     #7 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.1013771Z     #8 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.1014763Z     #9 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.1015452Z     #10 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.1015895Z     #11 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.1016600Z     #12 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.1017255Z     #13 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1017918Z     #14 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1018669Z     #15 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1019200Z     #16 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1019926Z     #17 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1020266Z
2023-08-12T14:38:50.1020902Z Indirect leak of 152 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1021366Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1021874Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1022534Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1023425Z     #3 0x7f1237a33b68 in EVP_PKEY_new crypto/evp/p_lib.c:1445
2023-08-12T14:38:50.1024230Z     #4 0x7f1237a44dfb in EVP_PKEY_fromdata crypto/evp/pmeth_gn.c:378
2023-08-12T14:38:50.1024797Z     #5 0x7f1237a37673 in new_raw_key_int crypto/evp/p_lib.c:428
2023-08-12T14:38:50.1025413Z     #6 0x7f1237a37673 in EVP_PKEY_new_raw_private_key_ex crypto/evp/p_lib.c:494
2023-08-12T14:38:50.1026023Z     #7 0x7f1238f12d91 in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:64
2023-08-12T14:38:50.1026531Z     #8 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.1027232Z     #9 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.1027869Z     #10 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.1028506Z     #11 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.1028942Z     #12 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.1029629Z     #13 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.1030116Z     #14 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1030773Z     #15 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1031716Z     #16 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1032255Z     #17 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1032814Z     #18 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1033111Z
2023-08-12T14:38:50.1033733Z Indirect leak of 112 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1034252Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1034759Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1035423Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1036230Z     #3 0x7f12376c92d3 in BIO_meth_new crypto/bio/bio_meth.c:37
2023-08-12T14:38:50.1036935Z     #4 0x7f1237d84abe in ossl_bio_prov_init_bio_method providers/common/bio_prov.c:210
2023-08-12T14:38:50.1037629Z     #5 0x7f1237d83e74 in ossl_default_provider_init providers/defltprov.c:614
2023-08-12T14:38:50.1038147Z     #6 0x7f1237abfdef in provider_init crypto/provider_core.c:944
2023-08-12T14:38:50.1038602Z     #7 0x7f1237abfdef in provider_activate crypto/provider_core.c:1151
2023-08-12T14:38:50.1039229Z     #8 0x7f1237ac6221 in provider_activate_fallbacks crypto/provider_core.c:1360
2023-08-12T14:38:50.1039763Z     #9 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1040296Z     #10 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1041159Z     #11 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1041620Z     #12 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1042114Z     #13 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1042781Z     #14 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1043421Z     #15 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1044064Z     #16 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1044853Z     #17 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1045640Z     #18 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1046292Z     #19 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1046999Z     #20 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1047517Z     #21 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1048242Z     #22 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1048545Z
2023-08-12T14:38:50.1049242Z Indirect leak of 72 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1057774Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1058324Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1059264Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1059984Z     #3 0x7f1237e58be2 in ossl_mac_key_new providers/implementations/keymgmt/mac_legacy_kmgmt.c:71
2023-08-12T14:38:50.1060554Z     #4 0x7f1237a1ed08 in evp_keymgmt_util_fromdata crypto/evp/keymgmt_lib.c:315
2023-08-12T14:38:50.1061059Z     #5 0x7f1237a44da3 in EVP_PKEY_fromdata crypto/evp/pmeth_gn.c:385
2023-08-12T14:38:50.1061661Z     #6 0x7f1237a37673 in new_raw_key_int crypto/evp/p_lib.c:428
2023-08-12T14:38:50.1062564Z     #7 0x7f1237a37673 in EVP_PKEY_new_raw_private_key_ex crypto/evp/p_lib.c:494
2023-08-12T14:38:50.1063240Z     #8 0x7f1238f12d91 in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:64
2023-08-12T14:38:50.1064029Z     #9 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.1064990Z     #10 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.1065511Z     #11 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.1066195Z     #12 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.1066640Z     #13 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.1067117Z     #14 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.1067958Z     #15 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1068568Z     #16 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1069278Z     #17 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1070009Z     #18 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1070688Z     #19 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1070939Z
2023-08-12T14:38:50.1071503Z Indirect leak of 56 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1072051Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1072538Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1073307Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1074236Z     #3 0x7f1237acd5db in CRYPTO_THREAD_lock_new crypto/threads_pthread.c:50
2023-08-12T14:38:50.1074750Z     #4 0x7f1237a33c2e in EVP_PKEY_new crypto/evp/p_lib.c:1456
2023-08-12T14:38:50.1075547Z     #5 0x7f1237a44dfb in EVP_PKEY_fromdata crypto/evp/pmeth_gn.c:378
2023-08-12T14:38:50.1075988Z     #6 0x7f1237a37673 in new_raw_key_int crypto/evp/p_lib.c:428
2023-08-12T14:38:50.1076651Z     #7 0x7f1237a37673 in EVP_PKEY_new_raw_private_key_ex crypto/evp/p_lib.c:494
2023-08-12T14:38:50.1077406Z     #8 0x7f1238f12d91 in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:64
2023-08-12T14:38:50.1078091Z     #9 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.1078832Z     #10 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.1079601Z     #11 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.1080479Z     #12 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.1080982Z     #13 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.1081587Z     #14 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.1082257Z     #15 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1082843Z     #16 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1083522Z     #17 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1084180Z     #18 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1084679Z     #19 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1084982Z
2023-08-12T14:38:50.1085637Z Indirect leak of 56 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1086154Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1086627Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1087060Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1087887Z     #3 0x7f1237acd5db in CRYPTO_THREAD_lock_new crypto/threads_pthread.c:50
2023-08-12T14:38:50.1088344Z     #4 0x7f1237ac4e46 in provider_new crypto/provider_core.c:459
2023-08-12T14:38:50.1088835Z     #5 0x7f1237ac6194 in provider_activate_fallbacks crypto/provider_core.c:1346
2023-08-12T14:38:50.1089380Z     #6 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1089901Z     #7 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1090472Z     #8 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1091030Z     #9 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1091506Z     #10 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1092143Z     #11 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1092754Z     #12 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1093560Z     #13 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1094670Z     #14 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1095312Z     #15 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1095970Z     #16 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1096793Z     #17 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1097533Z     #18 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1098383Z     #19 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1098700Z
2023-08-12T14:38:50.1099142Z Indirect leak of 56 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1099683Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1100330Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1100960Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1101641Z     #3 0x7f1237acd5db in CRYPTO_THREAD_lock_new crypto/threads_pthread.c:50
2023-08-12T14:38:50.1102326Z     #4 0x7f1237ac4e09 in provider_new crypto/provider_core.c:458
2023-08-12T14:38:50.1103031Z     #5 0x7f1237ac6194 in provider_activate_fallbacks crypto/provider_core.c:1346
2023-08-12T14:38:50.1103772Z     #6 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1104493Z     #7 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1105176Z     #8 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1106120Z     #9 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1106810Z     #10 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1107503Z     #11 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1108161Z     #12 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1108817Z     #13 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1109461Z     #14 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1110093Z     #15 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1110729Z     #16 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1111598Z     #17 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1112248Z     #18 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1113099Z     #19 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1113418Z
2023-08-12T14:38:50.1113820Z Indirect leak of 40 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1114376Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1114979Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1115611Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1116225Z     #3 0x7f12376b544a in buffer_new crypto/bio/bf_buff.c:47
2023-08-12T14:38:50.1116862Z     #4 0x7f12376c1653 in BIO_new_ex crypto/bio/bio_lib.c:98
2023-08-12T14:38:50.1117506Z     #5 0x7f1238df40bc in ssl_init_wbio_buffer ssl/ssl_lib.c:5084
2023-08-12T14:38:50.1118166Z     #6 0x7f1238f55519 in state_machine ssl/statem/statem.c:456
2023-08-12T14:38:50.1118796Z     #7 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1119455Z     #8 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1120528Z     #9 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1121298Z     #10 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1122038Z     #11 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1122337Z
2023-08-12T14:38:50.1122766Z Indirect leak of 32 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1123496Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1124198Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1124899Z     #2 0x7f1237e57447 in mac_key_fromdata providers/implementations/keymgmt/mac_legacy_kmgmt.c:194
2023-08-12T14:38:50.1125657Z     #3 0x7f1237a1ed21 in evp_keymgmt_util_fromdata crypto/evp/keymgmt_lib.c:316
2023-08-12T14:38:50.1126366Z     #4 0x7f1237a44da3 in EVP_PKEY_fromdata crypto/evp/pmeth_gn.c:385
2023-08-12T14:38:50.1127040Z     #5 0x7f1237a37673 in new_raw_key_int crypto/evp/p_lib.c:428
2023-08-12T14:38:50.1127730Z     #6 0x7f1237a37673 in EVP_PKEY_new_raw_private_key_ex crypto/evp/p_lib.c:494
2023-08-12T14:38:50.1128439Z     #7 0x7f1238f12d91 in tls1_set_crypto_state ssl/record/methods/tls1_meth.c:64
2023-08-12T14:38:50.1129153Z     #8 0x7f1238f2137d in tls_new_record_layer ssl/record/methods/tls_common.c:1408
2023-08-12T14:38:50.1129867Z     #9 0x7f1238f020ec in ssl_set_new_record_layer ssl/record/rec_layer_s3.c:1359
2023-08-12T14:38:50.1130555Z     #10 0x7f1238e20c94 in tls1_change_cipher_state ssl/t1_enc.c:269
2023-08-12T14:38:50.1131237Z     #11 0x7f1238f6d293 in ossl_statem_client_post_work ssl/statem/statem_clnt.c:868
2023-08-12T14:38:50.1131943Z     #12 0x7f1238f55b6b in write_state_machine ssl/statem/statem.c:932
2023-08-12T14:38:50.1132608Z     #13 0x7f1238f55b6b in state_machine ssl/statem/statem.c:487
2023-08-12T14:38:50.1133262Z     #14 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1134053Z     #15 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1134924Z     #16 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1135839Z     #17 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1136597Z     #18 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1136887Z
2023-08-12T14:38:50.1137287Z Indirect leak of 32 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1137844Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1138454Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1139118Z     #2 0x7f1237cca808 in OPENSSL_sk_deep_copy crypto/stack/stack.c:89
2023-08-12T14:38:50.1139800Z     #3 0x7f1237ac4e81 in sk_INFOPAIR_deep_copy crypto/provider_local.h:16
2023-08-12T14:38:50.1140485Z     #4 0x7f1237ac4e81 in provider_new crypto/provider_core.c:460
2023-08-12T14:38:50.1141196Z     #5 0x7f1237ac6194 in provider_activate_fallbacks crypto/provider_core.c:1346
2023-08-12T14:38:50.1141950Z     #6 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1142660Z     #7 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1143354Z     #8 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1144041Z     #9 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1144731Z     #10 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1145391Z     #11 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1146059Z     #12 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1146709Z     #13 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1147355Z     #14 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1147970Z     #15 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1148624Z     #16 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1149640Z     #17 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1150426Z     #18 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1151161Z     #19 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1151461Z
2023-08-12T14:38:50.1151867Z Indirect leak of 24 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1152592Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1153292Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1153913Z     #2 0x7f1237a96245 in CRYPTO_zalloc crypto/mem.c:216
2023-08-12T14:38:50.1154592Z     #3 0x7f1237d83e31 in ossl_default_provider_init providers/defltprov.c:613
2023-08-12T14:38:50.1155294Z     #4 0x7f1237abfdef in provider_init crypto/provider_core.c:944
2023-08-12T14:38:50.1155992Z     #5 0x7f1237abfdef in provider_activate crypto/provider_core.c:1151
2023-08-12T14:38:50.1156725Z     #6 0x7f1237ac6221 in provider_activate_fallbacks crypto/provider_core.c:1360
2023-08-12T14:38:50.1157456Z     #7 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1158180Z     #8 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1158877Z     #9 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1159571Z     #10 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1160244Z     #11 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1160923Z     #12 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1161591Z     #13 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1162248Z     #14 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1162893Z     #15 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1163529Z     #16 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1164323Z     #17 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1165188Z     #18 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1165810Z     #19 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1166650Z     #20 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1166952Z
2023-08-12T14:38:50.1167358Z Indirect leak of 19 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1168083Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1168765Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1169409Z     #2 0x7f1237a99203 in CRYPTO_strdup crypto/o_str.c:27
2023-08-12T14:38:50.1170054Z     #3 0x7f12376c92ee in BIO_meth_new crypto/bio/bio_meth.c:40
2023-08-12T14:38:50.1170753Z     #4 0x7f1237d84abe in ossl_bio_prov_init_bio_method providers/common/bio_prov.c:210
2023-08-12T14:38:50.1171484Z     #5 0x7f1237d83e74 in ossl_default_provider_init providers/defltprov.c:614
2023-08-12T14:38:50.1172182Z     #6 0x7f1237abfdef in provider_init crypto/provider_core.c:944
2023-08-12T14:38:50.1172883Z     #7 0x7f1237abfdef in provider_activate crypto/provider_core.c:1151
2023-08-12T14:38:50.1173605Z     #8 0x7f1237ac6221 in provider_activate_fallbacks crypto/provider_core.c:1360
2023-08-12T14:38:50.1174439Z     #9 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1175165Z     #10 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1175860Z     #11 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1176558Z     #12 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1177232Z     #13 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1177903Z     #14 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1178845Z     #15 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1179423Z     #16 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1180058Z     #17 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1180681Z     #18 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1181336Z     #19 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1182200Z     #20 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1182827Z     #21 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1183668Z     #22 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1183972Z
2023-08-12T14:38:50.1184388Z Indirect leak of 8 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1185113Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1185822Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1186453Z     #2 0x7f1237a99203 in CRYPTO_strdup crypto/o_str.c:27
2023-08-12T14:38:50.1187110Z     #3 0x7f1237ac4eb2 in provider_new crypto/provider_core.c:467
2023-08-12T14:38:50.1187900Z     #4 0x7f1237ac6194 in provider_activate_fallbacks crypto/provider_core.c:1346
2023-08-12T14:38:50.1188589Z     #5 0x7f1237ac657d in ossl_provider_doall_activated crypto/provider_core.c:1401
2023-08-12T14:38:50.1189246Z     #6 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1189900Z     #7 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1190550Z     #8 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1191192Z     #9 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1192009Z     #10 0x7f12379fc901 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1676
2023-08-12T14:38:50.1192685Z     #11 0x7f1238e01d82 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7143
2023-08-12T14:38:50.1193551Z     #12 0x7f1238dcbf54 in ssl_load_ciphers ssl/ssl_ciph.c:333
2023-08-12T14:38:50.1194203Z     #13 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3898
2023-08-12T14:38:50.1194889Z     #14 0x7f1238e078c2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1195538Z     #15 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1196390Z     #16 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1197022Z     #17 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1197757Z     #18 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1198151Z
2023-08-12T14:38:50.1198571Z Indirect leak of 5 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1199288Z     #0 0x7f1239391887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-12T14:38:50.1199997Z     #1 0x7f1237a9600c in CRYPTO_malloc crypto/mem.c:177
2023-08-12T14:38:50.1200670Z     #2 0x7f1237a99367 in CRYPTO_strndup crypto/o_str.c:43
2023-08-12T14:38:50.1201352Z     #3 0x7f1237a20465 in keymgmt_from_algorithm crypto/evp/keymgmt_meth.c:48
2023-08-12T14:38:50.1202057Z     #4 0x7f1237a0075b in construct_evp_method crypto/evp/evp_fetch.c:220
2023-08-12T14:38:50.1202756Z     #5 0x7f1237a8ae8d in ossl_method_construct_this crypto/core_fetch.c:109
2023-08-12T14:38:50.1203441Z     #6 0x7f1237a8a590 in algorithm_do_map crypto/core_algorithm.c:77
2023-08-12T14:38:50.1204126Z     #7 0x7f1237a8a590 in algorithm_do_this crypto/core_algorithm.c:122
2023-08-12T14:38:50.1204843Z     #8 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.1205567Z     #9 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1206249Z     #10 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1206953Z     #11 0x7f1237a01775 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
2023-08-12T14:38:50.1207886Z     #12 0x7f1237a01775 in evp_generic_fetch crypto/evp/evp_fetch.c:365
2023-08-12T14:38:50.1208514Z     #13 0x7f1237a219cf in EVP_KEYMGMT_fetch crypto/evp/keymgmt_meth.c:238
2023-08-12T14:38:50.1209246Z     #14 0x7f1238e23fae in add_provider_groups ssl/t1_lib.c:345
2023-08-12T14:38:50.1209937Z     #15 0x7f1237d84c54 in tls_group_capability providers/common/capabilities.c:218
2023-08-12T14:38:50.1210687Z     #16 0x7f1237d84c54 in ossl_prov_get_capabilities providers/common/capabilities.c:229
2023-08-12T14:38:50.1211404Z     #17 0x7f1238e22c78 in discover_provider_groups ssl/t1_lib.c:383
2023-08-12T14:38:50.1212107Z     #18 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.1212774Z     #19 0x7f1238e2899d in ssl_load_groups ssl/t1_lib.c:392
2023-08-12T14:38:50.1213408Z     #20 0x7f1238e078d2 in SSL_CTX_new_ex ssl/ssl_lib.c:3903
2023-08-12T14:38:50.1214392Z     #21 0x7f1238e078d2 in SSL_CTX_new_ex ssl/ssl_lib.c:3815
2023-08-12T14:38:50.1214961Z     #22 0x55d90305440c in FuzzerTestOneInput fuzz/client.c:67
2023-08-12T14:38:50.1215843Z     #23 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1216476Z     #24 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1217326Z     #25 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1217627Z
2023-08-12T14:38:50.1218047Z Indirect leak of 3 byte(s) in 1 object(s) allocated from:
2023-08-12T14:38:50.1218761Z     #0 0x7f1239391c38 in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:164
2023-08-12T14:38:50.1219536Z     #1 0x7f1237ac75f0 in ossl_provider_set_operation_bit crypto/provider_core.c:1666
2023-08-12T14:38:50.1220284Z     #2 0x7f1237a8b487 in ossl_method_construct_postcondition crypto/core_fetch.c:99
2023-08-12T14:38:50.1221002Z     #3 0x7f1237a8a62b in algorithm_do_map crypto/core_algorithm.c:84
2023-08-12T14:38:50.1221777Z     #4 0x7f1237a8a62b in algorithm_do_this crypto/core_algorithm.c:122
2023-08-12T14:38:50.1222499Z     #5 0x7f1237ac693e in ossl_provider_doall_activated crypto/provider_core.c:1461
2023-08-12T14:38:50.1223409Z     #6 0x7f1237a8ab39 in ossl_algorithm_do_all crypto/core_algorithm.c:162
2023-08-12T14:38:50.1224102Z     #7 0x7f1237a8b801 in ossl_method_construct crypto/core_fetch.c:153
2023-08-12T14:38:50.1224867Z     #8 0x7f1237954ca0 in inner_ossl_decoder_fetch crypto/encode_decode/decoder_meth.c:380
2023-08-12T14:38:50.1225625Z     #9 0x7f1237954ca0 in OSSL_DECODER_do_all_provided crypto/encode_decode/decoder_meth.c:556
2023-08-12T14:38:50.1226394Z     #10 0x7f1237958090 in ossl_decoder_ctx_setup_for_pkey crypto/encode_decode/decoder_pkey.c:448
2023-08-12T14:38:50.1227157Z     #11 0x7f1237958090 in OSSL_DECODER_CTX_new_for_pkey crypto/encode_decode/decoder_pkey.c:797
2023-08-12T14:38:50.1227878Z     #12 0x7f1237d79ff2 in x509_pubkey_ex_d2i_ex crypto/x509/x_pubkey.c:207
2023-08-12T14:38:50.1228540Z     #13 0x7f123769363d in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:262
2023-08-12T14:38:50.1229229Z     #14 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.1229919Z     #15 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.1230602Z     #16 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.1231268Z     #17 0x7f12376956e8 in asn1_template_noexp_d2i crypto/asn1/tasn_dec.c:682
2023-08-12T14:38:50.1231952Z     #18 0x7f12376961b8 in asn1_template_ex_d2i crypto/asn1/tasn_dec.c:558
2023-08-12T14:38:50.1232622Z     #19 0x7f1237693d93 in asn1_item_embed_d2i crypto/asn1/tasn_dec.c:422
2023-08-12T14:38:50.1233300Z     #20 0x7f1237696f34 in asn1_item_ex_d2i_intern crypto/asn1/tasn_dec.c:118
2023-08-12T14:38:50.1233954Z     #21 0x7f1237696f34 in ASN1_item_d2i_ex crypto/asn1/tasn_dec.c:144
2023-08-12T14:38:50.1234661Z     #22 0x7f1238f63c94 in tls_process_server_certificate ssl/statem/statem_clnt.c:1989
2023-08-12T14:38:50.1235407Z     #23 0x7f1238f737cf in ossl_statem_client_process_message ssl/statem/statem_clnt.c:1100
2023-08-12T14:38:50.1236402Z     #24 0x7f1238f56a3b in read_state_machine ssl/statem/statem.c:684
2023-08-12T14:38:50.1236985Z     #25 0x7f1238f56a3b in state_machine ssl/statem/statem.c:478
2023-08-12T14:38:50.1237641Z     #26 0x7f1238df1d52 in SSL_do_handshake ssl/ssl_lib.c:4710
2023-08-12T14:38:50.1238300Z     #27 0x55d903054550 in FuzzerTestOneInput fuzz/client.c:90
2023-08-12T14:38:50.1239170Z     #28 0x55d903054df1 in testfile fuzz/test-corpus.c:185
2023-08-12T14:38:50.1239793Z     #29 0x55d903053fbf in main fuzz/test-corpus.c:229
2023-08-12T14:38:50.1240633Z     #30 0x7f123642cd8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-12T14:38:50.1240936Z
2023-08-12T14:38:50.1241379Z SUMMARY: AddressSanitizer: 9875 byte(s) leaked in 22 allocation(s).
2023-08-12T14:38:55.0801539Z ##[error]Process completed with exit code 1.

I was able to reproduce this and the previous error in current master revision with all known fixes applied.

 However I believe I have a fix in #21741 for this one and this one.
For this one I have been unable to make any progress on it. @bernd-edlinger - since you can reproduce this any insight you might be able to provide as to the cause would be appreciated.

Confirmed that the first two issues are still reproducible here and will be fixed by #21741.
Regarding the third issue, it turns out that only the first malloc error caused the issue, the other two realloc issues
are irrelevant.
I set a breakpoint in the debugger and got the callstack with parameters, maybe that can help.
Breakpoint 3, __sanitizer_print_stack_trace () at ../../../../gcc-trunk/libsanitizer/asan/asan_stack.cpp:85
85	void __sanitizer_print_stack_trace() {
(gdb) finish
Run till exit from #0  __sanitizer_print_stack_trace () at ../../../../gcc-trunk/libsanitizer/asan/asan_stack.cpp:85
    #0 0x7ffff77feeba in __sanitizer_print_stack_trace ../../../../gcc-trunk/libsanitizer/asan/asan_stack.cpp:87
    #1 0x403b64 in my_malloc fuzz/test-corpus.c:117
    #2 0x7ffff5eb0367 in CRYPTO_malloc crypto/mem.c:177
    #3 0x7ffff5eb3593 in CRYPTO_strndup crypto/o_str.c:43
    #4 0x7ffff5e71ddf in evp_signature_from_algorithm crypto/evp/signature.c:55
    #5 0x7ffff5e220ce in construct_evp_method crypto/evp/evp_fetch.c:220
    #6 0x7ffff5ea5cd9 in ossl_method_construct_this crypto/core_fetch.c:109
    #7 0x7ffff5ea51b1 in algorithm_do_map crypto/core_algorithm.c:77
    #8 0x7ffff5ea51b1 in algorithm_do_this crypto/core_algorithm.c:122
    #9 0x7ffff5ee8f96 in ossl_provider_doall_activated crypto/provider_core.c:1460
    #10 0x7ffff5ea56f9 in ossl_algorithm_do_all crypto/core_algorithm.c:162
    #11 0x7ffff5ea6364 in ossl_method_construct crypto/core_fetch.c:153
    #12 0x7ffff5e23022 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
    #13 0x7ffff5e23022 in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #14 0x7ffff5e7347b in EVP_SIGNATURE_fetch crypto/evp/signature.c:307
    #15 0x7ffff722c0df in ssl_load_ciphers ssl/ssl_ciph.c:364
    #16 0x7ffff72657fe in SSL_CTX_new_ex ssl/ssl_lib.c:3898
    #17 0x402de4 in FuzzerTestOneInput fuzz/client.c:67
    #18 0x4036e1 in testfile fuzz/test-corpus.c:185
    #19 0x4029e1 in main fuzz/test-corpus.c:229
    #20 0x7ffff423df44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
    #21 0x402b96  (/home/ed/OPC/openssl/fuzz/client-test+0x402b96)

0x0000000000403b65 in my_malloc (s=<optimized out>, file=<optimized out>, line=<optimized out>) at fuzz/test-corpus.c:118
118	}
(gdb) bt
#0  0x0000000000403b65 in my_malloc (s=<optimized out>, file=<optimized out>, line=<optimized out>) at fuzz/test-corpus.c:118
#1  0x00007ffff5eb0368 in CRYPTO_malloc (num=num@entry=5, file=file@entry=0x7ffff6354140 "crypto/core_algorithm.c", line=line@entry=195)
    at crypto/mem.c:177
#2  0x00007ffff5eb3594 in CRYPTO_strndup (str=0x7ffff63bc020 "HMAC", s=<optimized out>,
    file=file@entry=0x7ffff6354140 "crypto/core_algorithm.c", line=line@entry=195) at crypto/o_str.c:43
#3  0x00007ffff5ea581d in ossl_algorithm_get1_first_name (algo=algo@entry=0x7ffff64dd060 <deflt_signature+192>)
    at crypto/core_algorithm.c:195
#4  0x00007ffff5e71de0 in evp_signature_from_algorithm (name_id=186, algodef=0x7ffff64dd060 <deflt_signature+192>, prov=<optimized out>)
    at crypto/evp/signature.c:55
#5  0x00007ffff5e220cf in construct_evp_method (algodef=0x7ffff64dd060 <deflt_signature+192>, prov=0x611000000540, data=0x7fffffffd2f0)
    at crypto/evp/evp_fetch.c:220
#6  0x00007ffff5ea5cda in ossl_method_construct_this (provider=0x611000000540, algo=0x7ffff64dd060 <deflt_signature+192>,
    no_store=<optimized out>, cbdata=0x7fffffffd130) at crypto/core_fetch.c:109
#7  0x00007ffff5ea51b2 in algorithm_do_map (cbdata=0x7fffffffd020, no_store=0, cur_operation=12, map=0x7ffff64dcfa0 <deflt_signature>,
    provider=0x611000000540) at crypto/core_algorithm.c:77
#8  algorithm_do_this (provider=0x611000000540, cbdata=0x7fffffffd020) at crypto/core_algorithm.c:122
#9  0x00007ffff5ee8f97 in ossl_provider_doall_activated (ctx=ctx@entry=0x0, cb=cb@entry=0x7ffff5ea4d90 <algorithm_do_this>,
    cbdata=cbdata@entry=0x7fffffffd020) at crypto/provider_core.c:1460
#10 0x00007ffff5ea56fa in ossl_algorithm_do_all (libctx=0x0, operation_id=<optimized out>, provider=<optimized out>,
    pre=pre@entry=0x7ffff5ea6090 <ossl_method_construct_precondition>,
    reserve_store=reserve_store@entry=0x7ffff5ea5850 <ossl_method_construct_reserve_store>,
    fn=fn@entry=0x7ffff5ea5c20 <ossl_method_construct_this>, unreserve_store=<optimized out>, post=<optimized out>, data=<optimized out>)
    at crypto/core_algorithm.c:162
#11 0x00007ffff5ea6365 in ossl_method_construct (libctx=<optimized out>, operation_id=operation_id@entry=12,
    provider_rw=provider_rw@entry=0x7fffffffd250, force_store=force_store@entry=0, mcm=mcm@entry=0x7fffffffd290,
    mcm_data=mcm_data@entry=0x7fffffffd2f0) at crypto/core_fetch.c:153
#12 0x00007ffff5e23023 in inner_evp_generic_fetch (free_method=0x7ffff5e71a80 <EVP_SIGNATURE_free>,
    up_ref_method=0x7ffff5e718e0 <EVP_SIGNATURE_up_ref>, new_method=<optimized out>, properties=0x0, name=0x7ffff7415960 "DSA",
    operation_id=12, prov=<optimized out>, methdata=0x7fffffffd2f0) at crypto/evp/evp_fetch.c:313
#13 evp_generic_fetch (libctx=<optimized out>, operation_id=operation_id@entry=12, name=name@entry=0x7ffff7415960 "DSA",
    properties=<optimized out>, new_method=new_method@entry=0x7ffff5e71cc0 <evp_signature_from_algorithm>,
    up_ref_method=up_ref_method@entry=0x7ffff5e718e0 <EVP_SIGNATURE_up_ref>, free_method=<optimized out>) at crypto/evp/evp_fetch.c:365
#14 0x00007ffff5e7347c in EVP_SIGNATURE_fetch (ctx=<optimized out>, algorithm=algorithm@entry=0x7ffff7415960 "DSA",
    properties=<optimized out>) at crypto/evp/signature.c:307
#15 0x00007ffff722c0e0 in ssl_load_ciphers (ctx=ctx@entry=0x61c000000080) at ssl/ssl_ciph.c:364
#16 0x00007ffff72657ff in SSL_CTX_new_ex (libctx=libctx@entry=0x0, propq=propq@entry=0x0, meth=0x7ffff74787a0 <TLS_method_data.24>)
    at ssl/ssl_lib.c:3898
#17 0x00007ffff72661fc in SSL_CTX_new (meth=<optimized out>) at ssl/ssl_lib.c:4084
#18 0x0000000000402de5 in FuzzerTestOneInput (buf=buf@entry=0x629000000200 "\026\003\003\002\023\002", len=16931) at fuzz/client.c:67
#19 0x00000000004036e2 in testfile (pathname=<optimized out>) at fuzz/test-corpus.c:185
#20 0x00000000004029e2 in main (argc=<optimized out>, argv=<optimized out>) at fuzz/test-corpus.c:229
(gdb) frame 5
#5  0x00007ffff5e220cf in construct_evp_method (algodef=0x7ffff64dd060 <deflt_signature+192>, prov=0x611000000540, data=0x7fffffffd2f0)
    at crypto/evp/evp_fetch.c:220
220	    method = methdata->method_from_algorithm(name_id, algodef, prov);
(gdb) p *algodef
$8 = {algorithm_names = 0x7ffff63bc020 "HMAC", property_definition = 0x7ffff63bb860 "provider=default",
  implementation = 0x7ffff64c6de0 <ossl_mac_legacy_hmac_signature_functions>, algorithm_description = 0x0}
(gdb) list
215	    void *method;
216
217	    if (name_id == 0)
218	        return NULL;
219
220	    method = methdata->method_from_algorithm(name_id, algodef, prov);
221
222	    /*
223	     * Flag to indicate that there was actual construction errors.  This
224	     * helps inner_evp_generic_fetch() determine what error it should
(gdb)
225	     * record on inaccessible algorithms.
226	     */
227	    if (method == NULL)
228	        methdata->flag_construct_error_occurred = 1;
229
230	    return method;
231	}

The code executes the methdata->flag_construct_error_occurred = 1; statement.
But the ssl_load_ciphers function succeeds regardless of this error.

Thanks. That was enough for me to track this down. Fix in #21753.

After several iterations a new error occurred here: https://github.com/openssl/openssl/actions/runs/5900225494
2023-08-18T20:53:12.7242023Z ERROR_INJECT=1691784723 ../util/shlib_wrap.sh ./decoder-test ./corpora/decoder/4dec6c4859b19494e07df2278ced2253d69c77d6
2023-08-18T20:53:12.7242690Z log file: decoder-4dec6c4859b19494e07df2278ced2253d69c77d6-23114-test.out
2023-08-18T20:53:12.7254068Z ERROR_INJECT=1691784723
2023-08-18T20:53:12.7254443Z # ./corpora/decoder/4dec6c4859b19494e07df2278ced2253d69c77d6
2023-08-18T20:53:12.7254899Z     #0 0x7f524e43af18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
2023-08-18T20:53:12.7255389Z     #1 0x5580541322d4 in my_malloc fuzz/test-corpus.c:117
2023-08-18T20:53:12.7255754Z     #2 0x7f524d2ef39c in CRYPTO_malloc crypto/mem.c:177
2023-08-18T20:53:12.7256174Z     #3 0x7f524d1b9200 in ossl_encoder_ctx_setup_for_pkey crypto/encode_decode/encoder_pkey.c:286
2023-08-18T20:53:12.7256639Z     #4 0x7f524d1b9200 in OSSL_ENCODER_CTX_new_for_pkey crypto/encode_decode/encoder_pkey.c:381
2023-08-18T20:53:12.7257045Z     #5 0x7f524d28bb16 in print_pkey crypto/evp/p_lib.c:1171
2023-08-18T20:53:12.7257437Z     #6 0x7f524d28bb16 in EVP_PKEY_print_private crypto/evp/p_lib.c:1202
2023-08-18T20:53:12.7257829Z     #7 0x55805413145f in FuzzerTestOneInput fuzz/decoder.c:58
2023-08-18T20:53:12.7258582Z     #8 0x558054131dd1 in testfile fuzz/test-corpus.c:185
2023-08-18T20:53:12.7259025Z     #9 0x558054130fbf in main fuzz/test-corpus.c:229
2023-08-18T20:53:12.7259504Z     #10 0x7f524bc86d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-18T20:53:12.7260124Z     #11 0x7f524bc86e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
2023-08-18T20:53:12.7260652Z     #12 0x558054131164 in _start (/home/runner/work/openssl/openssl/fuzz/decoder-test+0x5164)
2023-08-18T20:53:12.7261254Z
2023-08-18T20:53:12.7261333Z
2023-08-18T20:53:12.7261501Z =================================================================
2023-08-18T20:53:12.7261841Z ==114730==ERROR: LeakSanitizer: detected memory leaks
2023-08-18T20:53:12.7262079Z
2023-08-18T20:53:12.7262280Z Direct leak of 32 byte(s) in 1 object(s) allocated from:
2023-08-18T20:53:12.7262704Z     #0 0x7f524e42e887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-18T20:53:12.7263112Z     #1 0x7f524d2ef39c in CRYPTO_malloc crypto/mem.c:177
2023-08-18T20:53:12.7263462Z     #2 0x7f524d2ef5d5 in CRYPTO_zalloc crypto/mem.c:216
2023-08-18T20:53:12.7264008Z     #3 0x7f524d524252 in OPENSSL_sk_new_reserve crypto/stack/stack.c:228
2023-08-18T20:53:12.7264438Z     #4 0x7f524d1b8f23 in ossl_encoder_ctx_setup_for_pkey crypto/encode_decode/encoder_pkey.c:257
2023-08-18T20:53:12.7264884Z     #5 0x7f524d1b8f23 in OSSL_ENCODER_CTX_new_for_pkey crypto/encode_decode/encoder_pkey.c:381
2023-08-18T20:53:12.7265282Z     #6 0x7f524d28bb16 in print_pkey crypto/evp/p_lib.c:1171
2023-08-18T20:53:12.7265672Z     #7 0x7f524d28bb16 in EVP_PKEY_print_private crypto/evp/p_lib.c:1202
2023-08-18T20:53:12.7266063Z     #8 0x55805413145f in FuzzerTestOneInput fuzz/decoder.c:58
2023-08-18T20:53:12.7266498Z     #9 0x558054131dd1 in testfile fuzz/test-corpus.c:185
2023-08-18T20:53:12.7266907Z     #10 0x558054130fbf in main fuzz/test-corpus.c:229
2023-08-18T20:53:12.7267351Z     #11 0x7f524bc86d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-18T20:53:12.7267595Z
2023-08-18T20:53:12.7267808Z Indirect leak of 32 byte(s) in 1 object(s) allocated from:
2023-08-18T20:53:12.7268235Z     #0 0x7f524e42e887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
2023-08-18T20:53:12.7268635Z     #1 0x7f524d2ef39c in CRYPTO_malloc crypto/mem.c:177
2023-08-18T20:53:12.7268987Z     #2 0x7f524d2ef5d5 in CRYPTO_zalloc crypto/mem.c:216
2023-08-18T20:53:12.7269343Z     #3 0x7f524d5217f2 in sk_reserve crypto/stack/stack.c:199
2023-08-18T20:53:12.7269845Z     #4 0x7f524d5217f2 in OPENSSL_sk_insert crypto/stack/stack.c:269
2023-08-18T20:53:12.7270249Z     #5 0x7f524d1b8803 in collect_name crypto/encode_decode/encoder_pkey.c:145
2023-08-18T20:53:12.7270660Z     #6 0x7f524d1b8803 in collect_name crypto/encode_decode/encoder_pkey.c:136
2023-08-18T20:53:12.7271054Z     #7 0x7f524d2e598d in ossl_namemap_doall_names crypto/core_namemap.c:166
2023-08-18T20:53:12.7271488Z     #8 0x7f524d1b8fc1 in ossl_encoder_ctx_setup_for_pkey crypto/encode_decode/encoder_pkey.c:264
2023-08-18T20:53:12.7271946Z     #9 0x7f524d1b8fc1 in OSSL_ENCODER_CTX_new_for_pkey crypto/encode_decode/encoder_pkey.c:381
2023-08-18T20:53:12.7272367Z     #10 0x7f524d28bb16 in print_pkey crypto/evp/p_lib.c:1171
2023-08-18T20:53:12.7272758Z     #11 0x7f524d28bb16 in EVP_PKEY_print_private crypto/evp/p_lib.c:1202
2023-08-18T20:53:12.7273150Z     #12 0x55805413145f in FuzzerTestOneInput fuzz/decoder.c:58
2023-08-18T20:53:12.7273587Z     #13 0x558054131dd1 in testfile fuzz/test-corpus.c:185
2023-08-18T20:53:12.7273998Z     #14 0x558054130fbf in main fuzz/test-corpus.c:229
2023-08-18T20:53:12.7274435Z     #15 0x7f524bc86d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
2023-08-18T20:53:12.7274680Z
2023-08-18T20:53:12.7274898Z SUMMARY: AddressSanitizer: 64 byte(s) leaked in 2 allocation(s).
2023-08-18T20:53:17.7262471Z ##[error]Process completed with exit code 1.

This looks very similar to what happened in the 3.1 version in #21721

The corpus is generated assuming all the allocations work. It seems unlikely that we take various branches based on the input file after allocation falls. If we do, that seems like a bug. So I currently also don't see why we would need to modify the corpus file to inject the errors.
What might be the case is that after the fixes, depending on the change, the corpus needs updating, but that also seems unlikely.

Fix for the latest issue in #21796

but due to the ignored memory allocation error, we now have a unique
setup with just one crypto algorithm missing. And the fuzzing vector has
not yet been examined at all at this point. Why can't that possibly
make a different code path being taken that was not anticipated?

It absolutely could, and that might cause us to encounter an error. But I don't see why that justifies corrupting the fuzzing vector? The point of the fuzzing vector is to give us a route through the code which is hopefully slightly different to the route we have travelled with other fuzzing vectors. We then inject an allocation failure somewhere along that route and see if it causes a problem. Clearly the allocation failure itself may change the route - and that is part of the point of the test.
But arbitrarily changing the route through the code by injecting errors into the fuzzing vector itself seems counter-productive. That's not changing the route as a result of an allocation failure. That's just changing the route for the sake of it - presumably trying to out-guess the fuzzer. This doesn't seem like a good idea.
Aside: This discussion does make me wonder whether we could put the allocation failures entirely under the control of the fuzzer. E.g. make the first 32 or 64 bits of the fuzzing vector represent an allocation number, and cause that allocation number to fail. 0 means no allocation failure. That would remove the randomness element entirely from this approach and we just let the fuzzer find interesting failures. If we think multiple allocation failures is an interesting case, then we could use the first 2 or three 32/64 bits values for this.

Aside: This discussion does make me wonder whether we could put the allocation failures entirely under the control of the fuzzer. E.g. make the first 32 or 64 bits of the fuzzing vector represent an allocation number, and cause that allocation number to fail. 0 means no allocation failure. That would remove the randomness element entirely from this approach and we just let the fuzzer find interesting failures. If we think multiple allocation failures is an interesting case, then we could use the first 2 or three 32/64 bits values for this.

No, that is a bit too volatile, even small code changes change the exact allocation scheme,
so that cannot be predicted by the fuzzer, and kept stable for a long time.
But what I generally do not understand is that since the code is often fundamentally different
between development and release branches how can a set of test vectors that execute
all branches in all combinations on master be guaranteed to do the same on 3.1, 3.0, and 1.1.1 ?
Would'nt it be necessary for the fuzzer to have different test vectors for each version, as they
can be different?

I can make sure it's a combination of the multiple branches. But as far as I know, in general there is not much difference in the corpus even when code changes.

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

Can you run this with the new quic-client fuzzer?

ok, simple close/open should make it pick up the new fuzzer.

ok, done.
View results: https://github.com/openssl/openssl/actions/runs/6666081565:
Fri Oct 27 10:55:55 UTC 2023: error detected
ERROR_INJECT=1698480282 ../util/shlib_wrap.sh ./quic-client-test ./corpora/quic-client/110a7adc1a95320fc53ab9e85d985c035473f4d5
log file: quic-client-110a7adc1a95320fc53ab9e85d985c035473f4d5-23432-test.out
ERROR_INJECT=1698480282
# ./corpora/quic-client/110a7adc1a95320fc53ab9e85d985c035473f4d5
    #0 0x7f7a240c0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x5619431ba434 in my_realloc fuzz/test-corpus.c:132
    #2 0x5619434fac80 in ERR_vset_error crypto/err/err_blocks.c:84
    #3 0x5619434fb719 in ERR_set_error crypto/err/err_blocks.c:45
    #4 0x56194351a3fa in inner_evp_generic_fetch crypto/evp/evp_fetch.c:342
    #5 0x56194351a3fa in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #6 0x561943514f31 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #7 0x5619431f79c2 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #8 0x5619431c9544 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #9 0x5619431fd502 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #10 0x5619431fd502 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #11 0x5619431b9094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #12 0x5619431b9fb1 in testfile fuzz/test-corpus.c:185
    #13 0x5619431aec4f in main fuzz/test-corpus.c:229
    #14 0x7f7a23429d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #15 0x7f7a23429e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #16 0x5619431b8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabb944)

    #0 0x7f7a240c0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x5619431ba4b4 in my_malloc fuzz/test-corpus.c:117
    #2 0x561943579edc in CRYPTO_malloc crypto/mem.c:183
    #3 0x56194357a115 in CRYPTO_zalloc crypto/mem.c:222
    #4 0x56194356b03b in OPENSSL_LH_new crypto/lhash/lhash.c:53
    #5 0x5619433ab54c in lh_OSSL_ACKM_TX_PKT_new ssl/quic/quic_ackm.c:59
    #6 0x5619433ab54c in tx_pkt_history_init ssl/quic/quic_ackm.c:84
    #7 0x5619433ab54c in ossl_ackm_new ssl/quic/quic_ackm.c:1036
    #8 0x561943344920 in ch_init ssl/quic/quic_channel.c:349
    #9 0x561943345d53 in ossl_quic_channel_new ssl/quic/quic_channel.c:559
    #10 0x56194323767f in create_channel ssl/quic/quic_impl.c:1501
    #11 0x56194323767f in ossl_quic_new ssl/quic/quic_impl.c:432
    #12 0x5619431b90a4 in FuzzerTestOneInput fuzz/quic-client.c:64
    #13 0x5619431b9fb1 in testfile fuzz/test-corpus.c:185
    #14 0x5619431aec4f in main fuzz/test-corpus.c:229
    #15 0x7f7a23429d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #16 0x7f7a23429e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #17 0x5619431b8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabb944)

ssl/quic/quic_tls.c:657:5: runtime error: member access within null pointer of type 'struct QUIC_TLS'
    #0 0x561943377c2f in ossl_quic_tls_free ssl/quic/quic_tls.c:657
    #1 0x561943341881 in ch_cleanup ssl/quic/quic_channel.c:524
    #2 0x56194334451f in ch_init ssl/quic/quic_channel.c:488
    #3 0x561943345d53 in ossl_quic_channel_new ssl/quic/quic_channel.c:559
    #4 0x56194323767f in create_channel ssl/quic/quic_impl.c:1501
    #5 0x56194323767f in ossl_quic_new ssl/quic/quic_impl.c:432
    #6 0x5619431b90a4 in FuzzerTestOneInput fuzz/quic-client.c:64
    #7 0x5619431b9fb1 in testfile fuzz/test-corpus.c:185
    #8 0x5619431aec4f in main fuzz/test-corpus.c:229
    #9 0x7f7a23429d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: a43bfc8428df6623cd498c9c0caeb91aec9be4f9)
    #10 0x7f7a23429e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f) (BuildId: a43bfc8428df6623cd498c9c0caeb91aec9be4f9)
    #11 0x5619431b8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabb944) (BuildId: 5941ae493a632a10b97e25d9aad255d9431bfc9f)

Error: Process completed with exit code 1.

Fix for that in #22536

#22536 was merged...

So the log at https://github.com/openssl/openssl/actions/runs/6705970584/job/18221487067?pr=21668 found at least:
ERROR_INJECT=1699408426 ../util/shlib_wrap.sh ./quic-client-test ./corpora/quic-client/0c141e5ecc784cda8410bcf9b7f5bca19cb8990d
log file: quic-client-0c141e5ecc784cda8410bcf9b7f5bca19cb8990d-23388-test.out
ERROR_INJECT=1699408426
# ./corpora/quic-client/0c141e5ecc784cda8410bcf9b7f5bca19cb8990d
    #0 0x7fa652ac0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x55abcdda9434 in my_realloc fuzz/test-corpus.c:132
    #2 0x55abce005de5 in BUF_MEM_grow crypto/buffer/buffer.c:95
    #3 0x55abce16dc0a in WPACKET_reserve_bytes crypto/packet.c:68
    #4 0x55abce16dd65 in WPACKET_allocate_bytes crypto/packet.c:21
    #5 0x55abce170d51 in WPACKET_quic_write_vlint crypto/packet.c:583
    #6 0x55abcdf7c271 in ossl_quic_wire_encode_transport_param_bytes ssl/quic/quic_wire.c:402
    #7 0x55abcdf2f29e in ch_generate_transport_params ssl/quic/quic_channel.c:1755
    #8 0x55abcdf349bf in ch_init ssl/quic/quic_channel.c:479
    #9 0x55abcdf35103 in ossl_quic_channel_new ssl/quic/quic_channel.c:559
    #10 0x55abcde2667f in create_channel ssl/quic/quic_impl.c:1501
    #11 0x55abcde2667f in ossl_quic_new ssl/quic/quic_impl.c:432
    #12 0x55abcdda80a4 in FuzzerTestOneInput fuzz/quic-client.c:64
    #13 0x55abcdda8fb1 in testfile fuzz/test-corpus.c:185
    #14 0x55abcdd9dc4f in main fuzz/test-corpus.c:229
    #15 0x7fa651e29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #16 0x7fa651e29e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #17 0x55abcdda7944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabb944)
=================================================================
==108426==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 1696 byte(s) in 1 object(s) allocated from:
    #0 0x7fa652ab4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55abce168e1c in CRYPTO_malloc crypto/mem.c:183
    #2 0x55abce169055 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x55abcddec1a0 in SSL_CTX_new_ex ssl/ssl_lib.c:3858
    #4 0x55abcddec1a0 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #5 0x55abcdda8094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #6 0x55abcdda8fb1 in testfile fuzz/test-corpus.c:185
    #7 0x55abcdd9dc4f in main fuzz/test-corpus.c:229
    #8 0x7fa651e29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x7fa652ab4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55abce168e1c in CRYPTO_malloc crypto/mem.c:183
    #2 0x55abce169055 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x55abce18fb0b in CRYPTO_THREAD_lock_new crypto/threads_pthread.c:50
    #4 0x55abcddd4b66 in ossl_ssl_init ssl/ssl_lib.c:714
    #5 0x55abcde260c1 in ossl_quic_new ssl/quic/quic_impl.c:390
    #6 0x55abcdda80a4 in FuzzerTestOneInput fuzz/quic-client.c:64
    #7 0x55abcdda8fb1 in testfile fuzz/test-corpus.c:185
    #8 0x55abcdd9dc4f in main fuzz/test-corpus.c:229
    #9 0x7fa651e29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7fa652ab4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55abce168e1c in CRYPTO_malloc crypto/mem.c:183
    #2 0x55abce169055 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x55abce201b14 in ossl_crypto_mutex_new crypto/thread/arch/thread_posix.c:100
    #4 0x55abcde26202 in ossl_quic_new ssl/quic/quic_impl.c:410
    #5 0x55abcdda80a4 in FuzzerTestOneInput fuzz/quic-client.c:64
    #6 0x55abcdda8fb1 in testfile fuzz/test-corpus.c:185
    #7 0x55abcdd9dc4f in main fuzz/test-corpus.c:229
    #8 0x7fa651e29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
Indirect leak of 3360 byte(s) in 1 object(s) allocated from:
[...]

So the log at https://github.com/openssl/openssl/actions/runs/6705970584/job/18221487067?pr=21668 found at least:

Fix in https://github.com/openssl/openssl/pull/22572

New error in https://github.com/openssl/openssl/actions/runs/6734599786/job/18305859563?pr=21668
Thu Nov 2 15:43:09 UTC 2023: running quic-client
Thu Nov 2 15:43:31 UTC 2023: error detected
ERROR_INJECT=1699247407 ../util/shlib_wrap.sh ./quic-client-test ./corpora/quic-client/7cb9d7694394e08ec3a45ee1beb0d099d4c0f6bb
log file: quic-client-7cb9d7694394e08ec3a45ee1beb0d099d4c0f6bb-23374-test.out
ERROR_INJECT=1699247407
# ./corpora/quic-client/7cb9d7694394e08ec3a45ee1beb0d099d4c0f6bb
    #0 0x7fe0afec0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x55eeec6fa4b4 in my_malloc fuzz/test-corpus.c:117
    #2 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #3 0x55eeecabc783 in CRYPTO_strdup crypto/o_str.c:27
    #4 0x55eeecab1a6f in namemap_add_name crypto/core_namemap.c:260
    #5 0x55eeecab352d in ossl_namemap_add_name crypto/core_namemap.c:292
    #6 0x55eeecab3969 in get_legacy_evp_names crypto/core_namemap.c:396
    #7 0x55eeecab3969 in get_legacy_cipher_names crypto/core_namemap.c:414
    #8 0x55eeecaac2cf in doall_util_fn crypto/lhash/lhash.c:189
    #9 0x55eeecaac2cf in OPENSSL_LH_doall_arg crypto/lhash/lhash.c:204
    #10 0x55eeecae2da8 in lh_OBJ_NAME_doall_OBJ_DOALL crypto/objects/o_names.c:289
    #11 0x55eeecae2da8 in OBJ_NAME_do_all crypto/objects/o_names.c:300
    #12 0x55eeecab2d87 in ossl_namemap_stored crypto/core_namemap.c:497
    #13 0x55eeeca5950f in inner_evp_generic_fetch crypto/evp/evp_fetch.c:251
    #14 0x55eeeca5950f in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #15 0x55eeeca54611 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #16 0x55eeec737a02 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #17 0x55eeec709584 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #18 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #19 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #20 0x55eeec6f9094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #21 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #22 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #23 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #24 0x7fe0af229e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #25 0x55eeec6f8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xaba944)

    #0 0x7fe0afec0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x55eeec6fa4b4 in my_malloc fuzz/test-corpus.c:117
    #2 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #3 0x55eeecab97d5 in CRYPTO_zalloc crypto/mem.c:222
    #4 0x55eeecab1a53 in namemap_add_name crypto/core_namemap.c:257
    #5 0x55eeecab352d in ossl_namemap_add_name crypto/core_namemap.c:292
    #6 0x55eeecab3985 in get_legacy_evp_names crypto/core_namemap.c:397
    #7 0x55eeecab3985 in get_legacy_cipher_names crypto/core_namemap.c:414
    #8 0x55eeecaac2cf in doall_util_fn crypto/lhash/lhash.c:189
    #9 0x55eeecaac2cf in OPENSSL_LH_doall_arg crypto/lhash/lhash.c:204
    #10 0x55eeecae2da8 in lh_OBJ_NAME_doall_OBJ_DOALL crypto/objects/o_names.c:289
    #11 0x55eeecae2da8 in OBJ_NAME_do_all crypto/objects/o_names.c:300
    #12 0x55eeecab2d87 in ossl_namemap_stored crypto/core_namemap.c:497
    #13 0x55eeeca5950f in inner_evp_generic_fetch crypto/evp/evp_fetch.c:251
    #14 0x55eeeca5950f in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #15 0x55eeeca54611 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #16 0x55eeec737a02 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #17 0x55eeec709584 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #18 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #19 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #20 0x55eeec6f9094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #21 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #22 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #23 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #24 0x7fe0af229e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #25 0x55eeec6f8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xaba944)

    #0 0x7fe0afec0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x55eeec6fa4b4 in my_malloc fuzz/test-corpus.c:117
    #2 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #3 0x55eeecabc783 in CRYPTO_strdup crypto/o_str.c:27
    #4 0x55eeecadb4d2 in provider_new crypto/provider_core.c:466
    #5 0x55eeecadca94 in provider_activate_fallbacks crypto/provider_core.c:1366
    #6 0x55eeecadce7d in ossl_provider_doall_activated crypto/provider_core.c:1421
    #7 0x55eeecab0621 in ossl_algorithm_do_all crypto/core_algorithm.c:162
    #8 0x55eeecab12f1 in ossl_method_construct crypto/core_fetch.c:153
    #9 0x55eeeca59861 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
    #10 0x55eeeca59861 in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #11 0x55eeeca54611 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #12 0x55eeec737a02 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #13 0x55eeec709584 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #14 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #15 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #16 0x55eeec6f9094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #17 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #18 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #19 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #20 0x7fe0af229e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #21 0x55eeec6f8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xaba944)

    #0 0x7fe0afec0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x55eeec6fa4b4 in my_malloc fuzz/test-corpus.c:117
    #2 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #3 0x55eeecabc8e7 in CRYPTO_strndup crypto/o_str.c:43
    #4 0x55eeecab3413 in ossl_namemap_name2num_n crypto/core_namemap.c:211
    #5 0x55eeeca591ef in put_evp_method_in_store crypto/evp/evp_fetch.c:183
    #6 0x55eeecab0a6f in ossl_method_construct_this crypto/core_fetch.c:123
    #7 0x55eeecab0090 in algorithm_do_map crypto/core_algorithm.c:77
    #8 0x55eeecab0090 in algorithm_do_this crypto/core_algorithm.c:122
    #9 0x55eeecadd23e in ossl_provider_doall_activated crypto/provider_core.c:1481
    #10 0x55eeecab0621 in ossl_algorithm_do_all crypto/core_algorithm.c:162
    #11 0x55eeecab12f1 in ossl_method_construct crypto/core_fetch.c:153
    #12 0x55eeeca59861 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
    #13 0x55eeeca59861 in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #14 0x55eeeca54611 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #15 0x55eeec737a02 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #16 0x55eeec709584 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #17 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #18 0x55eeec73d542 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #19 0x55eeec6f9094 in FuzzerTestOneInput fuzz/quic-client.c:60
    #20 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #21 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #22 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #23 0x7fe0af229e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #24 0x55eeec6f8944 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xaba944)

=================================================================
==109547==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 184 byte(s) in 1 object(s) allocated from:
    #0 0x7fe0afeb4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #2 0x55eeecab97d5 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x55eeeca4d92d in EVP_CIPHER_CTX_new crypto/evp/evp_enc.c:76
    #4 0x55eeec8a49fe in el_setup_keyslot ssl/quic/quic_record_shared.c:164
    #5 0x55eeec8a630f in ossl_qrl_enc_level_set_provide_secret ssl/quic/quic_record_shared.c:275
    #6 0x55eeec89d934 in ossl_qrx_provide_secret ssl/quic/quic_record_rx.c:294
    #7 0x55eeec8ae12e in ossl_quic_provide_initial_secret ssl/quic/quic_record_util.c:138
    #8 0x55eeec88dfb8 in ossl_quic_channel_start ssl/quic/quic_channel.c:2774
    #9 0x55eeec7734fa in ensure_channel_started ssl/quic/quic_impl.c:1525
    #10 0x55eeec7734fa in quic_do_handshake ssl/quic/quic_impl.c:1650
    #11 0x55eeec783382 in ossl_quic_do_handshake ssl/quic/quic_impl.c:1733
    #12 0x55eeec727ae6 in SSL_do_handshake ssl/ssl_lib.c:4710
    #13 0x55eeec6f96c6 in FuzzerTestOneInput fuzz/quic-client.c:116
    #14 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #15 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #16 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

Indirect leak of 960 byte(s) in 1 object(s) allocated from:
    #0 0x7fe0afeb4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55eeecab959c in CRYPTO_malloc crypto/mem.c:183
    #2 0x55eeecab97d5 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x55eeecbea20d in aes_gcm_newctx providers/implementations/ciphers/cipher_aes_gcm.c:30
    #4 0x55eeecbea20d in aes128gcm_newctx providers/implementations/ciphers/cipher_aes_gcm.c:61
    #5 0x55eeeca56fe5 in evp_cipher_init_internal crypto/evp/evp_enc.c:220
    #6 0x55eeeca577f2 in EVP_CipherInit_ex crypto/evp/evp_enc.c:462
    #7 0x55eeec8a4a97 in el_setup_keyslot ssl/quic/quic_record_shared.c:176
    #8 0x55eeec8a630f in ossl_qrl_enc_level_set_provide_secret ssl/quic/quic_record_shared.c:275
    #9 0x55eeec89d934 in ossl_qrx_provide_secret ssl/quic/quic_record_rx.c:294
    #10 0x55eeec8ae12e in ossl_quic_provide_initial_secret ssl/quic/quic_record_util.c:138
    #11 0x55eeec88dfb8 in ossl_quic_channel_start ssl/quic/quic_channel.c:2774
    #12 0x55eeec7734fa in ensure_channel_started ssl/quic/quic_impl.c:1525
    #13 0x55eeec7734fa in quic_do_handshake ssl/quic/quic_impl.c:1650
    #14 0x55eeec783382 in ossl_quic_do_handshake ssl/quic/quic_impl.c:1733
    #15 0x55eeec727ae6 in SSL_do_handshake ssl/ssl_lib.c:4710
    #16 0x55eeec6f96c6 in FuzzerTestOneInput fuzz/quic-client.c:116
    #17 0x55eeec6f9fb1 in testfile fuzz/test-corpus.c:185
    #18 0x55eeec6eec4f in main fuzz/test-corpus.c:229
    #19 0x7fe0af229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

Possible fix for that in #22600

Now we get:
ERROR_INJECT=1698702218 ../util/shlib_wrap.sh ./quic-client-test ./corpora/quic-client/10d1fd4c9d568c96129bff1d0ede6175a51ba85a
log file: quic-client-10d1fd4c9d568c96129bff1d0ede6175a51ba85a-23239-test.out
ERROR_INJECT=1698702218
    #0 0x7f5f4f8c0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x5651df094974 in my_realloc fuzz/test-corpus.c:132
    #2 0x5651df4459f6 in expand crypto/lhash/lhash.c:218
    #3 0x5651df4459f6 in OPENSSL_LH_insert crypto/lhash/lhash.c:108
    #4 0x5651df47cf22 in lh_OBJ_NAME_insert crypto/objects/obj_local.h:12
    #5 0x5651df47cf22 in OBJ_NAME_add crypto/objects/o_names.c:213
    #6 0x5651df7cf1b6 in openssl_add_all_ciphers_int crypto/evp/c_allc.c:194
    #7 0x5651df451f2c in ossl_init_add_all_ciphers crypto/init.c:218
    #8 0x5651df451f2c in ossl_init_add_all_ciphers_ossl_ crypto/init.c:210
    #9 0x7f5f4ec99ee7  (/lib/x86_64-linux-gnu/libc.so.6+0x99ee7)
    #10 0x5651df47abae in CRYPTO_THREAD_run_once crypto/threads_pthread.c:152
    #11 0x5651df452728 in OPENSSL_init_crypto crypto/init.c:569
    #12 0x5651df0abab6 in OPENSSL_init_ssl ssl/ssl_init.c:115
    #13 0x5651df092f34 in FuzzerInitialize fuzz/quic-client.c:35
    #14 0x5651df088863 in main fuzz/test-corpus.c:197
    #15 0x7f5f4ec29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #16 0x7f5f4ec29e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #17 0x5651df092994 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabc994)

# ./corpora/quic-client/10d1fd4c9d568c96129bff1d0ede6175a51ba85a
    #0 0x7f5f4f8c0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x5651df0949f4 in my_malloc fuzz/test-corpus.c:117
    #2 0x5651df453e3c in CRYPTO_malloc crypto/mem.c:183
    #3 0x5651df454075 in CRYPTO_zalloc crypto/mem.c:222
    #4 0x5651df4df312 in OPENSSL_sk_new_reserve crypto/stack/stack.c:228
    #5 0x5651df493886 in sk_IMPLEMENTATION_new_null crypto/property/property.c:47
    #6 0x5651df493886 in ossl_method_store_add crypto/property/property.c:340
    #7 0x5651df3f3b5a in put_evp_method_in_store crypto/evp/evp_fetch.c:191
    #8 0x5651df44b30f in ossl_method_construct_this crypto/core_fetch.c:123
    #9 0x5651df44a930 in algorithm_do_map crypto/core_algorithm.c:77
    #10 0x5651df44a930 in algorithm_do_this crypto/core_algorithm.c:122
    #11 0x5651df477ade in ossl_provider_doall_activated crypto/provider_core.c:1481
    #12 0x5651df44aec1 in ossl_algorithm_do_all crypto/core_algorithm.c:162
    #13 0x5651df44bb91 in ossl_method_construct crypto/core_fetch.c:153
    #14 0x5651df3f4101 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
    #15 0x5651df3f4101 in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #16 0x5651df3eeeb1 in EVP_CIPHER_fetch crypto/evp/evp_enc.c:1717
    #17 0x5651df0d1f42 in ssl_evp_cipher_fetch ssl/ssl_lib.c:7174
    #18 0x5651df0a3ac4 in ssl_load_ciphers ssl/ssl_ciph.c:333
    #19 0x5651df0d7a82 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #20 0x5651df0d7a82 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #21 0x5651df093174 in FuzzerTestOneInput fuzz/quic-client.c:72
    #22 0x5651df0944f1 in testfile fuzz/test-corpus.c:185
    #23 0x5651df088c6f in main fuzz/test-corpus.c:229
    #24 0x7f5f4ec29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #25 0x7f5f4ec29e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #26 0x5651df092994 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabc994)

    #0 0x7f5f4f8c0f18 in __sanitizer_print_stack_trace ../../../../src/libsanitizer/asan/asan_stack.cpp:86
    #1 0x5651df094974 in my_realloc fuzz/test-corpus.c:132
    #2 0x5651df478790 in ossl_provider_set_operation_bit crypto/provider_core.c:1686
    #3 0x5651df44b817 in ossl_method_construct_postcondition crypto/core_fetch.c:99
    #4 0x5651df44a9cb in algorithm_do_map crypto/core_algorithm.c:84
    #5 0x5651df44a9cb in algorithm_do_this crypto/core_algorithm.c:122
    #6 0x5651df477ade in ossl_provider_doall_activated crypto/provider_core.c:1481
    #7 0x5651df44aec1 in ossl_algorithm_do_all crypto/core_algorithm.c:162
    #8 0x5651df44bb91 in ossl_method_construct crypto/core_fetch.c:153
    #9 0x5651df3f4101 in inner_evp_generic_fetch crypto/evp/evp_fetch.c:313
    #10 0x5651df3f4101 in evp_generic_fetch crypto/evp/evp_fetch.c:365
    #11 0x5651df43becf in EVP_SIGNATURE_fetch crypto/evp/signature.c:307
    #12 0x5651df0a3e50 in ssl_load_ciphers ssl/ssl_ciph.c:364
    #13 0x5651df0d7a82 in SSL_CTX_new_ex ssl/ssl_lib.c:3919
    #14 0x5651df0d7a82 in SSL_CTX_new_ex ssl/ssl_lib.c:3836
    #15 0x5651df093174 in FuzzerTestOneInput fuzz/quic-client.c:72
    #16 0x5651df0944f1 in testfile fuzz/test-corpus.c:185
    #17 0x5651df088c6f in main fuzz/test-corpus.c:229
    #18 0x7f5f4ec29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #19 0x7f5f4ec29e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #20 0x5651df092994 in _start (/home/runner/work/openssl/openssl/fuzz/quic-client-test+0xabc994)

=================================================================
==108434==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 184 byte(s) in 1 object(s) allocated from:
    #0 0x7f5f4f8b4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x5651df453e3c in CRYPTO_malloc crypto/mem.c:183
    #2 0x5651df454075 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x5651df3e81cd in EVP_CIPHER_CTX_new crypto/evp/evp_enc.c:76
    #4 0x5651df23ef0e in el_setup_keyslot ssl/quic/quic_record_shared.c:164
    #5 0x5651df24081f in ossl_qrl_enc_level_set_provide_secret ssl/quic/quic_record_shared.c:275
    #6 0x5651df237e44 in ossl_qrx_provide_secret ssl/quic/quic_record_rx.c:294
    #7 0x5651df24872e in ossl_quic_provide_initial_secret ssl/quic/quic_record_util.c:138
    #8 0x5651df2284c8 in ossl_quic_channel_start ssl/quic/quic_channel.c:2774
    #9 0x5651df10da3a in ensure_channel_started ssl/quic/quic_impl.c:1525
    #10 0x5651df10da3a in quic_do_handshake ssl/quic/quic_impl.c:1650
    #11 0x5651df11d892 in ossl_quic_do_handshake ssl/quic/quic_impl.c:1733
    #12 0x5651df0c2026 in SSL_do_handshake ssl/ssl_lib.c:4710
    #13 0x5651df093a61 in FuzzerTestOneInput fuzz/quic-client.c:157
    #14 0x5651df0944f1 in testfile fuzz/test-corpus.c:185
    #15 0x5651df088c6f in main fuzz/test-corpus.c:229
    #16 0x7f5f4ec29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

Indirect leak of 960 byte(s) in 1 object(s) allocated from:
    #0 0x7f5f4f8b4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x5651df453e3c in CRYPTO_malloc crypto/mem.c:183
    #2 0x5651df454075 in CRYPTO_zalloc crypto/mem.c:222
    #3 0x5651df584aad in aes_gcm_newctx providers/implementations/ciphers/cipher_aes_gcm.c:30
    #4 0x5651df584aad in aes128gcm_newctx providers/implementations/ciphers/cipher_aes_gcm.c:61
    #5 0x5651df3f1885 in evp_cipher_init_internal crypto/evp/evp_enc.c:220
    #6 0x5651df3f2092 in EVP_CipherInit_ex crypto/evp/evp_enc.c:462
    #7 0x5651df23efa7 in el_setup_keyslot ssl/quic/quic_record_shared.c:176
    #8 0x5651df24081f in ossl_qrl_enc_level_set_provide_secret ssl/quic/quic_record_shared.c:275
    #9 0x5651df237e44 in ossl_qrx_provide_secret ssl/quic/quic_record_rx.c:294
    #10 0x5651df24872e in ossl_quic_provide_initial_secret ssl/quic/quic_record_util.c:138
    #11 0x5651df2284c8 in ossl_quic_channel_start ssl/quic/quic_channel.c:2774
    #12 0x5651df10da3a in ensure_channel_started ssl/quic/quic_impl.c:1525
    #13 0x5651df10da3a in quic_do_handshake ssl/quic/quic_impl.c:1650
    #14 0x5651df11d892 in ossl_quic_do_handshake ssl/quic/quic_impl.c:1733
    #15 0x5651df0c2026 in SSL_do_handshake ssl/ssl_lib.c:4710
    #16 0x5651df093a61 in FuzzerTestOneInput fuzz/quic-client.c:157
    #17 0x5651df0944f1 in testfile fuzz/test-corpus.c:185
    #18 0x5651df088c6f in main fuzz/test-corpus.c:229
    #19 0x7f5f4ec29d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

That's still the same as the previous one?

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 92 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 123 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 154 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 185 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 216 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 247 days ago

@bernd-edlinger Are you still interested to get this in? Please respond to https://github.com/openssl/openssl/pull/21668#issuecomment-1862914948

This PR is waiting for the creator to make requested changes but it has not been updated for 30 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).

This PR is waiting for the creator to make requested changes but it has not been updated for 61 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).

This PR has been closed.  It was waiting for the creator to make requested changes but it has not been updated for 90 days.