sw_engine shape: prevent crash when wrong pair of commands & points.
authorHermet Park <chuneon.park@samsung.com>
Tue, 24 Aug 2021 06:04:06 +0000 (15:04 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 30 Aug 2021 00:44:59 +0000 (09:44 +0900)
commit4514d5145515b76812b7950c153a834dc70a27fa
treec16bb821e035fadaafa9715e009138544192e63e
parentad6ce083abd9df56a570f4793e78802966548e19
sw_engine shape: prevent crash when wrong pair of commands & points.

add an exception handling,
if the given points count is not matched with expected points count from commands.

@Issue: https://github.com/Samsung/thorvg/issues/735
src/lib/sw_engine/tvgSwShape.cpp