[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.156 and 1.157

version 1.156, 2014/04/20 16:46:04 version 1.157, 2014/04/23 16:08:33
Line 657  void
Line 657  void
 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);
 }  }

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.157

CVSweb