Skip to content

20260506 Coverity#10418

Merged
dgarske merged 6 commits intowolfSSL:masterfrom
rlm2002:coverity
May 7, 2026
Merged

20260506 Coverity#10418
dgarske merged 6 commits intowolfSSL:masterfrom
rlm2002:coverity

Conversation

@rlm2002
Copy link
Copy Markdown
Contributor

@rlm2002 rlm2002 commented May 6, 2026

Description

560796: Dereference before null check - remove check as extension->data would not be NULL at this point
560760: Logically dead code - remove dead length check
560126: Dereference after null check - introduce defaultSz variable to handle s == NULL
560794: Dereference after null check - remove check as ssl->ctx and ssl->ctx->method would not be NULL in normal operation at this point

Also adds unit test for NULL parameters in EVP_DigestFinal() with SHAKE

Testing

./configure --enable-all && make check

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@rlm2002 rlm2002 self-assigned this May 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

MemBrowse Memory Report

No memory changes detected for:

@rlm2002
Copy link
Copy Markdown
Contributor Author

rlm2002 commented May 7, 2026

Retest this please Jenkins: history lost

@rlm2002 rlm2002 assigned wolfSSL-Bot and unassigned rlm2002 May 7, 2026
@rlm2002 rlm2002 changed the title Coverity 20260506 Coverity May 7, 2026
@dgarske dgarske merged commit 8ac2a1a into wolfSSL:master May 7, 2026
445 of 448 checks passed
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.

3 participants