Skip to content

Port #12581 to SDL2 #12937

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

Merged
merged 1 commit into from
May 2, 2025
Merged

Port #12581 to SDL2 #12937

merged 1 commit into from
May 2, 2025

Conversation

dschuff
Copy link

@dschuff dschuff commented May 1, 2025

This fixes undefined behavior resulting from adding offsets to nullptr.

This fixes undefined behavior resulting from adding offsets to nullptr.
@dschuff
Copy link
Author

dschuff commented May 1, 2025

I have run this locally against Emscripten's SDL tests, and it will be covered by automation that runs those tests once we pull this downstream in the next release. Is there upstream testing that is needed?

@slouken
Copy link
Collaborator

slouken commented May 1, 2025

CI is running now. Thanks!

@slouken slouken merged commit a220e7c into libsdl-org:SDL2 May 2, 2025
35 checks passed
@slouken
Copy link
Collaborator

slouken commented May 2, 2025

Merged, and cherry-picked for the next SDL2 release!

@dschuff
Copy link
Author

dschuff commented May 2, 2025

Thanks!

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