hidefromkgb / gif_load

A slim, fast and header-only GIF loader written in C
80 stars 6 forks source link

Segfault on a specially crafted GIF file (GIFLIB #106) #2

Closed hidefromkgb closed 6 years ago

hidefromkgb commented 6 years ago

This is very similar to what GIFLIB is prone to.

Test image here: |memory-leak-in-gif2rgb-1| ¯¯¯¯¯¯¯

hidefromkgb commented 6 years ago

OK, so the cause is the multi-pixel code that`s able to pass through the bit mask while being uninitialized. Fix underway.

hidefromkgb commented 6 years ago

Fixed in 3d502af.