Files
vectorcraft/docs
dotCooCoo e464b612cf Paste: a copied file over 64 MiB is skipped before it is read
Paste read a file copied in a file manager whole with std::fs::read,
with no size limit. It now checks the opened file's size against
MAX_BYTES (64 MiB, the limit the Wayland clipboard reads already use,
now shared) before reading its first bytes, and reads the rest with a
bounded reader, so a file that grows after the check is read to at
most one byte past the limit and skipped. A skipped file lets the next
copied file that is art paste, as an unreadable one does.
2026-11-14 05:38:36 -08:00
..
…