[pkg-lynx-maint] Bug#699068: [Lynx-dev] [larryhsfriends] Fwd: lynx: Cannot Type a Page-Number more than

Thomas Dickey dickey at his.com
Mon Apr 6 09:21:57 UTC 2015


----- Original Message -----
| From: "Thomas Dickey" <dickey at his.com>
| To: "Thorsten Glaser" <tg at mirbsd.de>, 699068 at bugs.debian.org
| Cc: lynx-dev at nongnu.org, "Dallas E. Legan" <aw585 at lafn.org>
| Sent: Monday, April 6, 2015 5:09:57 AM
| Subject: Bug#699068: [Lynx-dev] [larryhsfriends] Fwd: lynx: Cannot Type a Page-Number more than
| 
| ----- Original Message -----
| | From: "Thorsten Glaser" <tg at mirbsd.de>
| | To: "Dallas E. Legan" <aw585 at lafn.org>
| | Cc: 699068 at bugs.debian.org, lynx-dev at nongnu.org
| | Sent: Sunday, April 5, 2015 10:24:14 PM
| | Subject: Bug#699068: [Lynx-dev] [larryhsfriends] Fwd: lynx: Cannot
| | Type a Page-Number more than
| | 
| | (removing yahoo from the list of recipients, my MTA blocks them as
| | spammers)
| | 
| | Dallas E. Legan dixit:
| | 
| | >To reproduce this:
| | 
| | Thanks, that is indeed… weird.
| | 
| | >I've done some checking on various machines I have accounts on:
| | 
| |    MirBSD-current/i386 machine
| | 	Lynx Version 2.8.8dev.16-MirOS-0AB5.1
| | 	limit 4 chars
| | 
| |   Debian unstable/i386 machine
| | 	Lynx Version 2.8.9dev.1 (12 Mar 2014)
| | 	limit 4 chars
| | 
| |   Debian unstable/amd64 machine
| | 	same version as above
| | 	limit 8 chars
| | 
| | So, WTF? Seems to be related to sizeof(pointer).
| | 
| | This looks to me like a classical mistake. I saw something like
| | this
| | when such a change was applied to code:
| | 
| |  {
| | -	char buf[100];
| | +	char *buf = xmalloc(100);
| | 
| |  	/* […] */
| | 
| |  	readinput(buf, sizeof(buf));
| |  }
| | 
| 
| thanks for the reminder (I'll take a look to review uses of
| sizeof()...)

agreed - I see that in src/LYGetFile.c, follow_link_number.
I'll add this to the po-files updates (after checking the one
which there was some concern that it was not working correctly).

-- 
Thomas E. Dickey <dickey at invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net



More information about the pkg-lynx-maint mailing list