Fix issue detected by static analysis tool 38/295938/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 17 Jul 2023 11:02:21 +0000 (20:02 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 18 Jul 2023 02:23:06 +0000 (11:23 +0900)
commite52f8a151ef2924190de9c534aeda0a654982d99
tree284ae2b983eb9e4bcd21380a5b4512f21d6b880b
parentfba09b8a9145552a9702df89f0878f08aea4498f
Fix issue detected by static analysis tool

Because sprintf assumes an arbitrarily long string,
callers must be careful not to overflow the actual space of the destination.

Change-Id: I4a3e641459d1da0f54db7eeb109447868906e394
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/compose/parser.c