You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
read_file: reject non-regular files (FIFO hang inside the jail) #117
read_file can hang forever on a FIFO/named pipe inside the workspace jail (cora full-scan MAJOR #21): only directories are rejected; a FIFO passes, metadata().len() is 0 so the 1 MiB cap never triggers, and the open/read blocks indefinitely.
Fix: require meta.is_file() (covers FIFOs/sockets/devices) and enforce the size cap at read time, not metadata time.
Acceptance: unit test creating a FIFO in the jail (mkfifo) and asserting a clean error, not a hang (run under a timeout in the test).
Activity
fix: read_file rejects non-regular files (FIFO hang in the jail) (#117)…
feat(trust): workspace preset — writes auto-allowed only inside the j…