mirror of
https://github.com/penpot/penpot.git
synced 2026-09-22 11:56:15 +00:00
Accept an optional :max-size keyword argument in blob/decode and blob/decode-str. When provided, the uncompressed size declared in the blob header is validated before allocating memory, raising an error if it exceeds the limit. Callers that do not pass :max-size are unaffected. AI-assisted-by: deepseek-v4-pro