mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 14:35:21 -04:00
parent
44cc7ea652
commit
7d2519675c
2 changed files with 7 additions and 5 deletions
|
@ -216,6 +216,8 @@ static int udf_extract_files(udf_t *p_udf, udf_dirent_t *p_udf_dirent, const cha
|
|||
while ((p_udf_dirent = udf_readdir(p_udf_dirent)) != NULL) {
|
||||
if (FormatStatus) goto out;
|
||||
psz_basename = udf_get_filename(p_udf_dirent);
|
||||
if (strlen(psz_basename) == 0)
|
||||
continue;
|
||||
i_length = (int)(3 + strlen(psz_path) + strlen(psz_basename) + strlen(psz_extract_dir) + 24);
|
||||
psz_fullpath = (char*)calloc(sizeof(char), i_length);
|
||||
if (psz_fullpath == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue