[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev valgrind-reverse.log.gz
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev valgrind-reverse.log.gz |
Date: |
Fri, 20 Dec 2002 18:33:31 -0500 |
User-agent: |
Mutt/1.4i |
On Fri, Dec 20, 2002 at 12:16:46PM +0300, Leonid Pauzner wrote:
> >> Tom, please try this patch with valgrind whether it is OK.
> >> It uses fixed last line buffer (no line/pool logic).
> >> Applied against clean dev.12
>
> > it doesn't work (gets an assertion failure).
>
> Which assertion? Could you debug this code? (I can not install valgrind
> since it doesn't build on my RH7.1 Linux - require system upgrade etc.)
>
> Fixed last line buffer used in color styles without problem,
> HText_EndAppend() removes last two lines and eliminate fixed buffer
> from HText lines list. Perhaps we should correct the condition
> /*
> * Remove the blank lines at the end of document.
> */
> while (text->last_line->data[0] == '\0' && text->Lines > 2) {
> in function below ( > 2)???
>
> Invalid read of memory freed in previous HText by HTuncache_current_document
> seems to be an indirect error of memory overrun from some other code.
>
> Any ideas?
not offhand (I'll spend some time on lynx this weekend when I have more
time to do this; right now I'm checking on easier-to-fix bugs).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev valgrind-reverse.log.gz, Thomas Dickey, 2002/12/18
- Re: lynx-dev valgrind-reverse.log.gz, Leonid Pauzner, 2002/12/19
- Re: lynx-dev valgrind-reverse.log.gz, Thomas Dickey, 2002/12/19
- Re: lynx-dev valgrind-reverse.log.gz, Leonid Pauzner, 2002/12/20
- Re: lynx-dev valgrind-reverse.log.gz, Thomas E. Dickey, 2002/12/20
- Re: lynx-dev valgrind-reverse.log.gz,
Thomas Dickey <=
- Re: lynx-dev valgrind-reverse.log.gz, Leonid Pauzner, 2002/12/21
- Re: lynx-dev valgrind-reverse.log.gz, Leonid Pauzner, 2002/12/30
- Re: lynx-dev valgrind-reverse.log.gz, Thomas Dickey, 2002/12/30