Fixes for latest RustSec Audit manifest (bp #15601) (#15605)

* Add RUSTSEC-2020-0146 to audit ignores

(cherry picked from commit 85252777a6)

# Conflicts:
#	ci/test-checks.sh

* Pass audit ignores to bpf program audit

(cherry picked from commit ccb604f8c3)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2021-03-01 22:30:03 +00:00
committed by GitHub
parent a7d1223583
commit c82c750091

View File

@ -87,12 +87,16 @@ cargo_audit_ignores=(
# hyper is upgraded on master/v1.6 but not for v1.5
--ignore RUSTSEC-2021-0020
# generic-array: arr! macro erases lifetimes
#
# ed25519-dalek and libsecp256k1 not upgraded for v1.5
--ignore RUSTSEC-2020-0146
)
_ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit "${cargo_audit_ignores[@]}"
{
cd programs/bpf
_ "$cargo" stable audit
_ "$cargo" stable audit "${cargo_audit_ignores[@]}"
for project in rust/*/ ; do
echo "+++ do_bpf_checks $project"
(