Skip to content

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