common initializer: fix out of buffer access by the version info string.
authorHermet Park <chuneon.park@samsung.com>
Mon, 9 Aug 2021 04:20:27 +0000 (13:20 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 9 Aug 2021 06:36:58 +0000 (15:36 +0900)
commit3bb2666c95ad83bdef06d5cbc51882670a88f0e3
treef3fdd404b690131be74668457a36f63c4a252b8a
parente3c57157bbb2fb471df94f1bd6590102ed92da46
common initializer: fix out of buffer access by the version info string.

String must be finished at termination charactor,
previous logic missed that handling, now fixed.

@Issue: https://github.com/Samsung/thorvg/issues/690
src/lib/tvgInitializer.cpp