Skip to content

branch-4.0:[fix](storage) fix IOContext Use-After-Free (#59947)#62240

Open
freemandealer wants to merge 1 commit intoapache:branch-4.0from
freemandealer:pick-branch-4.0-pr-59947-20260408-193616
Open

branch-4.0:[fix](storage) fix IOContext Use-After-Free (#59947)#62240
freemandealer wants to merge 1 commit intoapache:branch-4.0from
freemandealer:pick-branch-4.0-pr-59947-20260408-193616

Conversation

@freemandealer
Copy link
Copy Markdown
Contributor

Backport of #59947 to branch-4.0.

Original PR: #59947

No compile/test run for this pick.

use shared_ptr instead of raw pointer to manage lifespan
of ioctx in storage layer.

Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
(cherry picked from commit b6e8f69)
@hello-stephen
Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@freemandealer
Copy link
Copy Markdown
Contributor Author

run buildall

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