Skip to content

20250228-fixes#8522

Merged
dgarske merged 6 commits intowolfSSL:masterfrom
douzzer:20250228-fixes
Mar 1, 2025
Merged

20250228-fixes#8522
dgarske merged 6 commits intowolfSSL:masterfrom
douzzer:20250228-fixes

Conversation

@douzzer
Copy link
Copy Markdown
Contributor

@douzzer douzzer commented Mar 1, 2025

src/ssl.c, src/internal.c: fix leak in wolfSSL_get_ciphers_compat(): fix gating (OPENSSL_EXTRA, not OPENSSL_ALL) in FreeSuites() re .suitesStack and .clSuitesStack, and similarly fix gating on the implementation of wolfSSL_sk_SSL_CIPHER_free() and related.

src/ssl_sess: suppress false positive clang-analyzer-unix.Malloc "Argument to 'free()' is the address of a global variable".

wolfcrypt/src/sp_int.c, src/ssl_asn1.c, src/internal.c: rename several declarations to avoid shadowing global functions, for the convenience of obsolete (pre-4v8) gcc -Wshadow.

tests/api.c: disable test_wolfSSL_OCSP_parse_url() if WOLFSSL_SM2 || WOLFSSL_SM3.

.wolfssl_known_macro_extras: remove unneeded entries.

tested with various wolfssl-multi-test.sh scenarios that were failing in the nightlies without these fixes.

…fix gating (OPENSSL_EXTRA, not OPENSSL_ALL) in FreeSuites() re .suitesStack and .clSuitesStack, and similarly fix gating on the implementation of wolfSSL_sk_SSL_CIPHER_free(() and related.

src/ssl_sess: suppress false positive clang-analyzer-unix.Malloc "Argument to 'free()' is the address of a global variable".
…l declarations to avoid shadowing global functions, for the convenience of obsolete (pre-4v8) gcc -Wshadow.
Comment thread src/ssl_asn1.c Outdated
dgarske
dgarske previously approved these changes Mar 1, 2025
@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Mar 1, 2025

retest this please (script timeout and org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException)

@dgarske dgarske merged commit 72d08a1 into wolfSSL:master Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants