summaryrefslogtreecommitdiffstats
path: root/src/kernel/qinternal.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-16 02:41:05 +0100
commit4470facd61b6d9fd862f70ce56f22ab502415d23 (patch)
tree97eeb245bba2daf95c58eb8352d09b77f80be627 /src/kernel/qinternal.cpp
parentda15dfe6d7ec8cd62964b99e56200a8adc7c8bf5 (diff)
downloadtqt3-4470facd61b6d9fd862f70ce56f22ab502415d23.tar.gz
tqt3-4470facd61b6d9fd862f70ce56f22ab502415d23.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/qinternal.cpp')
0 files changed, 0 insertions, 0 deletions