From c79299ba083bed64359308bc995b63be25a1e7e4 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 22 Dec 2015 12:23:13 +0100 Subject: [PATCH] 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. --- libisofs/ecma119.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/ecma119.c b/libisofs/ecma119.c index ad05cce..f59f3aa 100644 --- a/libisofs/ecma119.c +++ b/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)