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

Fix buffer overflow in slot1launch #2310

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

edo9300
Copy link
Contributor

@edo9300 edo9300 commented Oct 6, 2023

cardReadHeader reads 512 bytes which is more than the size of the sNDSHeader struct (352). Add padding to the struct used so that there's enough space to read into.
This caused freezing when using slot1launch on a ds where cart swapping was required

@RocketRobz RocketRobz merged commit 535d181 into DS-Homebrew:master Oct 6, 2023
1 check failed
@edo9300 edo9300 deleted the patch-1 branch October 23, 2023 00:04
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