mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 18:03:32 +00:00
The png reader's stream buffer grows by doubling its reservation, and while it grows the old reservation and the new one are both allocated. The room estimate counted the buffer twice, for the doubled reservation, but not the moment both are held, so a wide PNG could be approved for a row-at-a-time decode with less room than reading it takes. The estimate now counts the stream buffer three times.