google / wuffs

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

Some bad GIFs have extra blocks beyond the last row, which we should ignore to decode #57

Closed zp1996 closed 2 years ago

zp1996 commented 2 years ago

resolve issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1270631

nigeltao commented 2 years ago

Thanks for the PR, but I think that commit e44920d382c9b542e17287664937e547becc7148 is a cleaner fix (and also adds a test).