lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] "lynx -restrictions" causes bus error


From: OBATA Akio
Subject: [Lynx-dev] "lynx -restrictions" causes bus error
Date: Tue, 25 May 2010 18:52:39 +0900
User-agent: Opera Mail/10.53 (Win32)

(I'm not subscribing this list, please CC to me)

We got following problem report:
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=43340

I feel following patch fix the problem.
Is it a correct fix?

--- lynx2-8-8/src/LYMain.c.orig 2009-11-25 19:56:48.000000000 +0900
+++ lynx2-8-8/src/LYMain.c      2010-05-25 18:42:23.000000000 +0900
@@ -3079,7 +3079,7 @@
                if (first) {
                    printf("Other restrictions (see the user's guide):\n");
                }
-               value = show_restriction(table[j].name);
+               value = show_restriction(name);
                printf("%s%s (%s)", column ? ", " : "  ", name, value);
                column += 5 + strlen(name) + strlen(value);
                if (column > 50) {

--
OBATA Akio / address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]