summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libwebp/src/utils/color_cache.c
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-10-14 18:33:10 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-01-05 15:03:03 +0000
commit0870e670665a702665948723bb7b1eb61a9572a8 (patch)
treed374295b5b493729546d4a47876588d6d3896613 /src/3rdparty/libwebp/src/utils/color_cache.c
parent33b9fc4e062537a5ab8d4c60c72573f868ab3f13 (diff)
QWbmpHandler: fix integer overflow
Both 'hdr.height' and 'hdr.width' are quint32s. Multiplying them still gives a quint32, but the lhs expected a qint64. Fix by casting one of the operands to qint64. Coverity-Id: 22179 Change-Id: If7385fb42bf994d87ac4e603fa85be4a30ad6d5c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/3rdparty/libwebp/src/utils/color_cache.c')
0 files changed, 0 insertions, 0 deletions