diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-04 00:44:12 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-04 00:44:12 +0000 |
commit | 104a65153587e466515ddab8bd99fccb419f651c (patch) | |
tree | a22de01e1885c82fe14a74a4ed7ce747b2d4c6b9 /mdoc_term.c | |
parent | 1e7720d904665f833840ea9ab53b3879b399fcc4 (diff) | |
download | mandoc-104a65153587e466515ddab8bd99fccb419f651c.tar.gz |
Jumping out of man_unscope() for the root node is a bad idea
because that will skip root node validation, potentially entering
rendering modules will NULL pointers lurking in the meta data.
Instead, always validate the root node and (as suggested by joerg@)
assert validity of the meta data before using it in the renderers.
ok joerg@
Diffstat (limited to 'mdoc_term.c')
0 files changed, 0 insertions, 0 deletions