Skip to content

Blob#slice end <= size (fixes #35959)#35971

Closed
SheetJSDev wants to merge 1 commit into
facebook:mainfrom
SheetJS:main
Closed

Blob#slice end <= size (fixes #35959)#35971
SheetJSDev wants to merge 1 commit into
facebook:mainfrom
SheetJS:main

Conversation

@SheetJSDev
Copy link
Copy Markdown
Contributor

Summary

See #35959 . Potentially fixes other issues including #34988

Changelog

[INTERNAL] [FIXED] - Blob#slice end check avoids overflow

Test Plan

Added a test which fails against current release but passes after code changes.

@facebook-github-bot facebook-github-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 Jan 26, 2023
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,462,972 +42
android hermes armeabi-v7a 7,783,322 +41
android hermes x86 8,935,944 +44
android hermes x86_64 8,793,846 +38
android jsc arm64-v8a 9,648,916 +29
android jsc armeabi-v7a 8,383,194 +31
android jsc x86 9,710,882 +20
android jsc x86_64 10,187,729 +14

Base commit: 4628150
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@jacdebug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 27, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@jacdebug merged this pull request in eaf465d.

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. Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants