Files
Sylvestre LedruandGitHub 7d27b3baa1 head: add TOCTOU regression tests and fix comment typo (#12637)
Follow-up to the metadata TOCTOU fix (#11972, PR #12439):

- Add a syscall-level regression guard in util/check-safe-traversal.sh:
  under strace, head must read metadata from the open descriptor
  (fstat/statx on the fd) and must not stat the path before opening it.
  Verified this fails on the pre-fix code and passes after.
- Add an integration test asserting that an unreadable file produces an
  error but no "==> name <==" header, matching GNU (the header is only
  printed after a successful open).
- Fix a stray paren in the Windows-branch comment.
2026-06-05 15:21:40 +02:00
..
2026-02-01 00:44:36 +09:00
2026-05-21 09:13:41 +02:00
2026-04-17 07:24:13 +02:00
2026-03-30 15:32:39 +02:00
2025-09-28 10:34:56 +02:00
2026-02-01 00:44:36 +09:00
2026-02-01 00:44:36 +09:00
2026-02-01 00:44:36 +09:00
2026-02-01 00:44:36 +09:00
2026-02-01 00:44:36 +09:00
2026-05-19 10:33:29 +02:00
2026-04-28 14:24:49 +02:00
2026-05-13 07:53:46 +02:00
2025-12-23 14:27:38 +01:00
2026-04-29 11:03:10 +02:00
2026-01-12 17:13:08 +09:00
2026-04-30 14:45:28 +02:00