Files
coreutils/tests/df
Collin Funk 3f8a5b5470 df: don't open non-directory operands
* src/df.c (automount_stat_err): Use O_DIRECTORY when opening operands.
Fall back to stat if open fails with ENOTDIR.
* tests/df/open.sh: New file.
* tests/local.mk (all_tests): Add the new test case.
* NEWS: Mention the bug fix.

Discovered by Anthropic's OSS Scanner, as bug ANT-2026-Z5SPLRCM.
2026-11-13 18:27:05 -08:00
..
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-11-13 18:27:05 -08:00
2026-09-07 16:23:49 +01:00