(prevent: 486267, 486268, 486269, 486279, 486280, 486281)
Change-Id: I52736d3a43543fba5956a92e447805b97035f1fd
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
return;
}
- strcpy(str, src);
+ snprintf(str, sizeof(str), "%s", src);
p = strtok_r(str, "/", &tmp);
if (!p)
snprintf(buf, sizeof(buf), "%d", cnt);
return strdup(buf);
} else {
- strcpy(buf, gi->name);
+ snprintf(buf, sizeof(buf), "%s", gi->name);
city = strtok_r(buf, "/", &tmp);
country = strtok_r(tmp, "", &tmp);
char buf[64], s[64];
char *city, *country, *tmp;
- strcpy(buf, title);
+ snprintf(buf, sizeof(buf), "%s", title);
city = strtok_r(buf, "/", &tmp);
country = strtok_r(tmp, "", &tmp);