summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobject.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:09 +0100
commitd8d67a842b11ba1b0c2ce83d7168670941499dbf (patch)
treeafb383e6dc829e8c986a62fffdeb8d245ba07b7e /src/kernel/qobject.cpp
parent361ea8bcf0e5c5f21f9c640d03acf8f63d692cf2 (diff)
downloadqt3-d8d67a842b11ba1b0c2ce83d7168670941499dbf.tar.gz
qt3-d8d67a842b11ba1b0c2ce83d7168670941499dbf.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/qobject.cpp')
0 files changed, 0 insertions, 0 deletions