From 0a04bf8a1cb3868ace621b092d26cefdeb5ec359 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Tue, 15 Nov 2016 20:11:52 +0900 Subject: Prevent infinite recursion with nested table and textarea Bug-Debian: https://github.com/tats/w3m/issues/20 [CVE-2016-9439] Origin: https://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=2a4a2fb9f116b50e7c80d573db06c0fdc6c69272 --- file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'file.c') diff --git a/file.c b/file.c index ac5247f..5be29e7 100644 --- a/file.c +++ b/file.c @@ -6413,6 +6413,7 @@ HTMLlineproc0(char *line, struct html_feed_environ *h_env, int internal) do_blankline(h_env, obuf, indent, 0, h_env->limit); } save_fonteffect(h_env, obuf); + initRenderTable(); renderTable(tbl, tbl_width, h_env); restore_fonteffect(h_env, obuf); obuf->flag &= ~RB_IGNORE_P; -- cgit v1.2.3