mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
In several files, the error passed from filepath.Walk to WalkFunc is not checked. As the info argument to WalkFn is nil in case of an error, accessing info can cause a runtime panic. This commit adds checks for errors passed through to WalkFunc.
5.2 KiB
5.2 KiB