[core] add an exception for JMicron flash drives

* Also fix another round of Coverity trigger-happy warnings (Seriously, those FALSE
  POSITIVES about fwprintf can £$%^&* off — fix your frigging detection, Synopsys!)
This commit is contained in:
Pete Batard 2019-08-05 20:18:34 +01:00
parent fcb15ab6e9
commit 84427d12dd
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
7 changed files with 20 additions and 13 deletions

View file

@ -216,7 +216,7 @@ static BOOL ExtractFAT(int entry, const char* path)
uprintf("invalid path supplied for MS-DOS FAT extraction\n");
return FALSE;
}
strcpy(filename, path);
static_strcpy(filename, path);
pos = strlen(path);
fnamepos = pos;