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

WiiSave: protect against a stack buffer overflow #10954

Merged
merged 1 commit into from Aug 6, 2022

Conversation

shuffle2
Copy link
Contributor

@shuffle2 shuffle2 commented Aug 6, 2022

this appears to have caused a crash for a user, but I haven't gotten confirmation this actually fixes their crash (I think they may have nuked everything and started fresh)

i tend to think their actual corruption happened before this, but this check should be there anyway, I think.

related: it's gross to have this huge thing on the stack

@AdmiralCurtiss AdmiralCurtiss merged commit 92ed0e3 into dolphin-emu:master Aug 6, 2022
11 checks passed
@shuffle2 shuffle2 deleted the ios-hdr-overflow branch August 6, 2022 01:50
@shuffle2
Copy link
Contributor Author

shuffle2 commented Aug 6, 2022

fwiw i heard back from the user that this did actually fix their problem (altho i guess dolphin dropped some corrupted save)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants