aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-11-15 11:11:52 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-11-19 05:47:17 +0000
commit0a04bf8a1cb3868ace621b092d26cefdeb5ec359 (patch)
tree0476b69f095d69e58fb647fc5a5eeb06b847346d /proto.h
parentPrevent global-buffer-overflow write in formUpdateBuffer (diff)
downloadw3m-0a04bf8a1cb3868ace621b092d26cefdeb5ec359.tar.gz
w3m-0a04bf8a1cb3868ace621b092d26cefdeb5ec359.zip
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
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 0d8beb5..d629e0d 100644
--- a/proto.h
+++ b/proto.h
@@ -393,6 +393,7 @@ extern void align(TextLine *lbuf, int width, int mode);
extern void print_item(struct table *t, int row, int col, int width, Str buf);
extern void print_sep(struct table *t, int row, int type, int maxcol, Str buf);
extern void do_refill(struct table *tbl, int row, int col, int maxlimit);
+extern void initRenderTable(void);
extern void renderTable(struct table *t, int max_width,
struct html_feed_environ *h_env);
extern struct table *begin_table(int border, int spacing, int padding,