Skip to content

Fix: JSI Value::toString() should check the result type - #59146

Open
lavenzg wants to merge 1 commit into
react:mainfrom
lavenzg:export-D125707029
Open

lavenzg wants to merge 1 commit into
react:mainfrom
lavenzg:export-D125707029

Conversation

@lavenzg

@lavenzg lavenzg commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary:
global.String could be overridden. We always need to check the return type before casting to jsi::String.

Changelog: [Internal]

Differential Revision: D125707029

Summary:
`global.String` could be overridden. We always need to check the return type before casting to `jsi::String`.

Changelog: [Internal]

Differential Revision: D125707029
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 16, 2026
@meta-codesync

meta-codesync Bot commented Oct 16, 2026

Copy link
Copy Markdown

@lavenzg has exported this pull request. If you are a Meta employee, you can view the originating Diff in D125707029.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant