Avoid overflow in gint multiplication
In the convolution matrix filter code, we read the orderx and ordery for the convolution
matrix. However, multiplying them as gints may overflow.
Found by fuzz testing when orderx = ordery = 65536
Fuzz testing kindly provided by Atte Kettunen <attekett@gmail.com>
From librsvg-fuzz case rsvgconvert-060-3ef-705-f72.svg
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
parent
8c71bac8
Please register or sign in to comment