svg_loader: fix potential mem corruption in _idFromUrl function
authorMichal Maciola <m.maciola@samsung.com>
Wed, 22 Sep 2021 07:48:54 +0000 (09:48 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 20 Oct 2021 04:50:36 +0000 (13:50 +0900)
commit854364c5a6e96bacf254ad5cb0757804fc4a7b04
tree61219a0740149e12f7f4b903de1d11241675d861
parent4b7bd0b344b8ed94b3549333fe85bcd4f7d54923
svg_loader: fix potential mem corruption in _idFromUrl function

This patch fixes some potential memory corruptions in _idFromUrl function
when name (url) is longer than 50 chars or is incorrectly terminated.
src/loaders/svg/tvgSvgLoader.cpp