Package: mkisofs Version: 4:2.01+01a01-2 Severity: important Tags: patch
I sent a bug report to Joerg Schilling but it bounced, so I'm sending this again to debian: ----- Forwarded message ----- Hi, I'm using mkisofs through growisofs for automatic backup on DVD+RW. I recently witnessed mkisofs hang during the merging of a previous session and I tracked it down to that: In check_rr_dates() (multi.c), I had a record with a "CE" attribute, which made the parser read an extension record, but that record did not have itself a "CE" attribute so the loop kept reading and parsing that extension record over and over. I don't know anything about Rock Ridge, but it is obvious that the extension record should be parsed only once, so I simply set cont_extent to zero after reading the extension record. I hope that helps. ----- End forwarded message ----- I got this problem while using growisofs (dvd+rw-tools) with: growisofs -M /dev/dvd -R -J -input-charset utf-8 -joliet-long -root pipo2 -old-root pipo1 and it happened on a file with a very long name indeed (113 8 bit chars). -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8.1-alia-2 Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Versions of packages mkisofs depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information
diff -ru cdrtools-2.01+01a01/mkisofs/multi.c cdrtools-2.01+01a01+mikael/mkisofs/multi.c --- cdrtools-2.01+01a01/mkisofs/multi.c 2004-05-15 16:59:40.000000000 +0000 +++ cdrtools-2.01+01a01+mikael/mkisofs/multi.c 2005-03-31 23:07:13.475748710 +0000 @@ -605,6 +605,7 @@ */ pnt = §or[cont_offset]; len = cont_size; + cont_extent = 0; } }