K 10 svn:author V 7 antoine K 8 svn:date V 27 2015-03-29T17:31:49.581887Z K 7 svn:log V 306 tools/tiffdither.c: check memory allocations to avoid writing to NULL pointer. Also check multiplication overflow. Fixes #2501, CVE-2014-8128. Derived from patch by Petr Gajdos. Reported by: naddy Obtained from: https://github.com/vadz/libtiff/commit/147b2698c84004fe2da93c0fc7177a7c3797533d MFH: 2015Q1 END