A wildcard deny holds its lines; a redirect to nowhere is read, and one that writes a file is asked (#241 + F1, PR 3 of 5 of owner/953-chat) #313
Loading…
Reference in a new issue
No description provided.
Delete branch "neptunus/241-redirect-reader"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #241. This is PR 3 of 5 landing Raf's owner/953-chat branch, per Saturnus's review REVIEW_2026-11-30_owner-953-chat. Neither commit is #241's Done-when (an unattended crew answered by rule); they are fixes inside it.
07d65fc8a wildcard in a shell deny holds its lines, not the whole shell. Cherry-picked unchanged; the review found it sound.787aef6ba redirect that writes nowhere does not make a line unreadable. Cherry-picked unchanged.d470be29F1 (new): a redirect that writes a file is never read as one that writes nowhere. Each redirect to nowhere must start a word, and a duplication is>&and digits that end the word. Soecho pwned >&0/../.bashrc,echo pwned >&2xandls2>/dev/nullare refused and asked again. The test was red first, and two mutants (no start anchor; an unanchored duplication) each turn it red.Proof at the tip: typecheck, the whole
npm run verify, the wholenpm test(through run_the_tests_in_a_namespace_of_their_own.sh) and check:private.The whole suite at this tip: 5753 tests, 1 fail: the known flake #248 (the martha#70 hard-killed-loop case under load). Its file passed 3 of 3 runs on its own, and this PR touches nothing under
prove_the_core.