Severity: Critical
In incrementalDiff, entry.path from the walker is tied to the per-cycle arena. When pushed into the EventQueue, the path outlives the arena's deinit, creating a dangling pointer.
Fix: Use the persistent allocator to dupe paths before enqueuing, or use the already-duped key from the known map.
Files: src/watcher.zig:228
Severity: Critical
In
incrementalDiff,entry.pathfrom the walker is tied to the per-cycle arena. When pushed into the EventQueue, the path outlives the arena's deinit, creating a dangling pointer.Fix: Use the persistent allocator to dupe paths before enqueuing, or use the already-duped key from the
knownmap.Files:
src/watcher.zig:228