added null check after calling strdup 29/305729/2
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 7 Feb 2024 03:27:40 +0000 (12:27 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Wed, 7 Feb 2024 09:34:02 +0000 (18:34 +0900)
commit4d607ac186cf88b04072085366aba6243bd66511
treee9900e5db3a6da991b4f7d2d353a783d24fecf05
parent72ee059f3047a279e13e1eb88d5898841e200ba4
added null check after calling strdup

If there is no enough memory, strdup() can return null because of out of memory.
For preventing it, this patch added null check

Change-Id: I346b57d6dc28c03aa50c34315b05520401150edc
client/vc_setting_tidl.c
client/vc_tidl.c
server/vcd_tidl.c