summaryrefslogtreecommitdiff
path: root/SECURITY.md
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-07-18 07:18:14 +0200
committerGitHub <noreply@github.com>2024-07-18 07:18:14 +0200
commit9443e31b1e610c332370b2de09f1555b27524bfc (patch)
treee40daa2c73c8eec1f44775b0fb85dd5bd0a1c48c /SECURITY.md
parent2d8ca8af6932dfd50204d1e4f6fe587dec7beef5 (diff)
downloadspack-9443e31b1e610c332370b2de09f1555b27524bfc.tar.gz
spack-9443e31b1e610c332370b2de09f1555b27524bfc.tar.bz2
spack-9443e31b1e610c332370b2de09f1555b27524bfc.tar.xz
spack-9443e31b1e610c332370b2de09f1555b27524bfc.zip
Do not initialize previous store state in "use_store" (#45268)
The "use_store" context manager is used to swap the value of a global variable (spack.store.STORE), while keeping another global variable consistent (spack.config.CONFIG). When doing that it tries to evaluate the previous value of the store, if that was not done already. This is wrong, since the configuration might be in an "intermediate" state that was never meant to trigger side effects. Remove that operation, and add a unit test to prevent regressions.
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions