Hello,
The ncols variable in loader_bmp's load() function is set to more
than 256 for this file, which overflows rgbQuads. The attached
file is an updated version of loader_bmp.c from 1.1.0 (sorry) that
limits the value to 256.
I have also attached loader_lbm.c, an IFF ILBM loader.
loader_bmp.c
Description: Binary data
loader_lbm.c
Description: Binary data
