Skip to content

Negative Tests and Fenrir Fixes#389

Open
aidangarske wants to merge 8 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-2
Open

Negative Tests and Fenrir Fixes#389
aidangarske wants to merge 8 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-2

Conversation

@aidangarske
Copy link
Copy Markdown
Member

F-2169, F-2222, F-2223, F-2041, F-2224, F-2225, F-2226, F-2235

@aidangarske aidangarske self-assigned this Apr 7, 2026
Copilot AI review requested due to automatic review settings April 7, 2026 21:21

This comment was marked as resolved.

- wp_ecx_kmgmt.c — Added bounds guard (outLen < 2 / p->data_size < outLen) before unclamped byte restoration
- test_hkdf.c — Added mdSize <= 0 early-return check after EVP_MD_get_size
- test_aestag.c — Changed sizeof(aad) / sizeof(pt) to exclude trailing NUL in both GCM and CCM helpers (encrypt + decrypt AAD, and ptLen)
- unit.h — Added /* WP_HAVE_X25519 */ comment to #endif
- test_rand_seed.c const cast — Skipped; (char*) is the established pattern in this file (4 pre-existing instances)
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