You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
This is because processImage is called in two goroutines. processImage eventually calls util.unpackTar which has unsynchronized access to util.hardlinks
@cvgw thanks for the issue. our team doesn't really have the engineering bandwidth to fix this issue right now, but contributions are certainly welcome. this should be fixable by using a SyncMap
Expected behavior
container-diff diff
does not panic due to concurrent map writesActual behavior
container-diff/cmd/diff.go
Line 118 in bca8ca4
Will cause a panic due to concurrent map writes
This is because
processImage
is called in two goroutines.processImage
eventually callsutil.unpackTar
which has unsynchronized access toutil.hardlinks
container-diff/pkg/util/tar_utils.go
Line 137 in bca8ca4
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: