Skip to content

adjust highwater check location to avoid masking return value #795

Merged
SparkiDev merged 3 commits into
wolfSSL:masterfrom
JacobBarthelmeh:decrypt
May 21, 2025
Merged

adjust highwater check location to avoid masking return value #795
SparkiDev merged 3 commits into
wolfSSL:masterfrom
JacobBarthelmeh:decrypt

Conversation

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

ZD19648

@JacobBarthelmeh JacobBarthelmeh self-assigned this Apr 4, 2025
@JacobBarthelmeh JacobBarthelmeh requested a review from Copilot April 4, 2025 20:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/internal.c:10035

  • [nitpick] The log message 'PR: HighwaterCheck fail' is unclear. It is recommended to update the log message to provide more descriptive information about the highwater check failure.
WLOG(WS_LOG_DEBUG, "PR: HighwaterCheck fail");

Comment thread src/internal.c Outdated
@JacobBarthelmeh JacobBarthelmeh changed the title do highwater check at the end of processing a packet adjust highwater check location to avoid masking return value Apr 8, 2025
@JacobBarthelmeh
Copy link
Copy Markdown
Contributor Author

Working on a unit test for this.

@JacobBarthelmeh JacobBarthelmeh force-pushed the decrypt branch 2 times, most recently from f581927 to 186ca42 Compare April 11, 2025 19:49
@SparkiDev SparkiDev merged commit 5cd826c into wolfSSL:master May 21, 2025
93 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