[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Segmentation fault when lynx - get several lines of input
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Segmentation fault when lynx - get several lines of input with the first one not being a correct URL |
Date: |
Sun, 11 Nov 2007 20:40:43 -0500 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
On Sun, Nov 11, 2007 at 01:00:50AM +0100, Pascal Terjan wrote:
> For exemple :
>
> $ echo "a
> free.fr" | LC_ALL=C lynx -
> Looking up 'a' first
> Looking up 'www.a.com', guessing...
> Erreur de segmentation
>
> If the first one is correct, it is OK as lynx will draw its interface
> before looking at the other one.
>
> I found this by trying to feed some HTML on stdin :)
It seems to be a seldom-used path in the error-checking.
Here's a patch for this, plus a secondary issue.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
lynx2.8.7dev.7a.patch.gz
Description: Binary data