diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-12 15:11:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-12 15:11:14 +0000 |
commit | a19c95fa6a0579b54387165ee1396f52a4f586df (patch) | |
tree | fe4387c9b2dd40fe521806867f53388a88512b1b /regress/mdoc/Fn/fn2.in | |
parent | 5b96439af7b14f4fc13c1aa3249974a9ad9ddfd4 (diff) | |
download | mandoc-a19c95fa6a0579b54387165ee1396f52a4f586df.tar.gz mandoc-a19c95fa6a0579b54387165ee1396f52a4f586df.tar.zst mandoc-a19c95fa6a0579b54387165ee1396f52a4f586df.zip |
The post_nm() validation function crashed when the first .Nm child node
was a non-text node. Fix this by rewriting post_nm() to always set
the meta name to UNKNOWN when the name is missing or unusable.
While here, make MANDOCERR_NONAME an ERROR, as it usually renders
the page content unintelligible.
Bug reported by Maxim <Belooussov at gmail dot com>, thanks.
OpenBSD rev. 1.105
Diffstat (limited to 'regress/mdoc/Fn/fn2.in')
0 files changed, 0 insertions, 0 deletions