Skip to content

20260227 Coverity changes#9842

Draft
rlm2002 wants to merge 4 commits intowolfSSL:masterfrom
rlm2002:coverity
Draft

20260227 Coverity changes#9842
rlm2002 wants to merge 4 commits intowolfSSL:masterfrom
rlm2002:coverity

Conversation

@rlm2002
Copy link
Contributor

@rlm2002 rlm2002 commented Feb 27, 2026

Description

Addresses CIDs

  • 557579, 557574 Overflowed return value - adds temporary int variable to catch negative value before casting to word32
  • 557863 Dereference before null check - removes redundant NULL check
  • 307397 Operands don't affect result - adjusts I2OSP() where a negative value for n returns MP_VAL. Removes (w >= 4 && n > 0x7fffffff).

Testing

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

Checklist

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

@rlm2002 rlm2002 self-assigned this Feb 27, 2026
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.

1 participant