mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-17 16:44:27 -04:00
[misc] fix Coverity warnings
* Also re-instate the _coverity.cmd script and try to fix AppVeyor Coverity uploads
This commit is contained in:
parent
1e85b4dbf5
commit
c8078b0119
7 changed files with 45 additions and 17 deletions
|
@ -1210,9 +1210,11 @@ char* replace_in_token_data(const char* filename, const char* token, const char*
|
|||
|
||||
// Output all the truncated fragments + replaced strings
|
||||
for (j = 0; torep[j] != NULL; j++)
|
||||
// coverity[invalid_type]
|
||||
fwprintf_s(fd_out, L"%s%s", &buf[p[j]], wrep);
|
||||
|
||||
// Ouput the last fragment
|
||||
// coverity[invalid_type]
|
||||
fwprintf_s(fd_out, L"%s", &buf[p[j]]);
|
||||
|
||||
ret = (char*)rep;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue