forked from enlightenment/efl
Revert "edje edje_cc_out: use strncpy()."
This reverts commit 6de3b2c5d3
.
just dismiss in coverity if the code is not actually wrong
This commit is contained in:
parent
72f0bfa224
commit
f4606d54eb
|
@ -4036,10 +4036,9 @@ data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void
|
|||
int quote, escape;
|
||||
|
||||
keyl = strlen(prefix) + 2;
|
||||
int key_len = keyl + 1;
|
||||
key = alloca(key_len);
|
||||
key = alloca(keyl + 1);
|
||||
if (!key) return;
|
||||
strncpy(key, prefix, key_len);
|
||||
strcpy(key, prefix);
|
||||
strcat(key, ":\"");
|
||||
quote = 0;
|
||||
escape = 0;
|
||||
|
|
Loading…
Reference in New Issue