fix build error about snprintf 99/305899/2
authordyamy-lee <dyamy.lee@samsung.com>
Tue, 13 Feb 2024 01:34:11 +0000 (10:34 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Wed, 14 Feb 2024 09:00:36 +0000 (18:00 +0900)
commitea3138c02b0371bd25041b54c3598b6b948803f8
tree73c65a044ed7db4241f5d58b2073ec3ba0d6eb9d
parentbcb6f54ed604941d4e084711b050a10a95070bc3
fix build error about snprintf

The output may be truncated before the last format character. So, it checked length before using snprintf

Change-Id: Iad722db28a5fd443df33988adbb4b755aa5afaa3
common/vc_info_parser.c