Commit ffcacc97 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Use SAFECOPY() - CID 345193

parent 0553ef9b
Pipeline #2559 passed with stage
in 9 minutes and 22 seconds
......@@ -1737,9 +1737,9 @@ js_new_user(JSContext *cx, uintN argc, jsval *arglist)
/* settings */
if(cfg->total_fcomps)
strcpy(user.tmpext,cfg->fcomp[0]->ext);
SAFECOPY(user.tmpext,cfg->fcomp[0]->ext);
else
strcpy(user.tmpext,supported_archive_formats[0]);
SAFECOPY(user.tmpext,supported_archive_formats[0]);
user.shell=cfg->new_shell;
user.misc=cfg->new_misc|(AUTOTERM|COLOR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment