Skip to content

20260309-nullPointerOutOfMemory#9929

Open
douzzer wants to merge 2 commits intowolfSSL:masterfrom
douzzer:20260309-nullPointerOutOfMemory
Open

20260309-nullPointerOutOfMemory#9929
douzzer wants to merge 2 commits intowolfSSL:masterfrom
douzzer:20260309-nullPointerOutOfMemory

Conversation

@douzzer
Copy link
Contributor

@douzzer douzzer commented Mar 9, 2026

wolfcrypt/src/evp_pk.c: fix benign nullPointer in d2i_make_pkey() reported by cppcheck-2.20.0.

src/pk_ec.c: in wolfSSL_ECDSA_SIG_new(), mitigate false-positive nullPointerOutOfMemory by returning immediately if initial XMALLOC() fails.

detected by wolfssl-multi-test.sh ... cppcheck-force-source

tested with wolfssl-multi-test.sh ... super-quick-check

douzzer added 2 commits March 9, 2026 10:58
…PointerOutOfMemory by returning immediately if initial XMALLOC() fails.
@douzzer douzzer requested a review from wolfSSL-Bot March 9, 2026 16:02
@douzzer douzzer added For This Release Release version 5.9.0 Staged Staged for merge pending final test results and review labels Mar 9, 2026
@douzzer
Copy link
Contributor Author

douzzer commented Mar 9, 2026

retest this please
(Jenkins glitches:

Build 'PRB-known-configs-A-applem1-v2' failed with result: ABORTED
Build 'PRB-fips-ready-config' failed with result: ABORTED
FAIL scripts/google.test (exit status: 1)

)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.0 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants