Browse Source

Bug fix: Options bit0 of iso_write_opts_set_system_area() was not forwarded

to image production if no system area data were given.
         This prevented xorrisofs option --protective-msdos-label from working.
release-1.5.4.branch
Thomas Schmitt 5 years ago
parent
commit
c79299ba08
  1. 2
      libisofs/ecma119.c

2
libisofs/ecma119.c

@ -2394,7 +2394,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *in_opts, Ecma119Image **img)
system_area = src->system_area_data;
system_area_options = src->system_area_options;
} else {
system_area_options = opts->system_area_options & 0xfffffffc;
system_area_options = opts->system_area_options & 0xfffffffd;
}
sa_type = (system_area_options >> 2) & 0x3f;
if (sa_type != 0 && sa_type != 3)

Loading…
Cancel
Save