-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix panic converting over-long Windows paths to UTF-16 #31694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6d62485
Fix panic converting over-long Windows paths to UTF-16
robobun df0f3c2
Add existsSync boundary-length cases from #20258
robobun f97a773
Reject over-long Windows paths at the conversion call sites
robobun ce29ae5
Replace the testing hook with Rust unit tests
robobun 315c026
Exercise the wide-path fit check in the multi-byte acceptance test
robobun 6026f94
Keep acceptance-test path components under the NTFS limit
robobun 26d4a48
Use the nominal SIMDUTFResult in the test stubs
robobun 89257b2
Add per-op ENAMETOOLONG to access; guard slice_z's prefixed copies
robobun d0e8ae0
Gate slice_z's Windows fast path on fits_in_wide_path_buffer
robobun 37d34cc
Bounds-check the cwd joins in resolve_cwd_with_external_buf{,_z}
robobun f419002
Close the remaining fixed-buffer gaps in the path pipeline
robobun c344671
Review nits: parameterize boundary test, include error in resolve panic
robobun 7116ec1
Cap the byte length in fits_in_wide_path_buffer
robobun f49fb30
Count U+FFFD expansion when sizing wide-path conversions
robobun aaaac55
ci: retrigger
robobun b1edef4
Leave normalize headroom in the resolver join bounds
robobun 1c0a402
Route convert_utf8_to_utf16_in_buffer_z through the checked core
robobun 4d00960
Use the simdutf length in fits_in_wide_path_buffer
robobun 6ca4ca9
Merge remote-tracking branch 'origin/main' into farm/b67ae5f9/fix-ker…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.