mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-13 05:42:38 +00:00
read_capped checked the path's metadata (type and size) and then opened the path again, so an entry swapped between the two steps was read without those checks. The opened handle's metadata is checked as well; the path check stays, so a pipe is still refused before it is opened.