(Blackberry) Replace strcpy with strlcpy

This commit is contained in:
twinaphex 2013-03-25 02:07:13 +01:00
parent 53d49907ed
commit a7ea3b3ec7

View File

@ -28,8 +28,8 @@ int rarch_main(int argc, char *argv[])
rarch_main_clear_state();
strcpy(g_extern.config_path,"app/native/retroarch.cfg");
strcpy(g_settings.libretro,"app/native/lib");
strlcpy(g_extern.config_path, "app/native/retroarch.cfg", sizeof(g_extern.config_path));
strlcpy(g_settings.libretro, "app/native/lib", sizeof(g_settings.libretro));
config_load();
global_init_drivers();