summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget_x11.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-11-01 01:59:59 +0100
committerSlávek Banko <[email protected]>2019-12-18 17:54:37 +0100
commitb08a6d71ba872e67b75a822fcd44670126975818 (patch)
tree20c1bb3ecde14b0789b1a864e15cf7664df43fc7 /src/kernel/qwidget_x11.cpp
parent40078adb6a8c30c177858e3eb21b074c5b49521a (diff)
downloadqt3-b08a6d71ba872e67b75a822fcd44670126975818.tar.gz
qt3-b08a6d71ba872e67b75a822fcd44670126975818.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 <[email protected]>
Diffstat (limited to 'src/kernel/qwidget_x11.cpp')
0 files changed, 0 insertions, 0 deletions