Debian Patches

Status for html2text/1.3.2a-28

Patch Description Author Forwarded Bugs Origin Last update
100-fix-makefile.patch Support externally-prodided/Debian compile flags=================================================================== Eugene V. Lyubimkin <jackyf@debian.org> no 2013-05-25
110-triplet-cc.patch Support cross-building=================================================================== Matthias Klose <doko@ubuntu.com> no debian 2013-03-06
200-close-files-inside-main-loop.patch Close every file after processing, not at the end of program.
===================================================================
no
400-remove-builtin-http-support.patch Remove limited built-in http support.
===================================================================
no
500-utf8-support.patch Support UTF-8 encoding when processing input.
===================================================================
no
510-disable-backspaces.patch Don't use backspaces.
===================================================================
no
550-skip-numbers-in-html-tag-attributes.patch Skip numbers in html tag attributes=================================================================== Eric Krohn <krohn-debbug@ekrohn.com> no debian 2010-05-19
600-multiple-meta-tags.patch Recognize all <meta> tags, not just one.
===================================================================
no
611-recognize-input-encoding.patch Recode input according to 'meta http-equiv' in html document.
===================================================================
no
630-recode-output-to-locale-charset.patch Convert output to user's locale charset.
===================================================================
no
800-replace-zeroes-with-null.patch Correctly specify NULLs for 64-bit architectures.
unchanged:
===================================================================
no
810-fix-deprecated-conversion-warnings.patch Substituted 'char*' with 'const char*' in needed places to avoid
'deprecated conversion from string constant to ‘char*’' warnings.
===================================================================
no
900-complete-utf8-entities-table.patch Completed the utf8 table The utf8 table translates HTML entities into UTF8 characters. The table,
introduced by patch 500, was quite incomplete. This patch completes it.
Table information mostly taken from
http://lists.gnu.org/archive/html/groff/2006-01/msg00113.html , with some
of the entries retrieved from various other sources.
.

===================================================================
Marcos Daniel Marado Torres <mindboosternoori@gmail.com> no debian
950-validate-width-parameter.patch validate --width parameter input. Width must be greater than zero, but that wasn't enforced.

===================================================================
Marcos Daniel Marado Torres <mindboosternoori@gmail.com> no debian
960-fix-utf8-mode-quadratic-runtime.patch html2text: fix utf8 mode quadratic runtime
html2text has quadratic runtime under utf8 mode. utf8_aux_count in
Area.C is called quadratic number of times due to bad implementation
in make_up in format.C.

A 0.05MB html input with -utf8 flag takes 15s to process while with
-ascii flag it takes 0.02s. Unfortunately utf8 is the default.

A patch is ready. It brings the runtime back to 0.2s.
Here is the patch:

===================================================================
Carson Ip <carsonip715@gmail.com> no 2018-05-19
970-fix-arg-parsing.patch Bug#716064: Patch

Hi,

this crash is because of improper parsing of input arguments in html2text.C
It occurs when "-width" or "-rcfile" is the last command line argument.
Of course, this is improper usage, but the segfault is still bad.
The patch is:


===================================================================
Dmitry Borisyuk <q1werty@i.com.ua> no 2014-12-09
980-catch-alloc-err.patch Catch ENOMEM in {m,re}alloc_array (prevent segfaults).=================================================================== Dmitry Borisyuk <q1werty@i.com.ua> no

All known versions for source package 'html2text'

Links