[svg2png] size limitation while converting the file 84/289784/1
authorMira Grudzinska <m.grudzinska@samsung.com>
Sun, 20 Nov 2022 19:46:50 +0000 (20:46 +0100)
committerMichal Szczecinski <mihashco89@gmail.com>
Tue, 14 Mar 2023 08:42:27 +0000 (09:42 +0100)
commit7c2e5c1373627a403c03a60f2b5d175027ba4ef6
treebabe5853ca1e6998fb4c7cde2261bbde7cb64a9e
parent7ac2eb24e7298549a90acc25816e80120efd24ec
[svg2png] size limitation while converting the file

In case the svg file size is too large, a heap overflow occurred
when conversting to png. To prevent this a size limitation
has been added - the resolution of the resulting png file cannot
be higher than 8k (7680 x 4320).

Change-Id: Iba8cf11a3afc47a0594b2ff07862fc8ee410002f
src/bin/svg2png/svg2png.cpp