Skip to content

Commit

Permalink
.cargo: ignore heapless advisories (#277)
Browse files Browse the repository at this point in the history
Ignores the following advisories:

- RUSTSEC-2020-0145: heapless: UAF cloning a partially consumed iterator
- RUSTSEC-2020-0146: generic-array: lifetime extension in old versions

Re: RUSTSEC-2020-0145, the `aead` crate consumes the `heapless` crate
this advisory is filed against, and does not iterate over Vecs nor does
it clone them, so it should be unaffected.

Re: RUSTSEC-2020-0146, these are pulled in via `as-slice` which actually
pulls in *three* versions of `generic-array`. Only the latest version is
actually used (v0.14).
  • Loading branch information
tarcieri authored Mar 1, 2021
1 parent 2634750 commit b8e2f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[advisories]
ignore = ["RUSTSEC-2019-0029"]
ignore = ["RUSTSEC-2019-0029", "RUSTSEC-2020-0145", "RUSTSEC-2020-0146"]
informational_warnings = ["unmaintained", "unsound"]

0 comments on commit b8e2f84

Please sign in to comment.