[w3m-dev 00573] Debian Bug#63937: Segfaults on certain pages

From: Fumitoshi UKAI (ukai@debian.or.jp)
Date: Mon May 15 2000 - 12:27:34 CDT


http://www.debian.org/Bugs/db/63/63937.html $B$K=q$+$l$F$$$^$9$,!"(B
w3m 0.1.9 $B$G(B $BNc$($P(B

 w3m 'http://www.linuxshop.cz/hardware.php3?typ=8&stranka=0&navrat='

$B$G(B segfault$B$7$^$9!#$3$N(B html$B$r$H$C$F$-$F8+$l$P$o$+$j$^$9$,!"(B
<SELECT>$B$,$J$$$N$K(B </SELECT>$B$,$"$j$^$9!#(B

$B$H$j$"$($:$3$N%Q%C%A$G(B segfault$B$O$7$J$/$J$k$h$&$G$9!#(B

Index: file.c
===================================================================
RCS file: /var/cvs/debian/w3m/file.c,v
retrieving revision 1.1.1.38.2.1
retrieving revision 1.1.1.38.2.2
diff -u -u -r1.1.1.38.2.1 -r1.1.1.38.2.2
--- file.c 2000/04/21 18:52:36 1.1.1.38.2.1
+++ file.c 2000/05/15 17:01:25 1.1.1.38.2.2
@@ -2044,7 +2044,7 @@
 {
 #ifdef MENU_SELECT
     Str tmp;
- if (cur_select == NULL) {
+ if (cur_select == NULL && cur_option != NULL) {
         /* single select */
         while (cur_option->length > 0 &&
                IS_SPACE(Strlastchar(cur_option)))

-- 
$B1-;tJ8IR(B



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:55 CDT