Fix ASAN build issue 46/318846/2 accepted/tizen_9.0_unified accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234509 accepted/tizen/unified/20241011.010703 accepted/tizen/unified/toolchain/20241022.122653 accepted/tizen/unified/toolchain/20241022.123056 accepted/tizen/unified/x/20241011.021826 accepted/tizen/unified/x/asan/20241013.235429 tizen_9.0_m2_release
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 Oct 2024 01:47:28 +0000 (10:47 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 Oct 2024 01:57:36 +0000 (01:57 +0000)
commitfb0487d0ffdd970d4edf8d4b52e8b55ed48ea597
tree27e926fb31893c63848a826ec6f9f74bc0d9e766
parent9b708cac1cb99f7888ed8afb304669bcf54926aa
Fix ASAN build issue

The strncpy with character size of fixed size string still
causes stringop-truncation warning in ASAN build, so resolve
the issue with strncpy of full size including terminated
character.

Change-Id: I09be11b837c3c1ed7f34e48b242bad912cbb92ca
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
src/mmi/mmi-port.cpp