diff options
author | Harshdeep Vaghela <harsh.v@samsung.com> | 2016-12-08 19:05:06 +0530 |
---|---|---|
committer | Harshdeep Vaghela <harsh.v@samsung.com> | 2016-12-08 19:05:06 +0530 |
commit | 9f64896b1224021b856f17d8f25f3d7a6c7ab443 (patch) | |
tree | 8cced7bd8a5cdfd9c8cffb3171a693d4e13da405 | |
parent | 350d12f61e76deef04f3bd17bd87e6449cee0aac (diff) | |
download | timer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.tar.gz timer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.tar.bz2 timer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.zip |
[Timer] Fixing SVACE issuessubmit/tizen_3.0/20161208.150108
Change-Id: I7c0ea74665ebdcc8c6c57aa5a5f2f17bb46ac4d1
Signed-off-by: Harshdeep Vaghela <harsh.v@samsung.com>
-rwxr-xr-x | inc/main.h | 1 | ||||
-rwxr-xr-x | src/main.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -74,6 +74,7 @@ typedef enum { typedef enum { TMR_SYSTIME_TYPE_USEC, TMR_SYSTIME_TYPE_SEC, + TMR_SYSTIME_TYPE_MAX, } TMR_SYSTIME_TYPE; @@ -190,7 +190,7 @@ static void _tmr_string_to_upper(char *text) gchar *strLower = (gchar *)text; gchar *goodUpper = g_utf8_strup(strLower, -1); - strncpy(text, goodUpper, strlen(goodUpper)); + strncpy(text, goodUpper, strlen(text)); g_free(goodUpper); } |