SvgLoader: Prevent underflow when stack.cnt is 0
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 2 Sep 2020 08:10:50 +0000 (17:10 +0900)
committerHermet Park <chuneon.park@samsung.com>
Wed, 2 Sep 2020 09:26:50 +0000 (18:26 +0900)
commit36058653c5a51df96ad2345e700a4bb691907919
treefbd7bbb4dbf4833c7a42d066d2cd0b652be56268
parented2f26b89bc1669e643bf97fa145c2142b3022c0
SvgLoader: Prevent underflow when stack.cnt is 0

If graphic node is directly located in the <svg>(root) node,
it may cause underflow because stack.cnt is 0.

Change-Id: I04b8aac9354cb33a9e7b5d277e6681fbcecce975
src/loaders/svg/tvgSvgLoader.cpp