Rene Kita 4d34f77a4b Ignore tokens that look like HTML, but are not
This patch fixes issue 200 'heap-buffer-overflow in
shiftAnchorPosition'.

Any input that looks like a tag, but isn't, should just be ignored. HTML
is parsed in a two staged process. Stage 1 inserts internal tags (like
<a hseq=...>). Stage 2 assumes these internal tags are valid input
inserted in the previous stage. If we don't throw away non-valid HTML
tags in stage 1 any website can inject tags that are interpreted as
internal ones. This leads to an out-of-bound read in this test case.

The 'hseq=-90' from the input ends as the value (89 actually) of
'a->hseq' in 'anchor.c:555'. Then 'hl->marks[a->hseq]' is out of bounds
as there are only 30 entries in this list.

This is the test input:
<table>0<br <>0<xmp>È«<div><inteRnal><input_alt fid=0><dl>0<dl>0<button value='">0000000000000000000000000000000000000000ÿ000'><A hseq=-90 href=>0<hR align=middle>
2022-02-12 12:37:06 +01:00
2020-11-12 21:19:57 +09:00
2021-08-15 15:29:03 -03:00
2021-05-26 16:29:59 +02:00
2021-07-17 13:20:55 +09:00
2012-05-24 23:06:47 +09:00
2020-09-15 20:23:16 +09:00
2020-09-15 20:22:30 +09:00
2011-05-04 16:41:45 +09:00
2011-05-04 16:41:45 +09:00
2015-01-15 20:50:16 +09:00
2011-05-04 16:41:45 +09:00
2021-10-27 00:45:34 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:41:45 +09:00
2020-05-06 15:47:06 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2015-08-11 21:59:27 +09:00
2011-05-04 16:05:14 +09:00
2015-08-11 21:59:28 +09:00
2013-04-08 21:48:49 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2021-02-13 16:51:48 +01:00
2019-11-08 15:53:20 -07:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:41:45 +09:00
2011-05-04 16:23:02 +09:00
2021-10-26 16:28:37 +08:00
2013-10-14 23:02:26 +09:00
2020-01-03 23:42:05 -08:00
2011-05-04 16:05:14 +09:00
2015-08-11 21:59:27 +09:00
2015-01-15 19:38:11 +09:00
2011-05-04 16:05:14 +09:00
2016-11-27 15:24:34 +08:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:41:45 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2021-01-03 11:00:17 +09:00
2015-08-11 21:59:27 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2020-09-06 22:38:16 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2021-04-05 22:36:45 +09:00
2011-05-04 16:23:02 +09:00
2011-05-04 16:05:14 +09:00
2016-04-02 06:51:06 +09:00
2016-04-02 06:51:06 +09:00
2015-08-11 21:59:27 +09:00
2021-02-17 19:27:09 +09:00

w3m: WWW wo Miru Tool
=====================

w3m is a pager with WWW capability.  It IS a pager, but it can be used
as a text-mode WWW browser.

This package is maintained for Debian <https://www.debian.org>,
forked from the original version <https://sourceforge.net/projects/w3m/>.

If you can read English, see doc/*.
If you can read Japanese, see doc-jp/*.
If you can read both, read both and correct English. :-)
Description
A modernized fork of w3m with next and previous heading and form navigation.b
Readme 13 MiB
Languages
C 60.9%
HTML 13.4%
Roff 12.2%
JavaScript 5.6%
Perl 1.7%
Other 6.1%