Skip to content

Check a type tag instead of instanceof before unwrapping a native object - #2629

Open
theosotr wants to merge 1 commit into
Automattic:masterfrom
theosotr:master
Open

theosotr wants to merge 1 commit into
Automattic:masterfrom
theosotr:master

Conversation

@theosotr

@theosotr theosotr commented Oct 7, 2026

Copy link
Copy Markdown

Fixes #2628

Thanks for contributing!

  • Have you updated CHANGELOG.md?

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.

Bypassing the InstanceOf checks leads to crashes in Unwrap calls

1 participant