On Thu, May 29, 2008 at 09:15:24PM +0000, corvid wrote:
Jorge wrote:
On Thu, May 29, 2008 at 08:49:22PM +0000, corvid wrote:
Jorge wrote:
Just committed this patch. It makes things like:
http://separat-lib.narod.ru/master.txt
work.
Why now? I don't understand the motivation for this.
My next patch is just going to rip it out again because it will become unnecessary.
Yeah, I noticed it could happen after making the patch, but a segfault on that page made me fix and commit it.
Why did it make plain segfault?
The patch is attached for you to review in detail. The relevant part is an: Start_Ofs += i - len; substituted by a: Buf_Consumed = BufSize - len; (if the length of a long line got bigger than 'i', 'i - len' was negative. A strange case triggered by that page, that has really long lines). -- Cheers Jorge.-