CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2015/01/30 10:31:20

Modified files:
        usr.bin/mandoc : man_term.c mandoc.h tbl.c tbl_data.c tbl_html.c 
                         tbl_term.c 

Log message:
Delete the redundant tbl span flags, just inspect the actual data
where needed, which is less fragile.
This fixes a subtle NULL pointer access to tp->tbl.cols:
Due to a bug in the man(7) parser, the first span of a table can
end up in a .TP head, in which case tblcalc() was never called.
Found by jsg@ with afl.

Reply via email to