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

Thorsten Glaser tg at mirbsd.de
Mon Apr 6 02:24:14 UTC 2015


(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));
 }

bye,
//mirabilos
-- 
<igli> exceptions: a truly awful implementation of quite a nice idea.
<igli> just about the worst way you could do something like that, afaic.
<igli> it's like anti-design.  <mirabilos> that too… may I quote you on that?
<igli> sure, tho i doubt anyone will listen ;)



More information about the pkg-lynx-maint mailing list