summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-22 08:31:04 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-22 08:31:04 +0900
commit53095d6fc76bad3293cfbf493684e82a29811d8b (patch)
treeef250810cb07a22104957bd4893497b3423456f8
parent8c28a70b4373d15dca8333dbd0d9a314dd941505 (diff)
Revert "edje/edje_cc: use strncpy() instead of strcpy()."
This reverts commit ab1a72f5e7df6fe0adef54bdcddd9867a2ebe3a6. just dismiss in coverity if the code is not actually wrong
-rw-r--r--src/bin/edje/edje_cc_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index efabe22d58..525c71d394 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -391,7 +391,7 @@ next_token(char *p, char *end, char **new_p, int *delim)
391 l = sscanf(tmpstr, "%*s %i \"%[^\"]\"", &nm, fl); 391 l = sscanf(tmpstr, "%*s %i \"%[^\"]\"", &nm, fl);
392 if (l == 2) 392 if (l == 2)
393 { 393 {
394 strncpy(file_buf, fl, sizeof(file_buf)); 394 strcpy(file_buf, fl);
395 line = nm; 395 line = nm;
396 file_in = file_buf; 396 file_in = file_buf;
397 } 397 }