CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2014/12/22 16:26:20

Modified files:
        usr.bin/mandoc : mdoc_macro.c 
        regress/usr.bin/mandoc/mdoc: Makefile 
Added files:
        regress/usr.bin/mandoc/mdoc/break: Makefile twice.in 
                                           twice.out_ascii 
                                           twice.out_lint 

Log message:
The code already pays attention not to close the same block twice.
Similarly, avoid having the same block break two other blocks.
In some situations, this could lead to an endless loop in rew_sub()
found by jsg@ with afl.
Minimal example:  .Po Ao Pc Bo Pc Ac Bc

Reply via email to