diff options
| author | sovljanskii <sovljanski04@gmail.com> | 2026-11-22 14:25:03 +0100 |
|---|---|---|
| committer | sovljanskii <sovljanski04@gmail.com> | 2026-11-22 14:25:03 +0100 |
| commit | 17996480d954913afc7a57fe45d6497d01c14f7f (patch) | |
| tree | d94ff87d03f73cacfe1c555d2f7e73652073c7c3 /docs/d3d12_command_objects.md | |
| parent | a0acd33d77babe67a28e398b2936a9f735a50f5d (diff) | |
navmesh_index: refuse a report path that is a scanned file under another name
is_scanned_input matched the report path against --pattern with fnmatch,
which folds case only on Windows. On a case-insensitive macOS (or Linux)
volume, `navmesh_index.py carve --out CARVE/PAGE.BIN` found the input
folder through same_report_path but didn't match *.bin, so the report
truncated carve/page.bin and the tool exited 0. A hard link inside the
input folder did the same on any filesystem, since the report is opened
in place.
When the pattern doesn't match the spelling, ask the scan's own glob
whether any file it reads is the report path (same_report_path). The new
test uses a hard link so it runs on the Linux and Windows CI runners,
where the case test skips or already passes.
AI-assisted.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions