summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-10 17:47:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-10 17:47:45 +0000
commitf3138b20a341b989240218c6f5d74bbef7fae89e (patch)
tree06e80a15d365206f98a261823a0eb4a56c9f4490 /term.h
parentcb3e90e0e6db40508a63959069161c053a32fa5f (diff)
downloadmandoc-f3138b20a341b989240218c6f5d74bbef7fae89e.tar.gz
Be more careful to not generate empty .In, .St, and .Xr nodes.
That could happen when their first argument was another called macro, causing a NULL pointer access in .St validation found by jsg@ with afl. Make in_line_argn() easier to understand by using one state variable rather than two.
Diffstat (limited to 'term.h')
0 files changed, 0 insertions, 0 deletions