Skip to content

Fix dangling pointer in X509StoreContextRef::set_verify_param#508

Merged
TheJokr merged 1 commit into
masterfrom
lblocher/verify-param-unsound
May 28, 2026
Merged

Fix dangling pointer in X509StoreContextRef::set_verify_param#508
TheJokr merged 1 commit into
masterfrom
lblocher/verify-param-unsound

Conversation

@TheJokr
Copy link
Copy Markdown
Contributor

@TheJokr TheJokr commented May 27, 2026

param is dropped at the end of the function after its pointer was taken via .as_ptr(). Instead, param should be converted into a pointer via .into_ptr() without being dropped.

`param` is dropped at the end of the function after its pointer was
taken via `.as_ptr()`. Instead, `param` should be converted into a
pointer via `.into_ptr()` without being dropped.
@TheJokr TheJokr merged commit 68525e6 into master May 28, 2026
26 checks passed
@TheJokr TheJokr deleted the lblocher/verify-param-unsound branch May 28, 2026 15:25
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