----- Original Message -----
| From: "Thorsten Glaser" <t...@mirbsd.de>
| To: "Dallas E. Legan" <aw...@lafn.org>
| Cc: 699...@bugs.debian.org, lynx-...@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()...)

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to