Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.
Based on Qt5 patch for CVE-2018-19873.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a00e43bd1c
)
r14.0.x
r14.0.6
parent
ac1b4232ff
commit
2fd4dcbf56
Loading…
Reference in new issue