Fix pointer array initialization 05/296705/2 accepted/tizen_8.0_unified accepted/tizen/8.0/unified/20231005.094242 accepted/tizen/unified/20230807.014655 tizen_8.0_m2_release
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 3 Aug 2023 07:13:06 +0000 (16:13 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 3 Aug 2023 08:05:40 +0000 (17:05 +0900)
commit95bf2e65a8ff868d8bbe392522c18404079579dd
treeeac792e7b8557c90fbd5df478b32d562052dc852
parent36dcbb8ec4d32d12d21d1e44f966d5a9b6b85a8c
Fix pointer array initialization

- Issue:
Buffer overflow can occur when the array is initialized.

- Solution:
This patch uses the zero-initialization for initializing the arrays.
Since C++11, using empty brace sets all value in a array as 0. The
standard names this as zero-initialization. Thus, this patch changes
the initialization using this initialization method.

Change-Id: Ib4362e3db69f2c70cdc16d00ab44303ffbee234b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
inc/service_config.h