Repository navigation
Upstream #3165, #3124, #3122: refuse signed control indexes, non-UTF-8 arguments and non-object script params; review r5 - #647
Merged
Conversation
…8 CLI arguments and non-object script params Hand ports of three open upstream PRs (their files moved in the fork: apps/cli, crates/develop/src/controls.rs). Tests come along, adapted to the fork's test binary. Sources: upstream PRs #3165 (Silvertree2010), #3124 and #3122 (DAnaeto). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
pointColor.+0.hueShift(a signed list index) is an unknown control id;usize::from_strused to take the+.std::env::args. The desktop app now reads its arguments lossily for the same reason (found in review).run --scriptline whoseparamsisn't an object is refused before any command runs.docs/whats-new/2026-10-28-cli-script-checks.md.upstream-reviewed.txtanddocs/upstream-pr-reviews/upstream-main-commits.mdto current upstream/main, plusopen-2930-up.mdrows for open PRs 3120–3188 (ADOPT / LEARN / SKIP with reasons). The ports of #3020 and #3168 are in their own PRs.Checks:
cargo xtask ci --fastgreen; targetedlcc-developandlcc-cli --test clitests green.Sources: upstream PRs #3165 (Silvertree2010), #3124 and #3122 (DAnaeto), hand-ported.
🤖 Generated with Claude Code