Skip to content

Conversation

@rlm2002
Copy link
Contributor

@rlm2002 rlm2002 commented Dec 29, 2025

Description

CID 315897 Dereference before null check - move null check to prevent dereference before null check issue

@rlm2002 rlm2002 force-pushed the coverity branch 2 times, most recently from 145ce01 to 9f9f3b4 Compare December 29, 2025 17:29
@rlm2002
Copy link
Contributor Author

rlm2002 commented Dec 29, 2025

retest this please jenkins: Agent offline exception
PRB-generic-config-parser was not stable
PRB-multi-test-script was not stable
PRB-fips-repo-and-harness-test-v3-part1 was not stable

@rlm2002 rlm2002 marked this pull request as ready for review December 29, 2025 20:25
@rlm2002 rlm2002 assigned wolfSSL-Bot and rlm2002 and unassigned rlm2002 Dec 29, 2025
if (P == NULL || modulus == NULL){
return ECC_BAD_ARG_E;
}
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DECL_MP_INT_SIZE_DYN can be at top, this is just declaring, not allocating... that's done in NEW_MP_INT_SIZE. Then revert all the indent changes. Thanks

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