Initializing name truncation parameters of IsoReadOpts to prevent

failure of demo/demo -iso_cat, which does not load the ISO image.
This commit is contained in:
Thomas Schmitt 2015-10-12 11:48:27 +02:00
parent 05d0ee4a37
commit cb1e56478a

View File

@ -6156,6 +6156,8 @@ int iso_read_opts_new(IsoReadOpts **opts, int profile)
ropts->nomd5 = 1;
ropts->load_system_area = 0;
ropts->keep_import_src = 0;
ropts->truncate_mode = 1;
ropts->truncate_length = LIBISOFS_NODE_NAME_MAX;
*opts = ropts;
return ISO_SUCCESS;