summaryrefslogtreecommitdiffstats
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-18 19:23:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-18 19:23:41 +0000
commit95d255dc4d21673d71bde36379df61e0f1a8b49f (patch)
tree7efdc9494f722213edf5704b219ca9c8ee557fef /mdoc_man.c
parented6fded4566ee185f6df132e01bdc959289d3836 (diff)
downloadmandoc-95d255dc4d21673d71bde36379df61e0f1a8b49f.tar.gz
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.
Diffstat (limited to 'mdoc_man.c')
0 files changed, 0 insertions, 0 deletions