[BACK]Return to html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/html.c between version 1.35 and 1.36

version 1.35, 2014/04/20 16:44:44 version 1.36, 2014/04/23 16:07:06
Line 653 
Line 653 
 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.35  
changed lines
  Added in v.1.36