Artifact 28c6f12378b11897762a5650e9c6a37c63047522143a922bfadb8c87a52b248a:
- File
test/corpus/lintrules/grown-91dacf755b2e
— part of check-in
[d03820d0a9]
at
2026-11-15 17:53:12
on branch trunk
— Hook programs get the event's input read-only
The dispatcher gave every program the spooled input through the one descriptor it wrote with, so a program that wrote to its standard input could change the bytes the next program read. The spool is now opened a second time, read-only, before it is unlinked; the copy is written through the first descriptor, which is then closed, and the programs inherit the read-only one. If the second open fails the message is cannot reopen the temporary file, the exit status is 1, no program runs, and no temporary file is left.
8 new shell cases: a program that tries to write to its input fails and the next program still reads the original bytes, and the new failure in the home folder and in the temporary folder.
1355 unit checks, 606 shell cases (was 598), 669 store cases, 756 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (35 minutes). 100% coverage in all 25 source files. The speed budget still passes. No suite has fewer cases than at the last check-in. (user: dmestas, size: 390) [annotate] [blame] [check-ins using]
forbid #oxaaab forbid bic forbid d orbzc forbid s forbid s* forbid aBbD forbid � forbid ��c forbid � allow �c forbid I�#c forbid I@bc forbid I~k- forbid AIn#s* forbid aBb forbid nc forbid I�c forbid I#c forbid I@b forbid I~g#qk- forbid A8- forbid c forbid aW forbid Aor@Abc forbid I#- forbid nj@bc forbid I-bc forbid 's��Abc forbid cx forbid aBbW forbid x��a` forbid I forbid xx* forbid xo