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

fix WOLFSSL_CALLBACK memory error #6949

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

bigbrett
Copy link
Contributor

@bigbrett bigbrett commented Nov 7, 2023

  • Fixes ZD16925. Reproduction steps in ticket.
  • Fixes bug that prevented make check from passing when used with WOLFSSL_CALLBACKS. When invoking the example server with WOLFSSL_CALLBACKS defined and using either the -6 option (simulated WANT_WRITE errors) or -u (DTLS), the server will hang in recv() because the socket isn't set as non-blocking. To reproduce, run ./configure --enable-all CFLAGS="-DWOLFSSL_CALLBACKS" && make check on master.

@bigbrett bigbrett self-assigned this Nov 7, 2023
… with

-6 option (simulated WANT_WRITE errors) or with DTLS, causing make check
to fail
@bigbrett bigbrett assigned wolfSSL-Bot and unassigned bigbrett Nov 7, 2023
@JacobBarthelmeh JacobBarthelmeh merged commit 2b1c61a into wolfSSL:master Nov 9, 2023
104 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.

None yet

4 participants