From 6f63c6388c1f8eacac85433225158976b688d6b6 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 7 Apr 2010 07:31:32 +0000 Subject: [PATCH] Fixed image reading bug introduced with revision 3144 --- libisoburn/burn_wrap.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libisoburn/burn_wrap.c b/libisoburn/burn_wrap.c index b6fd1687..c69cc8ce 100644 --- a/libisoburn/burn_wrap.c +++ b/libisoburn/burn_wrap.c @@ -1086,7 +1086,7 @@ int isoburn_read_iso_head(struct burn_drive *d, int lba, ret = 1; } memset(buffer, 0, 64 * 1024); - to_read= capacity * 2048; + to_read= (off_t) capacity * ((off_t) 2048); if(ret > 0 && to_read >= (off_t) (36 * 1024)) { if(to_read >= (off_t) (64 * 1024)) to_read= 64 * 1024; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 5b94dc26..e09f4e66 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.04.06.192328" +#define Xorriso_timestamP "2010.04.07.073024"