google / wuffs

Wrangling Untrusted File Formats Safely
Other
4.07k stars 129 forks source link

Check for "not enough pixel data" and return an Error or Warning #20

Closed LeonScroggins closed 5 years ago

LeonScroggins commented 5 years ago

It is possible for a frame's image data to not contain enough LZW blocks to fill the frame rect. Wuffs should report an error in this case. There is already a TODO.