Skip to content

Fix crash due to incorrect OSReport() usage. - #454

Merged
GaryOderNichts merged 2 commits into
devkitPro:masterfrom
dkosmari:fix-osreport-usage
Aug 22, 2026
Merged

Fix crash due to incorrect OSReport() usage.#454
GaryOderNichts merged 2 commits into
devkitPro:masterfrom
dkosmari:fix-osreport-usage

Conversation

@dkosmari

Copy link
Copy Markdown
Contributor

Sending messages ending with \n to log_cafe leads to a bad OSReport() call, with no format string. The input string is used as the format string, usually leading to crashes when the string has %.

In addition to fixing the incorrect OSReport() call, this PR also ensures all error messages being printed by OSReport() have a proper \n at the end.

@GaryOderNichts
GaryOderNichts merged commit 764596c into devkitPro:master Aug 22, 2026
2 checks passed
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