From dda2c0dc502b50d4de66b80305441bfb612ec6c1 Mon Sep 17 00:00:00 2001 From: tracy_jiang Date: Mon, 29 Aug 2016 13:42:56 -0700 Subject: Fix for #618267. Adding a method to determine if multiplication has overflow. BUG=618267 Review-Url: https://codereview.chromium.org/2284063002 --- third_party/libtiff/tiffio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/libtiff/tiffio.h') diff --git a/third_party/libtiff/tiffio.h b/third_party/libtiff/tiffio.h index 038b67013f..056aed22f7 100644 --- a/third_party/libtiff/tiffio.h +++ b/third_party/libtiff/tiffio.h @@ -298,6 +298,7 @@ extern void _TIFFmemset(void* p, int v, tmsize_t c); extern void _TIFFmemcpy(void* d, const void* s, tmsize_t c); extern int _TIFFmemcmp(const void* p1, const void* p2, tmsize_t c); extern void _TIFFfree(void* p); +extern int _TIFFIfMultiplicationOverflow(tmsize_t op1, tmsize_t op2); /* ** Stuff, related to tag handling and creating custom tags. -- cgit v1.2.3