Browse Source

Initializing name truncation parameters of IsoReadOpts to prevent

failure of demo/demo -iso_cat, which does not load the ISO image.
release-1.5.4.branch
Thomas Schmitt 6 years ago
parent
commit
cb1e56478a
  1. 2
      libisofs/fs_image.c

2
libisofs/fs_image.c

@ -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;

Loading…
Cancel
Save