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
)
v3.5.13-sru
parent
55c97eb0b3
commit
c677642f0c
Loading…
Reference in new issue