Debian Bug report logs - #180654
lynx: doesn't work with compressed literal ipv6 localhost address

version graph

Package: lynx; Maintainer for lynx is Atsuhito KOHDA <kohda@debian.org>; Source for lynx is src:lynx-cur.

Reported by: Jon Forsberg <zzed@cyberdude.com>

Date: Tue, 11 Feb 2003 23:03:02 UTC

Severity: important

Tags: confirmed, upstream

Found in version 2.8.4.1b-3.2

Done: Thomas Dickey <dickey@his.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>, lynx@packages.qa.debian.org:
Bug#180654; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to Jon Forsberg <zzed@cyberdude.com>:
New Bug report received and forwarded. Copy sent to James Troup <james@nocrew.org>, lynx@packages.qa.debian.org. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jon Forsberg <zzed@cyberdude.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lynx doesn't work with compressed literal ipv6 addresses
Date: Tue, 11 Feb 2003 23:53:07 +0100
Package: lynx
Version: 2.8.4.1b-3.2
Severity: important

lynx doesn't work with compressed literal ipv6 addresses. example:
 lynx http://[0:0:0:0:0:0:0:1]:8888/
works but
 lynx http://[::1]:8888/
doesn't.

references: rfc2732 (http://ftp.ics.uci.edu/pub/ietf/uri/rfc2732.txt)

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux naut 2.4.20 #2 ons feb 5 01:26:06 CET 2003 i686
Locale: LANG=sv_SE, LC_CTYPE=sv_SE

Versions of packages lynx depends on:
ii  libc6                    2.2.5-11.2      GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  zlib1g                   1:1.1.4-1       compression library - runtime




Message sent on to Jon Forsberg <zzed@cyberdude.com>:
Bug#180654. Full text and rfc822 format available.

Message #8 received at 180654-submitter@bugs.debian.org (full text, mbox):

From: Fabio Massimo Di Nitto <fabbione@fabbione.net>
To: 180654-submitter@bugs.debian.org
Subject: debug info
Date: Tue, 6 May 2003 21:27:08 +0200 (CEST)
Hi all,
	the problem seems to be locate in
WWW/Library/Implementation/HTParse.c from line 295 and 299:

                if (p2 != NULL && !isdigit(UCH(p2[1])))
                    /*
                    **  Colon not followed by a port number.
                    */
                    *p2 = '\0';

this piece of code checks the given url for a : not followed by a port
number but is lacking a check for :: and [] for ipv6 numeric address.

You can verify this condition in the following ways:

lynx http://[::1]/         does not work (*)
lynx http://[0::1]/        does not work (*)
lynx http://[3ffe::1]/     does not work (*)

lynx http://[0:0::1]/      works
lynx http://[3ffe:100::1]/ works

* in the error message the address gets "chopped" and you can notice:

- lynx: Can't access startfile http://[/
- lynx: Can't access startfile http://[0/
- lynx: Can't access startfile http://[3ffe/

Regards
Fabio

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Tags added: upstream Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. Full text and rfc822 format available.

Changed Bug title. Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: confirmed Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. Full text and rfc822 format available.

Reply sent to dickey@his.com:
You have taken responsibility. (Tue, 04 Aug 2009 09:42:03 GMT) Full text and rfc822 format available.

Notification sent to Jon Forsberg <zzed@cyberdude.com>:
Bug acknowledged by developer. (Tue, 04 Aug 2009 09:42:03 GMT) Full text and rfc822 format available.

Message #19 received at 180654-done@bugs.debian.org (full text, mbox):

From: Thomas Dickey <dickey@his.com>
To: 180654-done@bugs.debian.org
Subject: re: #180654 - lynx: doesn't work with compressed literal ipv6 localhost address
Date: Tue, 04 Aug 2009 05:37:09 -0400
[Message part 1 (text/plain, inline)]
2008-12-14 (2.8.7dev.11)
* fix ipv6 literal command-line parsing (Debian #180654, analysis by Fabio
  Massimo Di Nitto) -TD

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 02 Sep 2009 07:38:56 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 14:08:55 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.