-
Notifications
You must be signed in to change notification settings - Fork 5k
Hardening round 11: input validation, bounds checks, lifetimes #33072
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 40 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
04eda02
Tighten input validation, bounds checking, and object lifetime handli…
Jarred-Sumner 75388d0
Run cargo fmt
Jarred-Sumner 0253e0d
Address review feedback: cover sibling code paths, remove newly dead …
Jarred-Sumner 44fc770
Compute UTF-8 lengths of invalid UTF-16 exactly and skip the dealloca…
Jarred-Sumner 8601143
Add regression tests across the touched subsystems
Jarred-Sumner 4107b11
glob: scanning through a self-referential directory symlink now compl…
Jarred-Sumner b54c4f5
node:http: accept the request host values Node accepts
Jarred-Sumner d959468
Make the new regression tests deterministic across platforms and proc…
Jarred-Sumner aeb6893
glob: bound the followed-link ancestor scan to the live walk stack
Jarred-Sumner 0b2767f
fetch: track the decompressed-body limit across the whole response
Jarred-Sumner 67b8beb
node:http2: scope stream access to the dispatch guard and honor the H…
Jarred-Sumner 003f664
http: cross-reference the two Host validators and pin CONNECT framing…
Jarred-Sumner 7521af3
pack: apply only the non-overridable default ignores before "files" i…
Jarred-Sumner f306c90
valkey: derive the subscription reply kinds from the push-message table
Jarred-Sumner 8249bf7
md: degrade reference-link expansion to text when the output budget i…
Jarred-Sumner f650d8f
Make the record conversion fast path observe properties in specificat…
Jarred-Sumner b8fe3f5
node:url: stop the legacy protocol tables from inheriting Object.prot…
Jarred-Sumner f5c15bd
macros: serialize an own __proto__ key as a computed property
Jarred-Sumner e87fb97
fs: copy Windows directory junctions with the unprivileged symlink he…
Jarred-Sumner 36a089d
wrapAnsi: recompute the row width when the appended word can join the…
Jarred-Sumner 936b6c6
tests: cover multi-wildcard target expansion limits and empty compres…
Jarred-Sumner c4fd1a6
Keep fetch response decompression unbounded
Jarred-Sumner 8f74717
node:url browser fallback: give the protocol lookup tables a null pro…
Jarred-Sumner 63061c2
glob, s3: address clippy lints (large_types_passed_by_value, or_fun_c…
Jarred-Sumner 2845c7a
json, toml, yaml, css-module loaders: mark an own __proto__ key as co…
Jarred-Sumner 0c9585e
node_fs: rewrite UNC reparse targets to their absolute form when copying
Jarred-Sumner 41c08e0
wrapAnsi: recompute the row width when a no-space seam can join clusters
Jarred-Sumner b0bb980
pack: let "files" re-include .hg like npm
Jarred-Sumner 6f9e880
h2: validate the teardown error code before any stream is referenced;…
Jarred-Sumner 2c3bafb
http2: frame the HEAD and close-delimited allowHTTP1 fallback respons…
Jarred-Sumner ea423ac
tests: cover record fast-path structure transitions and the high Host…
Jarred-Sumner db95dc8
s3: format guess_bucket fallback expressions
Jarred-Sumner 449115d
[autofix.ci] apply automated fixes
autofix-ci[bot] 6b2a4f3
tests: derive expected stack lines at runtime and retry refused parit…
Jarred-Sumner 6047fa0
completions: extract the script name at the key boundary instead of s…
Jarred-Sumner 6f4fb88
wrapAnsi: classify the wrap seam by the word's first visible codepoint
Jarred-Sumner d5134c9
resolver: adapt the path length guards to the refactored resolution d…
Jarred-Sumner b01f5ec
glob, resolver: derive followed-link identity from data the walk alre…
Jarred-Sumner 2f41950
Merge branch 'main' into claude/security-round-11
Jarred-Sumner 2e5eb28
Bun.serve: keep the request.url host fallback and drop the parser-lev…
Jarred-Sumner b42fbd3
install: drop the lockfile script normalization on load and the unuse…
Jarred-Sumner 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
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
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
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
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
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.