diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-18 19:23:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-18 19:23:41 +0000 |
commit | 95d255dc4d21673d71bde36379df61e0f1a8b49f (patch) | |
tree | 7efdc9494f722213edf5704b219ca9c8ee557fef /test-strlcat.c | |
parent | ed6fded4566ee185f6df132e01bdc959289d3836 (diff) | |
download | mandoc-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 'test-strlcat.c')
0 files changed, 0 insertions, 0 deletions