Fixed a memory access error introduced with rev 1099

This commit is contained in:
Thomas Schmitt 2013-12-22 19:07:28 +01:00
parent fa61b94ac8
commit b0e68bbcaa

View File

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