[Debburn-devel] Empty sort file + large (>4 GB) file causes file corruption in ISO

Arpad Biro biro.arpad at gmail.com
Sat Jun 30 13:49:40 UTC 2012


Hi,

I encountered a bug in genisoimage 1.1.11 under OpenSUSE 12.1 (the OS is 32 bit,
the CPU is an Athlon 64).

To reproduce the bug:

  1. mkdir /tmp/file_corruption_bug
  2. echo "text file 1" > /tmp/file_corruption_bug/a
  3. dd if=/dev/zero of=/tmp/file_corruption_bug/b bs=1M count=1 seek=4099
  4. echo "text file 2" > /tmp/file_corruption_bug/c
  5. echo "a=/tmp/file_corruption_bug/a"  >/tmp/file_corruption_bug/path_list
  6. echo "b=/tmp/file_corruption_bug/b" >>/tmp/file_corruption_bug/path_list
  7. echo "c=/tmp/file_corruption_bug/c" >>/tmp/file_corruption_bug/path_list
  8. touch /tmp/file_corruption_bug/empty
  9. /usr/bin/genisoimage -graft-points -sort
/tmp/file_corruption_bug/empty -udf -iso-level 3 -path-list
/tmp/file_corruption_bug/path_list > /tmp/temp.iso

In the resulting ISO file, "c" is corrupted.
Without the "-sort /tmp/file_corruption_bug/empty", there is NO corruption.



Arpad Biro



More information about the Debburn-devel mailing list