summaryrefslogtreecommitdiff
path: root/third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch')
-rw-r--r--third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch b/third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
index cdb8fc6fdf..5d44fb1cbc 100644
--- a/third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
+++ b/third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch
@@ -3,7 +3,7 @@ index 09cfea4..20fda63 100644
--- a/core/fxcodec/codec/ccodec_tiffmodule.cpp
+++ b/core/fxcodec/codec/ccodec_tiffmodule.cpp
@@ -79,6 +79,10 @@ int _TIFFmemcmp(const void* ptr1, const void* ptr2, tmsize_t size) {
- return FXSYS_memcmp(ptr1, ptr2, (size_t)size);
+ return memcmp(ptr1, ptr2, (size_t)size);
}
+int _TIFFIfMultiplicationOverflow(tmsize_t op1, tmsize_t op2) {