diff options
author | 2011-12-04 00:44:12 +0000 | |
---|---|---|
committer | 2011-12-04 00:44:12 +0000 | |
commit | 7c0b7e474e29ae0b4e927c6d06ad2881e2f95eec (patch) | |
tree | daded8457cd9a70770363a061aaa716956a0c353 /att.c | |
parent | 0f10c53eb575a6891b9d903803ee9f23251f36fd (diff) | |
download | mandoc-7c0b7e474e29ae0b4e927c6d06ad2881e2f95eec.tar.gz mandoc-7c0b7e474e29ae0b4e927c6d06ad2881e2f95eec.tar.zst mandoc-7c0b7e474e29ae0b4e927c6d06ad2881e2f95eec.zip |
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 'att.c')
0 files changed, 0 insertions, 0 deletions