diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-10 17:47:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-10 17:47:45 +0000 |
commit | f3138b20a341b989240218c6f5d74bbef7fae89e (patch) | |
tree | 06e80a15d365206f98a261823a0eb4a56c9f4490 /eqn.c | |
parent | cb3e90e0e6db40508a63959069161c053a32fa5f (diff) | |
download | mandoc-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 'eqn.c')
0 files changed, 0 insertions, 0 deletions