Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20241016-dtls13-cleanup #8088

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Oct 17, 2024

analyzer-driven cleanups of --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch:

Dtls13HashClientHello(): fix wc_HashType handling;

Dtls13SendFragment(): fix identicalConditionAfterEarlyExit;

GetDtlsRecordHeader(): fix error handling around GetDtls13RecordHeader() (incorrectLogicOperator);

test_wolfSSL_dtls_stateless_maxfrag(): fix a clang-analyzer-core.NullDereference,
test_dtls_frag_ch(): fix a clang-diagnostic-embedded-directive,
test_AEAD_limit_client(): fix an united-data defect found by valgrind.

tested with wolfssl-multi-test.sh ... super-quick-check with ENABLE_ALL_TEST_FLAGS tweaked to add --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch.

…e-dtls-frag-ch:

Dtls13HashClientHello(): fix wc_HashType handling;

Dtls13SendFragment(): fix identicalConditionAfterEarlyExit;

GetDtlsRecordHeader(): fix error handling around GetDtls13RecordHeader() (incorrectLogicOperator);

test_wolfSSL_dtls_stateless_maxfrag(): fix a clang-analyzer-core.NullDereference,
test_dtls_frag_ch(): fix a clang-diagnostic-embedded-directive,
test_AEAD_limit_client(): fix an united-data defect found by valgrind.
rizlik
rizlik previously approved these changes Oct 17, 2024
@rizlik rizlik assigned wolfSSL-Bot and unassigned rizlik Oct 17, 2024
@douzzer
Copy link
Contributor Author

douzzer commented Oct 17, 2024

retest this please

@philljj philljj merged commit 61b726f into wolfSSL:master Oct 17, 2024
140 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.

4 participants