terminate the cleaned filename with zero character, thanks to Jay for reporting this fix!
This commit is contained in:
@@ -912,6 +912,7 @@ char* fixFileName(const char* lpCmdLine)
|
||||
out++;
|
||||
}
|
||||
|
||||
cleaned_filename[i] = '\0';
|
||||
return cleaned_filename;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user