From cb1e56478ae67fba4e2d25b78813468d6b716aae Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 12 Oct 2015 11:48:27 +0200 Subject: [PATCH] Initializing name truncation parameters of IsoReadOpts to prevent failure of demo/demo -iso_cat, which does not load the ISO image. --- libisofs/fs_image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libisofs/fs_image.c b/libisofs/fs_image.c index f03c712..2449117 100644 --- a/libisofs/fs_image.c +++ b/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;