diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-19 11:02:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-19 11:02:23 +0000 |
commit | 3a025f9c259f9990e66a6984935a8b85cb9b8593 (patch) | |
tree | ac81df50ba7603e571710b7c01c0a1ae7644000a /mdoc_html.c | |
parent | f03e61eec654457c0e38456d0b639bef13db4165 (diff) | |
download | mandoc-3a025f9c259f9990e66a6984935a8b85cb9b8593.tar.gz mandoc-3a025f9c259f9990e66a6984935a8b85cb9b8593.tar.zst mandoc-3a025f9c259f9990e66a6984935a8b85cb9b8593.zip |
Continued work on mdoc.7.
Noted buffer overwrite bug in -Thtml -mdoc (will fix later).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index e4b2df57..795c3664 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.33 2009/10/19 10:18:06 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.34 2009/10/19 11:02:24 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1842,6 +1842,8 @@ mdoc_in_pre(MDOC_ARGS) print_otag(h, TAG_DIV, 0, NULL); } + /* FIXME: there's a buffer bug in here somewhere. */ + PAIR_CLASS_INIT(&tag[0], "includes"); print_otag(h, TAG_SPAN, 1, tag); |