Skip to content

Give each PSK thread its own heap copy of connfd#582

Open
night1rider wants to merge 1 commit into
wolfSSL:masterfrom
night1rider:fenrir-issue-2894
Open

Give each PSK thread its own heap copy of connfd#582
night1rider wants to merge 1 commit into
wolfSSL:masterfrom
night1rider:fenrir-issue-2894

Conversation

@night1rider

Copy link
Copy Markdown
Contributor

Pass a per-connection malloc'd descriptor instead of the address of the reused stack variable connfd, which the next accept() could overwrite before the thread dereferences it; the thread frees it after copying.

Pass a per-connection malloc'd descriptor instead of the address of the reused stack variable connfd, which the next accept() could overwrite before the thread dereferences it; the thread frees it after copying.
@night1rider night1rider self-assigned this Jun 30, 2026

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fenrir Automated Review — PR #582

Scan targets checked: wolfssl-examples-bugs, wolfssl-examples-src

No new issues found in the changed files. ✅

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.

2 participants