On Mon, Dec 29, 2003 at 02:21:58AM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [BUG] syck segfaults when used in rdoc" > > |Y> - if ( len + at >= e->bufsize ) > |Y> + while ( len + at >= e->bufsize ) > | > | Well, I don't understand sorry. For me the problem is in the for (;;) > > Like this? > > --- ext/syck/emitter.c 21 Dec 2003 15:38:01 -0000 1.9 > +++ ext/syck/emitter.c 28 Dec 2003 17:20:51 -0000 > @@ -241,3 +241,3 @@ syck_emitter_write( SyckEmitter *e, char > S_MEMCPY( e->marker, str, char, rest ); > - e->marker += len; > + e->marker += rest; > str += rest; > > Probably it's too late (2:21am) here to hack. Sorry. This patch fixes the problem. Thank you! -- / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/