Skip to content
Snippets Groups Projects
Commit 5312e43c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix CID 33617: Copy into fixed size buffer

parent 7aa7df50
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -46,11 +46,11 @@ for(i=1;i<argc;i++)
if(!stricmp(argv[i],"/P"))
pause=1;
else
strcpy(dir,argv[1]);
SAFECOPY(dir,argv[1]);
if(!dir[0]) {
p=getenv("SBBSCTRL");
if(p!=NULL)
strcpy(dir,p); }
SAFECOPY(dir,p); }
backslash(dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment