Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 11, 2023

Extract another helper function here which avoids the invalid read at address zero.

Without this change a call to emscripten_webgl_make_context_current(0) would result in the second word of memory being compared to pthread_self().

Split out from #20678

Extract another helper function here which avoids the invalid read
at address zero.

Without this change a call to `emscripten_webgl_make_context_current(0)`
would result in the second word of memory being compared to
`pthread_self()`.
@sbc100 sbc100 merged commit 00eae74 into emscripten-core:main Nov 11, 2023
@sbc100 sbc100 deleted the extract_helper branch November 11, 2023 03:58
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