Repository navigation
deps: Bump heapless to 0.9.4 to fix RustSec advisories - #759
Merged
Merged
Conversation
The RustSec database added several unsound advisories (RUSTSEC-2026-0574, -0575, -0576 and others) against heapless 0.9.3, which made the cargo deny check fail in CI. All are fixed in 0.9.4. Also regenerate MODULE.bazel.lock to match. Fixes OpenPRoT#753 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
heapless 0.9.4 Vec::remove has a panic branch that the optimizer no longer elides, so the i3c_irq no_panics_test fails. detach already bounds-checks the index, so shift the tail with rotate_left and truncate instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
rusty1968
approved these changes
Nov 19, 2026
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.
The RustSec database added several unsound advisories (RUSTSEC-2026-0574, -0575, -0576 and others) against heapless 0.9.3, which made the
cargo denySecurity Audit job fail.All are fixed in heapless 0.9.4. This bumps it with
cargo update -p heapless@0.9.3 --precise 0.9.4inthird_party/crates_ioand regeneratesMODULE.bazel.lock. The lockfile regeneration also picks up regex 1.13.2, regex-automata 0.4.19 and regex-syntax 0.8.12, which were already ahead inCargo.lock.heapless 0.9.4's
Vec::removehas apanic!branch for an out-of-range index that the optimizer no longer elides. That made//target/ast10x0/tests/peripherals/i3c/i3c_irq:no_panics_testfail with "Panic is possible".Attached::detachintarget/ast10x0/peripherals/i3c/config.rsalready bounds-checks the index, so it now shifts the tail withrotate_left(1)andtruncateinstead of callingremove. Behaviour is unchanged.cargo deny checkpasses locally (advisories, bans, licenses, sources).Fixes #753
🤖 Generated with Claude Code