mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-17 22:01:38 +02:00
The mem-fail Jenkins job fails allocation N via MEM_FAIL_CNT and treats segfault/abort as product findings. Several unit tests still touched NULL or uninitialised state after an Expect* failure, so the job went red even when the library returned a clean error. - test_wolfSSL_X509_VERIFY_PARAM (shard 2, fail at 2/3 and 3/3): Guard bare paramTo/paramFrom writes after X509_VERIFY_PARAM_new() returns NULL. - test_wc_Sakke_FeatureCoverage / DecisionCoverage (shards 0 and 3): Zero-init rng/key/key2 so FreeSakkeKey is not called on stack garbage when init fails. Make wc_FreeSakkeKey clear freed pointers so a second free after a failed init is safe. - test_wolfSSL_Tls13_ECH_wire_sni (shard 0, fail around 3147/6295): Do not dereference test_ctx.c_ctx when memio setup failed. Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>