Date: Tue, 09 Sep 2025 20:34:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289420] mandoc core dump due to tag_put assertion Message-ID: <bug-289420-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289420 Bug ID: 289420 Summary: mandoc core dump due to tag_put assertion Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: freebsd-bugs@km.krot.org mandoc dumps core when formatting got(1) manual page root /usr/local/share/man/man1 # zcat got.1.gz | mandoc Assertion failed: (n->tag == NULL), function tag_put, file /usr/src/contrib/mandoc/tag.c, line 185. Abort trap (core dumped) the first line below triggers the issue (.Tg ignore): .Tg ignore .Ss Ignore Patterns it seems that upstream mandoc has fixed the issue in bsd.lv tag.c revision 1.37 date: 2022/04/26 11:38:38; author: schwarze; lines: +17 -4; If a node is tagged explicitly, skip implicit tagging for that node. Apart from making sense in the first place, this fixes an assertion failure that happened when the calculated implicit tag did not match the string value of the first child of the node, Bug found by tb@ using afl(1). some branches have imported updated mandoc (e.g. stable/14 and stable/15), but not releng/14.3 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289420-227>
