You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a17e456
Browse filesBrowse the repository at this point in the historyBrowse files
Exempt testdata only on filesystem scans, never detector crashes
An image's paths are chosen by whoever built it, so a /testdata/ path in an
image no longer hides a coverage gap. Only real files on a filesystem scan
earn the test-fixture exemption, and a file a detector crashed on is always
a gap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: SNAPSHOT
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,4 @@ php2shell-scan: no commits yet; source/ and image/ copied 2026-10-21
3
3
Engine-only changes since the copy (port these back to emudhra-scan and php2shell-scan):
4
4
- internal/archive: PyInstaller zlib entries cap the untrusted ulen hint at clen*1032+1024, and read() copies a short single chunk so a lying hint cannot keep a large allocation alive
5
5
- internal/source: readOne opens with O_NOFOLLOW|O_NONBLOCK and checks the opened file is the same regular file the walk saw
6
-
- internal/engine: a detector panic on one file is contained and reported as not scanned; archive members named testdata/ no longer escape the coveragegap count (emudhra-scan's report.Gaps has the same exemption)
6
+
- internal/engine: a detector panic on one file is contained and reported as not scanned; the testdata/ exemption from the coverage-gap count applies only to real files on a filesystem scan, never image paths, archive members or detector crashes (emudhra-scan exempts testdata/ everywhere)
0 commit comments