Files
craft-libs/crates
FredApps e44720af47 media: refuse a truncated file on a FileReader cache hit
file() only checked length when reopening after eviction, so a prefix
read could still succeed if the handle was pooled. Check metadata on
the cached handle too, and drop the entry if the file is shorter or no
longer a regular file. MAX_OPEN_FILES is documented as a bound on
retained pool entries, not in-flight Arc handles.
2026-11-16 16:02:40 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…