Repository navigation
fix(security): patch Studio async dependencies and GLib iterator - #1
Conversation
Signed-off-by: Robb Walters <robb@2amlogic.com>
|
Judge: APPROVED at exact head
Non-blocking: Source only; this makes no claim about deployed or released binaries. |
The repository uses master as its default branch. Match the push filter so the vendored GLib safety checks also run after the security remediation merges.
|
Judge: APPROVED at successor head The diff from the previously approved |
Patches Studio's Tokio and event-listener dependencies and backports the upstream GLib string-iterator fix. The original GLib iterator passes a shared reference as a mutable FFI output pointer, causing undefined behavior and an optimized-build crash (RUSTSEC-2024-0429). The vendored, checksum-verified 0.18.5 crate uses the upstream mutable-pointer fix while preserving Tauri's API requirements and all unrelated package choices.
Retains the original license, upstream tests and source hashes. Adds five optimized iterator regressions and Linux CI. Also corrects an unrelated upstream test's out-of-bounds slice access when checking its allocated NULL sentinel; the assertion remains, and no tests are skipped.
Validation: the original security regression still crashes after the test-only correction, while the production backport passes all 226 library tests and five security regressions. The integrated all-target dependency graph selects the vendored crate; locked all-feature/all-target application check, actionlint and audit pass. Audit reports zero vulnerability entries with no ignores; GLib's version-based unsoundness warning remains documented with source mitigation evidence. Tokio 1.53.3 and event-listener 5.4.2 remove RUSTSEC-2026-0386 and RUSTSEC-2026-0221.
Independent review, remote CI, merge, and verification of rebuilt application binaries remain separate steps.