slimtoolkit / slim

Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
19.21k stars 716 forks source link

fix: Sensor misses error check when walking container's fs #441

Closed iximiuz closed 1 year ago

iximiuz commented 1 year ago

fstat() can fail for some of the entries making the file enumeration panic. This PR should make sensor warn instead.

ghost commented 1 year ago
👇 Click on the image for a new way to code review - Make big changes easier — review code in small groups of related files - Know where to start — see the whole change at a glance - Take a code tour — explore the change with an interactive tour - Make comments and review — all fully sync’ed with github [Try it now!](https://app.codesee.io/r/reviews?pr=441&src=https%3A%2F%2Fgithub.com%2Fdocker-slim%2Fdocker-slim)

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend