Skip to content

Commit

Permalink
updates tempfile to 3.4.0 (solana-labs#30727)
Browse files Browse the repository at this point in the history
Patching below rustsec advisory:

    Crate:     remove_dir_all
    Version:   0.5.3
    Title:     Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)
    Date:      2023-02-24
    ID:        RUSTSEC-2023-0018
    URL:       https://rustsec.org/advisories/RUSTSEC-2023-0018
    Solution:  Upgrade to >=0.8.0
  • Loading branch information
behzadnouri authored Mar 16, 2023
1 parent cbc0d01 commit 3cc74a6
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 41 deletions.
58 changes: 39 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ sysctl = "0.4.4"
systemstat = "0.2.3"
tar = "0.4.38"
tarpc = "0.29.0"
tempfile = "3.3.0"
tempfile = "3.4.0"
test-case = "2.2.2"
thiserror = "1.0.31"
tiny-bip39 = "0.8.2"
Expand Down
2 changes: 1 addition & 1 deletion bench-tps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ thiserror = { workspace = true }
serial_test = { workspace = true }
solana-local-cluster = { workspace = true }
solana-test-validator = { workspace = true }
tempfile = "3.3.0"
tempfile = "3.4.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
2 changes: 1 addition & 1 deletion ci/test-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ test-stable-sbf)
# latest mainbeta release version.
solana_program_count=$(grep -c 'solana-program v' cargo.log)
rm -f cargo.log
if ((solana_program_count > 13)); then
if ((solana_program_count > 14)); then
echo "Regression of build redundancy ${solana_program_count}."
echo "Review dependency features that trigger redundant rebuilds of solana-program."
exit 1
Expand Down
58 changes: 39 additions & 19 deletions programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3cc74a6

Please sign in to comment.