summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpixmap_x11.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-01 01:59:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-18 17:55:19 +0100
commit0f0b7ff115ae07da28e438ce92022e48c26e9289 (patch)
treef2d8b06639f9bf7b69b053926e54e9f8b6d9f8c0 /src/kernel/qpixmap_x11.cpp
parent0aaa77dd7e2eeca2313187c5b3eb1b7edc986708 (diff)
downloadqt3-0f0b7ff115ae07da28e438ce92022e48c26e9289.tar.gz
qt3-0f0b7ff115ae07da28e438ce92022e48c26e9289.zip
Fix crash in tqimage for certain malformed ppm image files
The ppm format specifies that the maximum color value field must be less than 65536. The handler did not enforce this, leading to potentional overflow when the value was used in 16 bits context. Based on Qt5 patch for CVE-2018-19872. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b08a6d71ba872e67b75a822fcd44670126975818)
Diffstat (limited to 'src/kernel/qpixmap_x11.cpp')
0 files changed, 0 insertions, 0 deletions