From 3a025f9c259f9990e66a6984935a8b85cb9b8593 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 19 Oct 2009 11:02:23 +0000 Subject: Continued work on mdoc.7. Noted buffer overwrite bug in -Thtml -mdoc (will fix later). --- mdoc_html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mdoc_html.c') 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 * @@ -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); -- cgit v1.2.3