Skip to content

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Aug 9, 2025

No description provided.

sdroege and others added 20 commits August 9, 2025 17:57
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.6.0 to 0.7.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.6.0...0.7.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
One more level of pointer indirection is needed to get the item from the list.
The left hand side of the condition `self.len + additional + 1 <= self.
capacity` could overflow and wrap around if `additional` was set to a
huge value, causing `reserve` to return without reserving a specified
capacity.
The left hand side of the condition `self.len + other.len() + 1 <= self.
capacity` could overflow and wrap around if `other` contained a large
number of elements, causing it to proceed to the copying code without
calling `reserve`.
We need to ensure that `self` is null-terminated even if `<S as AsRef<
str>>::as_ref` panics.
Also check lenghts in various `StrV` tests.
We need to ensure that `self` is null-terminated even if writing the previous items panics.
@sdroege sdroege merged commit 235e4d8 into gtk-rs:0.21 Aug 9, 2025
47 of 48 checks passed
@sdroege sdroege deleted the 0.21-backports branch August 9, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants