Fix strncpy() missing null character coverity issue 33/323933/1 accepted/tizen/unified/20250512.133259 accepted/tizen/unified/x/20250513.034802
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 9 May 2025 01:31:01 +0000 (10:31 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 9 May 2025 08:32:17 +0000 (17:32 +0900)
commitcd4a13174d5bb46b932893219028e50745546f93
tree90fb02c21ebc70ad8b3474e6db369fab04fc5386
parentbb43281cd48143cc687efdce030a2ac301393263
Fix strncpy() missing null character coverity issue

If the strncpy gets the exact length of destination,
null character can be missed.
To fix up this, null character setting explicitly is added.

Change-Id: I8537e53df5e82e63a46898363003d9734bcd731f
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/service/src/plugin_push.cpp