Repository navigation
build: bump ctutils - #49187
Merged
Merged
build: bump ctutils#49187
Conversation
Signed-off-by: Asset Malik <[email protected]>
jschwe
approved these changes
Oct 23, 2026
jschwe
left a comment
Member
There was a problem hiding this comment.
Seems like a security fix in 0.4.4
jschwe
pushed a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Oct 28, 2026
Current main seem to ``` | /home/jane/dev/servo/deny.toml:169: Non-constant-time mask generation and `u128` comparisons: ctutils 0.4.3 registry+https://github.com/rust-lang/crates.io-index ``` so I did ``` cargo update -p ctutils --precise 0.4.4 ``` and it updated a sole dependency after update, the error is gone Fixes [RUSTSEC-2026-0385](https://rustsec.org/advisories/RUSTSEC-2026-0385.html) Checked for no PRs addressing it yet Testing: `./mach test-tidy` Signed-off-by: Asset Malik <[email protected]> (cherry picked from commit 7615ccf) ---- Fork note: backport of upstream 7615ccf (servo#49187), which landed after base/2026-10-22. RustSec published RUSTSEC-2026-0385 for ctutils 0.4.3, so `cargo-deny` in `./mach test-tidy` failed on ohos-main. The next commit, the backport of e78fc91, moves ctutils on to 0.4.5, as upstream did. Drop at the next sync: every later base contains 7615ccf, so this commit applies empty and becomes a `Superseded-by: 7615ccf` placeholder (runbook decision 3). Validation: `./mach test-tidy` on ohos-main bf7c1c7 fails in `cargo-deny` with RUSTSEC-2026-0387 (crypto-bigint 0.7.5) and RUSTSEC-2026-0385 (ctutils 0.4.3), as the Lint job of every pull request would; with both backports it passes, and `cargo-deny check` reports advisories, bans, licenses and sources ok. Same patch-id as upstream (`git patch-id --stable`). With both, on top of patch 130: `./mach clippy --locked -- -- --deny warnings`, `RUSTFLAGS="-D warnings" ./mach build --use-crown --locked --profile checked-release`, the same build with `--ohos` (the Rust part; packaging then stops at the local signing configuration), and `./mach test-unit --profile checked-release` (1,255 tests) and `--doc` (46) pass. AI-assisted: Yes (agent session; the agent cherry-picked upstream commit 7615ccf without changes and added the fork-style part of this message below the dashed line: fork note, Validation and these trailers) Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
pushed a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Oct 30, 2026
Dropped in favour of upstream 7615ccf (servo#49187), which this commit backported and which every base from base/2026-10-29 on contains. Equivalence: `git show <commit> | git patch-id --stable` gives the same patch-id for this commit and 7615ccf. On base/2026-10-29 it conflicts in Cargo.lock only because upstream has since moved ctutils on to 0.4.5; with upstream's side it applies empty. Verified by the sync of 2026-10-29. This empty placeholder is removed in the next sync's fold step. Superseded-by: 7615ccf Validation: patch-id identity with 7615ccf (`git patch-id --stable`); applies empty on base/2026-10-29 with upstream's Cargo.lock, which has ctutils 0.4.5. AI-assisted: Yes (agent session; 2026-10-29 sync -- upstream 7615ccf is the identical patch and upstream moved ctutils further since; kept as an empty placeholder) Signed-off-by: Jonathan Schwender <[email protected]>
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.
Current main seem to
so I did
and it updated a sole dependency
after update, the error is gone
Fixes RUSTSEC-2026-0385
Checked for no PRs addressing it yet
Testing:
./mach test-tidy