Skip to content

Fix for loop exit condition.#9860

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
anhu:for_length
Mar 4, 2026
Merged

Fix for loop exit condition.#9860
douzzer merged 1 commit intowolfSSL:masterfrom
anhu:for_length

Conversation

@anhu
Copy link
Copy Markdown
Member

@anhu anhu commented Mar 4, 2026

size should be length.
s includes offset, so it must be compared against length, not size.
This is because size is only what is after offset.

Fixes ZD 21271

size should be length.  s includes offset, so it must be compared against
length, not size because size is only what is after offset.
@anhu anhu requested a review from wolfSSL-Bot March 4, 2026 15:18
@anhu anhu self-assigned this Mar 4, 2026
@anhu anhu added the For This Release Release version 5.9.1 label Mar 4, 2026
@douzzer douzzer merged commit 1c8d593 into wolfSSL:master Mar 4, 2026
447 checks passed
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.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants