diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-08-02 13:11:20 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-08-03 08:01:47 +0000 |
commit | 8c4207dddf9b2af0767de2ef0a10652612d462a5 (patch) | |
tree | 1dff39030ca2c9d75cea82ed1942eb2bfc17ce14 /tests/auto/corelib/io/qprocess | |
parent | 9d4d05ec536289d8d62cfed60e02f38febfc3052 (diff) |
Fix crash in qppmhandler for certain malformed 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.
Task-number: QTBUG-69449
Change-Id: Iea7a7e0f8953ec1ea8571e215687d12a9d77e11c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qprocess')
0 files changed, 0 insertions, 0 deletions