Merge remote-tracking branch 'origin/tqtc/lts-5.15.12' into tqtc/lts-5.15-opensource
Change-Id: I304f4e4e7800cb47a601d51a7921c9502940066e
This commit is contained in:
commit
1019058c49
|
|
@ -2,4 +2,4 @@ load(qt_build_config)
|
|||
|
||||
DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST
|
||||
|
||||
MODULE_VERSION = 5.15.11
|
||||
MODULE_VERSION = 5.15.12
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Select the plausible largest natural integer type for the architecture */
|
||||
#define SIZEOF_WORDTYPE SIZEOF_SIZE_T
|
||||
|
|
|
|||
|
|
@ -361,6 +361,8 @@ bool QTiffHandler::read(QImage *image)
|
|||
}
|
||||
|
||||
TIFF *const tiff = d->tiff;
|
||||
if (TIFFIsTiled(tiff) && TIFFTileSize64(tiff) > uint64_t(image->sizeInBytes())) // Corrupt image
|
||||
return false;
|
||||
const quint32 width = d->size.width();
|
||||
const quint32 height = d->size.height();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue