Browse Source

Fixed a new bug introduced with previous commit

release-1.5.4.branch
Thomas Schmitt 6 months ago
parent
commit
ac9d55330d
  1. 2
      libisofs/eltorito.c

2
libisofs/eltorito.c

@ -588,7 +588,7 @@ int iso_image_set_boot_image(IsoImage *image, const char *image_path,
}
parent = (IsoDir*)p;
}
if (catname[0] == '/')
if (catname[0] == '/' || catname[0] == 0)
catname++;
ret = iso_tree_add_boot_node(parent, catname, &cat_node);
free(catdir);

Loading…
Cancel
Save