Fix an extremely rare crash that can occur when compressing a very high-frequency...
authorDRC <dcommander@users.sourceforge.net>
Thu, 21 Aug 2014 01:53:47 +0000 (01:53 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 21 Aug 2014 01:53:47 +0000 (01:53 +0000)
commit9c168ad23bd90ebd66cc486b32d64d6ce93b9f2a
treea2edd9061809e3a2d54b765bdb881f00c059684c
parentf6d7b7768b5230eef6816f9eff7d8f0dc6fa482e
parent29823fa9a6171144ebc10ea14fb0c44f5624ee5e
Fix an extremely rare crash that can occur when compressing a very high-frequency MCU using quality 100 and no subsampling, and when dynamically allocating the JPEG buffer in the destination manager.  Even with a test program designed specifically to reproduce the crash, it only occurred once in about 25 million iterations.  More details here:  https://sourceforge.net/p/libjpeg-turbo/bugs/64

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1364 632fc199-4ca6-4c93-a231-07263d6284db
jchuff.c