Files
LocalAI/pkg
Ettore Di Giacinto 5c7982d1f7 fix(downloader): resolve gosec G122 in CleanupStalePartialFiles
CI's code-scanning (gosec) flagged G122 (symlink TOCTOU) for the os.Remove
call inside the filepath.WalkDir callback. Collect the stale paths during the
walk and delete them afterwards instead of mutating the tree from inside the
callback. Behavior is unchanged; the existing specs still pass.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Assisted-by: Claude:claude-opus-4-8 [Claude Code]
2026-06-19 15:22:42 +00:00
..
2026-03-30 00:47:27 +02:00
2025-11-13 18:41:47 +01:00
2024-06-23 08:24:36 +00:00