Package: w3m
Version: 0.5.3-10
Followup-For: Bug #718612

And here is a patch:

diff -u -r w3m-0.5.3.orig/form.c w3m-0.5.3/form.c
--- w3m-0.5.3.orig/form.c       2013-08-03 14:56:51.000000000 -0400
+++ w3m-0.5.3/form.c    2013-08-03 15:35:54.437611596 -0400
@@ -970,7 +970,7 @@
     int j;
 #endif
 
-    if (!buf || !buf->formitem || !PreForm)
+    if (!buf || buf == NO_BUFFER || !buf->formitem || !PreForm)
        return;
 
     for (pf = PreForm; pf; pf = pf->next) {


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages w3m depends on:
ii  libc6        2.17-92
ii  libgc1c2     1:7.2d-5
ii  libgpm2      1.20.4-6.1
ii  libssl1.0.0  1.0.1e-3
ii  libtinfo5    5.9+20130608-1
ii  zlib1g       1:1.2.8.dfsg-1

Versions of packages w3m recommends:
ii  ca-certificates  20130610

Versions of packages w3m suggests:
pn  cmigemo                   <none>
ii  man-db                    2.6.5-2
ii  mime-support              3.54
ii  w3m-el-snapshot [w3m-el]  1.4.517+0.20130704-2
pn  w3m-img                   <none>

-- no debconf information


-- 
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