commit | 1e81b0c3ea26f4ea8f56de05367469333de64a9f | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Thu Mar 31 09:49:49 2016 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Thu Mar 31 09:54:14 2016 -0500 |
tree | 01effaa05aa7f43cdd24be03d6f242b762845c8f | |
parent | 6f241d4d425296badbf6b4f9477fbc3cace5a8fc [diff] |
cjpeg: Fix buf overrun caused by bad bin PPM input This extends the fix in 6709e4a0cfa44d4f54ee8ad05753d4aa9260cb91 to include binary PPM/PGM files, thus preventing a malformed binary PPM/PGM input file from triggering an overrun of the rescale array and potentially crashing cjpeg. Note that this issue affected only cjpeg and not the underlying libjpeg-turbo libraries, and thus it did not represent a security threat. Thanks to @hughdavenport for the discovery.