Return to html.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.35, 2014/04/20 16:44:44 | version 1.36, 2014/04/23 16:07:06 | ||
---|---|---|---|
|
|
||
bufcat(struct html *h, const char *p) | bufcat(struct html *h, const char *p) | ||
{ | { | ||
/* | |||
* XXX This is broken and not easy to fix. | |||
* When using the -Oincludes option, buffmt_includes() | |||
* may pass in strings overrunning BUFSIZ, causing a crash. | |||
*/ | |||
h->buflen = strlcat(h->buf, p, BUFSIZ); | h->buflen = strlcat(h->buf, p, BUFSIZ); | ||
assert(h->buflen < BUFSIZ); | assert(h->buflen < BUFSIZ); | ||
} | } |