diff options
author | 2014-12-18 19:23:41 +0000 | |
---|---|---|
committer | 2014-12-18 19:23:41 +0000 | |
commit | 229720cce01cf21062785d79f3458f2971523654 (patch) | |
tree | 08ea5b5d77b285dafac74e2e7474c70d9475e0c7 /test-sqlite3_errstr.c | |
parent | 22bd6b000952af1c83addbfd529269c26dd87c3a (diff) | |
download | mandoc-229720cce01cf21062785d79f3458f2971523654.tar.gz mandoc-229720cce01cf21062785d79f3458f2971523654.tar.zst mandoc-229720cce01cf21062785d79f3458f2971523654.zip |
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-sqlite3_errstr.c')
0 files changed, 0 insertions, 0 deletions