Browse Source

Fixed a memory access error introduced with rev 1099

release-1.5.4.branch
Thomas Schmitt 7 years ago
parent
commit
b0e68bbcaa
  1. 3
      libisofs/util.c

3
libisofs/util.c

@ -1254,7 +1254,8 @@ uint16_t *iso_j_file_id(const uint16_t *src, int flag)
pos++;
}
}
iso_handle_split_utf16(dest + (pos - 1));
if (pos > 0)
iso_handle_split_utf16(dest + (pos - 1));
if ((flag & 1) && lnext <= 0)
goto is_done;

Loading…
Cancel
Save