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

DiscIO: Don't keep volume pointer in DiscScrubber #12121

Merged
merged 1 commit into from Aug 26, 2023

Conversation

JosJuice
Copy link
Member

Keeping the pointer creates use-after-free opportunities, and we don't have much reason to keep it around anyway.

This solves a problem in the unmerged PR #12036.

Keeping the pointer creates use-after-free opportunities, and we don't
have much reason to keep it around anyway.
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, untested.

@AdmiralCurtiss AdmiralCurtiss merged commit 65a9be5 into dolphin-emu:master Aug 26, 2023
11 checks passed
@JosJuice JosJuice deleted the discscrubber-volume-ptr branch August 26, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants