#
943fb9d8 |
| 04-Jul-2017 |
schwarze <schwarze@openbsd.org> |
Messages of the -Wbase level now print STYLE:. Since this causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such chu
Messages of the -Wbase level now print STYLE:. Since this causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such churn. Consistently use OpenBSD RCS tags, blank .Os, blank fourth .TH argument, and Mdocdate like everywhere else. Use -Ios=OpenBSD for platform-independent predictable output.
show more ...
|
#
57104dfd |
| 20-Aug-2016 |
schwarze <schwarze@openbsd.org> |
When scanning upwards for a column list to put a .Ta macro in, ignore body end markers of lists breaking other blocks. Fixing a logical error that caused a NULL deref found by tb@ with afl(1).
|
#
591ff804 |
| 12-Feb-2015 |
schwarze <schwarze@openbsd.org> |
Do not confuse .Bl -column lists that just broken another block with newly opened .Bl -column lists; fixing an assertion failure jsg@ found with afl: test case #481, Bl It Bl -column It Bd El text te
Do not confuse .Bl -column lists that just broken another block with newly opened .Bl -column lists; fixing an assertion failure jsg@ found with afl: test case #481, Bl It Bl -column It Bd El text text El
show more ...
|
#
d26e35c2 |
| 18-Dec-2014 |
schwarze <schwarze@openbsd.org> |
When the head of a list item is extended with a partial explicit macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usual
When the head of a list item is extended with a partial explicit macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usually don't have heads in the first place. So even in this case, check for the existence of the body before accessing it. NULL pointer access found by jsg@ with afl.
show more ...
|
#
d88cb0b9 |
| 18-Dec-2014 |
schwarze <schwarze@openbsd.org> |
The code is already careful to not add items to lists that were already closed. In this respect, also consider lists closed that have broken another block, their closure pending until the end of the
The code is already careful to not add items to lists that were already closed. In this respect, also consider lists closed that have broken another block, their closure pending until the end of the broken block. This avoids syntax tree corruption leading to a NULL pointer access found by jsg@ with afl.
show more ...
|
#
c900c619 |
| 26-Aug-2014 |
schwarze <schwarze@openbsd.org> |
inevitable churn caused by the section title change
|
#
1315c576 |
| 17-Aug-2014 |
schwarze <schwarze@openbsd.org> |
Segfault fixes from kristaps@. Note that .It and .Nm blocks without bodies cannot be generated by valid mdoc(7) syntax but are a adequate representations of invalid mdoc(7) constructs like Bl -hang I
Segfault fixes from kristaps@. Note that .It and .Nm blocks without bodies cannot be generated by valid mdoc(7) syntax but are a adequate representations of invalid mdoc(7) constructs like Bl -hang It Bo Sh and Sh SYNOPSIS Nm Bo Sh.
show more ...
|
#
606f1493 |
| 16-Nov-2012 |
schwarze <schwarze@openbsd.org> |
Fix a crash triggered by .Bl -tag .It Xo .El .Sh found by florian@.
* When allocating a body end marker, copy the pointer to the normalized block information from the body block, avoiding the risk o
Fix a crash triggered by .Bl -tag .It Xo .El .Sh found by florian@.
* When allocating a body end marker, copy the pointer to the normalized block information from the body block, avoiding the risk of subsequent null pointer derefence. * When inserting the body end marker into the syntax tree, do not try to copy that pointer from the parent block, because not being a direkt child of the block it belongs to is the whole point of a body end marker. * Even non-callable blocks (like Bd and Bl) can break other blocks; when this happens, postpone closing them out in the usual way.
show more ...
|