Package: html2text Version: 1.3.2a-28 Followup-For: Bug #931254 X-Debbugs-Cc: j...@joshtriplett.org
Possibly related, I can cause html2text to run out of memory with the following one-line HTML file involving colspan: /tmp$ cat temp.html <table><tr><td colspan="100%"><hr></td></tr></table> /tmp$ html2text < temp.html html2text: error: Cannot allocate memory Aborted -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: arm64 Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=C.utf8, LC_CTYPE=C.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages html2text depends on: ii libc6 2.36-7 ii libgcc-s1 12.2.0-13 ii libstdc++6 12.2.0-13 html2text recommends no packages. Versions of packages html2text suggests: ii curl 7.87.0-1 ii wget 1.21.3-1+b2 -- no debconf information