fix: log+skip on symlink TOCTOU in execute_jobs (v0.5.11)
The v0.5.10 compound guard 'isdir and not islink' silently skipped the rmtree when person_dir was a symlink-to-directory, then let makedirs follow the symlink — allowing crop writes outside output_dir with no diagnostic. Replace with an explicit islink pre-check that logs an error and continues, matching the ValueError path from _safe_person_dir.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "winnow"
|
||||
version = "0.5.10"
|
||||
version = "0.5.11"
|
||||
description = "Selects diverse, high-quality photos from Immich as training data for Frigate face recognition."
|
||||
license = "AGPL-3.0-or-later"
|
||||
requires-python = ">=3.13"
|
||||
|
||||
Reference in New Issue
Block a user