From caf90e35f5992fb4f2dff19a1a5086e6af0e815f Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 19 Oct 2010 12:45:26 +0200 Subject: [PATCH] Fixed session oversize bug with emulated multi-session. Introduced by revision 721. --- libisofs/ecma119.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libisofs/ecma119.c b/libisofs/ecma119.c index 26d88ce..e5c698c 100644 --- a/libisofs/ecma119.c +++ b/libisofs/ecma119.c @@ -2015,6 +2015,8 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img) } } + /* This was possibly altered by above overwrite buffer production */ + target->vol_space_size = target->curblock - target->ms_block; /* 4. Create and start writing thread */ if (target->md5_session_checksum) {