Return to html.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.156, 2014/04/20 16:46:04 | version 1.157, 2014/04/23 16:08:33 | ||
---|---|---|---|
|
|
||
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); | ||
} | } |