Commit d00d7d8c194e587ed10a395e0f307ce9dddf5687

DRC 2018-10-05T16:13:07

cjpeg: Fix OOB read caused by malformed 8-bit TGA ... in which one or more of the color indices is out of range for the number of palette entries. Fix partly borrowed from jpeg-9c. Fixes #295