Bug#842623: w3m: "stack smashing detected" crash when running "w3m -dump bar.html"

2016-10-30 Thread Paul Wise
On Sun, 30 Oct 2016 17:01:04 -0400 James McCoy wrote:

> Attached bar.html is a minimized version of the html file that original
> caused the crash when running "w3m -dump bar.html".  Note that no crash
> occurs when running "w3m bar.html".

I also have a crash but slightly different backtrace with the attached HTML:

w3m -I 'utf-8' -dump -T text/html crash-w3m.html

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


crash-w3m.html.xz
Description: application/xz


signature.asc
Description: This is a digitally signed message part


Bug#842623: w3m: "stack smashing detected" crash when running "w3m -dump bar.html"

2016-10-30 Thread James McCoy
Package: w3m
Version: 0.5.3-31
Severity: important

Attached bar.html is a minimized version of the html file that original
caused the crash when running "w3m -dump bar.html".  Note that no crash
occurs when running "w3m bar.html".

Attached bt.txt.gz shows the full backtrace when this occurs.

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

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages w3m depends on:
ii  libc62.24-5
ii  libgc1c2 1:7.4.2-8
ii  libgpm2  1.20.4-6.2
ii  libssl1.0.2  1.0.2j-1
ii  libtinfo56.0+20160917-1
ii  zlib1g   1:1.2.8.dfsg-2+b1

Versions of packages w3m recommends:
ii  ca-certificates  20160104

Versions of packages w3m suggests:
pn  cmigemo   
ii  curl  7.50.1-1
pn  libsixel-bin  
ii  man-db2.7.5-1
ii  mime-support  3.60
ii  mpv   0.21.0-2
pn  w3m-el
pn  w3m-img   
ii  wget  1.18-4
ii  xdg-utils 1.1.1-1
ii  xsel  1.2.0-2

-- no debconf information