Merge branch '1.3.x' into 1.4.x
This commit is contained in:
@@ -10,6 +10,16 @@ between the i386 and x86_64 RPMs (any differing files, other than executables,
|
|||||||
are not allowed when 32-bit and 64-bit RPMs are installed simultaneously.)
|
are not allowed when 32-bit and 64-bit RPMs are installed simultaneously.)
|
||||||
Since the macro is used only internally, it has been moved into jconfigint.h.
|
Since the macro is used only internally, it has been moved into jconfigint.h.
|
||||||
|
|
||||||
|
[2] Fixed an issue in the accelerated Huffman decoder that could have caused
|
||||||
|
the decoder to read past the end of the input buffer when a malformed,
|
||||||
|
specially-crafted JPEG image was being decompressed. In prior versions of
|
||||||
|
libjpeg-turbo, the accelerated Huffman decoder was invoked (in most cases) only
|
||||||
|
if there were > 128 bytes of data in the input buffer. However, it is possible
|
||||||
|
to construct a JPEG image in which a single Huffman block is over 430 bytes
|
||||||
|
long, so this version of libjpeg-turbo activates the accelerated Huffman
|
||||||
|
decoder only if there are > 512 bytes of data in the input buffer.
|
||||||
|
|
||||||
|
|
||||||
1.4.2
|
1.4.2
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
|||||||
4
jdhuff.c
4
jdhuff.c
@@ -4,7 +4,7 @@
|
|||||||
* This file was part of the Independent JPEG Group's software:
|
* This file was part of the Independent JPEG Group's software:
|
||||||
* Copyright (C) 1991-1997, Thomas G. Lane.
|
* Copyright (C) 1991-1997, Thomas G. Lane.
|
||||||
* libjpeg-turbo Modifications:
|
* libjpeg-turbo Modifications:
|
||||||
* Copyright (C) 2009-2011, D. R. Commander.
|
* Copyright (C) 2009-2011, 2016, D. R. Commander.
|
||||||
* For conditions of distribution and use, see the accompanying README file.
|
* For conditions of distribution and use, see the accompanying README file.
|
||||||
*
|
*
|
||||||
* This file contains Huffman entropy decoding routines.
|
* This file contains Huffman entropy decoding routines.
|
||||||
@@ -746,7 +746,7 @@ decode_mcu_fast (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
|
|||||||
* this module, since we'll just re-assign them on the next call.)
|
* this module, since we'll just re-assign them on the next call.)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define BUFSIZE (DCTSIZE2 * 2)
|
#define BUFSIZE (DCTSIZE2 * 8)
|
||||||
|
|
||||||
METHODDEF(boolean)
|
METHODDEF(boolean)
|
||||||
decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
|
decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user