lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Display of some multi-line links is cut off in the middle


From: Thomas Dickey
Subject: Re: [Lynx-dev] Display of some multi-line links is cut off in the middle
Date: Fri, 31 Dec 2021 20:17:08 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Dec 31, 2021 at 08:02:00PM -0500, Thomas Dickey wrote:
> On Fri, Dec 31, 2021 at 12:23:43PM +0900, KIHARA Hideto wrote:
> > * Problem:
> > In lynx2.9.0dev.10, display of some multi-line links is cut off in the 
> > middle.
> > lynx2.9.0dev.9 does not have the problem.
> > 
> > * Actual Result:
> > lynx https://lists.nongnu.org/archive/html/lynx-dev/2021-10/threads.html

oh.  I see.  But I don't see this result here (perhaps locale-dependent).
What I see is (for links-are-numbered):

     * [9][Lynx-dev] "<base href=" bug?, Gisle Vanem, 2021/10/30               ▒
          + [10]Re:  [Lynx-dev]  "<base  href="  bug?,  Thomas Dickey,         ▒
            2021/10/30                                                         ▒
     * [11][Lynx-dev] Build failures on hppa architectures after update        ▒
       from 2.9.0dev.9 to 2.9.0dev.10, Axel Beckert, 2021/10/30                ▒
          + [12]Re: [Lynx-dev] Build failures on hppa architectures after      ▒
            update   from   2.9.0dev.9  to  2.9.0dev.10,  Thomas  Dickey,      ▒
            2021/10/30                                                         ▒
          + [13]Re: [Lynx-dev] Build failures on hppa architectures after      ▒
            update from 2.9.0dev.9 to 2.9.0dev.10, Mouse, 2021/10/30           ▒
               o [14]Re: [Lynx-dev] Build failures on hppa architectures       ▒
                 after  update  from  2.9.0dev.9  to  2.9.0dev.10, Thomas      ▒
                 Dickey, 2021/10/30                        

> > 
> > >     * [13][Lynx-dev] Build failures on hppa architectures after update
> > >       fr
> > 
> > * Expected Result:
> > >     * [13][Lynx-dev] Build failures on hppa architectures after update
> > >       from 2.9.0dev.9 to 2.9.0dev.10, Axel Beckert, 2021/10/30
> > 
> > * Fix:
> > Reverting following change solves the problem.
> > --- lynx2.9.0dev.9/src/GridText.c   2021-06-30 07:01:12.000000000 +0900
> > +++ lynx2.9.0dev.10/src/GridText.c  2021-10-25 01:13:59.000000000 +0900
> > @@ -3006,7 +3005,7 @@
> >         ctrl_chars_on_this_line += utfxtra_on_this_line;
> >  
> >         /* Add the data to the new line. -FM */
> > -       strcat(linedata, p);
> > +       for (i = 0; (linedata[i] = p[i]) != '\0'; ++i) ;
> >         line->size = (unsigned short) (line->size + plen);
> >     }
> >      }
> 
> asan2 reported that this line had a strcpy whose source/destination 
> overlapped.
> 
> If you have a test-file which shows the difference, I can probably make
> a better fix.
> 
> -- 
> Thomas E. Dickey <dickey@invisible-island.net>
> https://invisible-island.net
> ftp://ftp.invisible-island.net



-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]