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 <slavek.banko@axis.cz>
(cherry picked from commit 4470facd61
)
r14.0.x
r14.0.7
parent
b90f9cb6ca
commit
cd2dc5026e
Loading…
Reference in new issue