Skip to content

20260309 Coverity changes for Sunday build#9933

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

20260309 Coverity changes for Sunday build#9933
rlm2002 wants to merge 4 commits intowolfSSL:masterfrom
rlm2002:coverity

Conversation

@rlm2002
Copy link
Contributor

@rlm2002 rlm2002 commented Mar 9, 2026

Description

Resource leak - 330394: free enc and dec before returning

Resource leak - 330390: Return using ERROR_OUT instead of return ret

Use after free - 330389/330393: move (void) calls before freeing variables.

Wrong sizeof argument (SIZEOF_MISMATCH) - 330388: use MAX_ECIES_TEST_SZ instead of sizeof in XSTRLCPY()

Testing

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

@rlm2002 rlm2002 self-assigned this Mar 9, 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