Re: mkisofs infinite loop (was: Re: problems with growisoft)
Patrick Ohly <Patrick.Ohly@gmx.de> wrote:
> - -R is important to trigger the problem
>
> A debugger shows that it gets stuck in multi.c/check_rr_dates():
> it reads and parses the same extention block infinitely because
> cont_extent (set by a CE entry in the original block) is not cleared.
>
> A solution is to to clear those variables, just as it is done after
> readsecs() in check_rr_relocation():
>
> *** multi.c Sat May 15 18:59:40 2004
> --- multi.c.fixed Sun Feb 6 17:42:18 2005
> ***************
> *** 601,614 ****
> --- 601,615 ----
> * Continue to scan the extension record.
> * Note that this has not been tested yet, but
> it is
> * definitely more correct that calling
> parse_rr()
> * as done in Eric's old code.
> */
> pnt = §or[cont_offset];
> len = cont_size;
> + cont_extent = cont_offset = cont_size = 0;
> }
> }
Looks reasonable.
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
Reply to: