We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b215dc9 + 9f30261 commit eacb0e9Copy full SHA for eacb0e9
2 files changed
changelog.md
@@ -10,7 +10,11 @@ and this project adheres to
10
11
### Security
12
13
-Addressed all known, fixable CVEs.
+- Addressed all known, fixable CVEs.
14
+
15
+### Fixed
16
17
+- Fixed occasional panic due to a concurrent map read/write during runtime setup.
18
19
## 0.48.0
20
pkg/runtime/depot.go
@@ -160,6 +160,9 @@ func (d *depot) SetCacheSize(mb int) {
160
// Artifact metadata comes from the depot's cache, and may not exist for installed artifacts that
161
// predate the cache.
162
func (d *depot) Exists(id strfmt.UUID) (bool, *artifactInfo) {
163
+ d.mapMutex.Lock()
164
+ defer d.mapMutex.Unlock()
165
166
if _, ok := d.artifacts[id]; ok {
167
if artifact, exists := d.config.Cache[id]; exists {
168
return true, artifact
0 commit comments