Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump enumflags2 from 0.7.5 to 0.7.7 #734

Merged
merged 1 commit into from
May 16, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 24, 2023

Bumps enumflags2 from 0.7.5 to 0.7.7.

Release notes

Sourced from enumflags2's releases.

Release 0.7.7

This release fixes a soundness issue in the make_bitflags! macro. Previously, code like this was accepted:

#[bitflags]
#[repr(u8)]
#[derive(Copy, Clone, Debug)]
enum Test {
    A = 1,
    B = 2,
}
impl Test {
const C: u8 = 69;
}
fn main() {
let x = make_bitflags!(Test::{C});
}

Iterating over x would then create values of Test with bit patterns that don't correspond to any of the variants, which is undefined behavior.

This bug has been introduced in 0.7.0, together with the make_bitflags! macro itself.

I don't think it is likely that this was actually present in anyone's code, but in an abundance of caution, I have yanked all affected versions.

RUSTSEC advisory pending.

Release 0.7.6

  • Update to syn 2.0 (thanks to @​mwkmwkmwk)
  • Bump MSRV to 1.56.0 to support the above
  • Update crate metadata to compensate for gender drift :3
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 24, 2023
@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #734 (b7f0386) into master (3c37d78) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #734   +/-   ##
=======================================
  Coverage   59.03%   59.03%           
=======================================
  Files          38       38           
  Lines        4670     4670           
=======================================
  Hits         2757     2757           
  Misses       1913     1913           

@simonsso
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/cargo/enumflags2-0.7.7 branch from 1866837 to 3408162 Compare May 15, 2023 06:03
@simonsso
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/cargo/enumflags2-0.7.7 branch from 3408162 to 9286939 Compare May 16, 2023 00:21
@simonsso
Copy link
Contributor

@dependabot rebase

Bumps [enumflags2](https://github.com/meithecatte/enumflags2) from 0.7.5 to 0.7.7.
- [Release notes](https://github.com/meithecatte/enumflags2/releases)
- [Commits](meithecatte/enumflags2@v0.7.5...v0.7.7)

---
updated-dependencies:
- dependency-name: enumflags2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/enumflags2-0.7.7 branch from 9286939 to b7f0386 Compare May 16, 2023 01:25
@simonsso simonsso merged commit c5621cb into master May 16, 2023
@simonsso simonsso deleted the dependabot/cargo/enumflags2-0.7.7 branch May 16, 2023 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant