fix unchecked snprintf(3) in page header printing:
authorschwarze <schwarze@openbsd.org>
Sun, 20 Apr 2014 20:17:36 +0000 (20:17 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 20 Apr 2014 20:17:36 +0000 (20:17 +0000)
commita92c1cd8888ad949057db91d5c4abf986a0b60c0
tree04922daea68d8f10a77a4c20ec07c316e9808338
parent46cf7fb0efcd5a36aaa1cea61c0b7d5b3c525dea
fix unchecked snprintf(3) in page header printing:
the length of the title is unknown, and speed doesn't matter here,
so use asprintf/free rather than a static buffer
usr.bin/mandoc/man_html.c
usr.bin/mandoc/man_term.c
usr.bin/mandoc/mdoc_html.c
usr.bin/mandoc/mdoc_term.c