diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-09-04 11:08:06 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-09-26 09:11:14 +0000 |
commit | c9b9f663d7243988bcb5fee9180ea9cb3a321a86 (patch) | |
tree | 1a7d85721b1667ccbd3ffa3c3d8874c0cc60c4e0 /src/android | |
parent | 91c83d842c54180f98b23a1cf8878b9d7a22f1b2 (diff) |
bmp image handler: check for out of range image size
Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.
Change-Id: I874e04f3b43122d73f8e58c7a5bcc4a741b68264
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 621ab8ab59901cc3f9bd98be709929c9eac997a8)
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 5104a529ce5aea5e94101770ece188b98f20baaa)
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions