Skip to content

SVG Image reading: Reject oversize svgs as corrupt

Andreas Sturmlechner requested to merge asturmlechner/qtsvg:QTBUG-95891 into kde/5.15

Add an upper limit for height and width at 0xffff, same as jpeg.

Fixes: QTBUG-95891 Pick-to: 6.2 5.15 5.12 Change-Id: I0dbc80dab3aab9b4743548772fb63fa69ea21f8a Reviewed-by: Robert Löhning Reviewed-by: Allan Sandfeld Jensen (cherry picked from commit e544d8e4)

asturmlechner 2022-01-03: resolve conflict with preceding dev branch commit 0003ec68.

Merge request reports