diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-12 15:09:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-12 15:09:51 +0000 |
commit | 3346b5b6c795f44f3b15c48768f03764b37716fe (patch) | |
tree | bc265c63155c1a1a6e4d476b0070e58e12e63ac9 /usr.bin/cmp/cmp.c | |
parent | 4f3b6898a0d56413863db3c64265f241dc1013ab (diff) |
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.
Diffstat (limited to 'usr.bin/cmp/cmp.c')
0 files changed, 0 insertions, 0 deletions