forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 21
CORE-15655 Forward port ossl changes to dev / 26.2.x-pre #273
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
Merged
pgellert
merged 6 commits into
redpanda-data:v26.2.x-pre
from
pgellert:catch-up-26-2-pre
Apr 24, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0cf0b04
ossl: Share BIO ptrs across shards
StephanDollberg eaabc39
ossl: use make_ossl_error for BIO creation failure
pgellert 040bfc6
ossl: drain error queue on unexpected error codes
pgellert 072f332
ossl: clear error queue after successful SSL_CTX_new
pgellert bd8e58d
ossl: clear error queue after successful SSL operations
pgellert 4cd69c9
ossl: assert clean error queue before SSL operations
pgellert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make_ssl_context()callsclear_stale_ssl_errors("SSL_CTX_new")during member initialization (before_typeis initialized).clear_stale_ssl_errors()logs*this, and the session formatter callsget_type_string()which reads_type, so this can access an uninitialized member (UB) and potentially crash/print garbage. Consider clearing the error queue without referencing*thishere (log without session context), or ensure_typeis initialized before_ctx(e.g., by reordering member declarations / splitting context creation after_typeis set).