mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-22 10:55:19 -04:00
v1.4.8 (build 505)
* Also fix a couple coverity warnings
This commit is contained in:
parent
8da527e16e
commit
8007fc0915
5 changed files with 10 additions and 8 deletions
|
@ -357,9 +357,9 @@ fallback:
|
|||
}
|
||||
ext_strlen += safe_strlen(all_files) + sizeof(" (*.*)\r*.*\r");
|
||||
ext_string = (char*)malloc(ext_strlen+1);
|
||||
ext_string[0] = 0;
|
||||
if (ext_string == NULL)
|
||||
return NULL;
|
||||
ext_string[0] = 0;
|
||||
for (i=0, j=0; i<ext->count; i++) {
|
||||
j += _snprintf(&ext_string[j], ext_strlen-j, "%s (%s)\r%s\r", ext->description[i], ext->extension[i], ext->extension[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue