summaryrefslogtreecommitdiffstats
path: root/man.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-24 18:04:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-24 18:04:10 +0000
commit87b33207281eab1594f4681af9e74ecdc86df0ba (patch)
tree83db806ee0d7721264c5971cc7058848b10e24fe /man.h
parent9d010e593cd4c985aa8b89549f36c0091dd78cb1 (diff)
downloadmandoc-87b33207281eab1594f4681af9e74ecdc86df0ba.tar.gz
For .RS, we need to save the information how much we actually indented
because negative indents can get truncated, in which case we no longer know how to restore the original indent at the end of the block. This also solves another case of effectively infinite output found by jsg@ with afl, triggered by very large negative indents.
Diffstat (limited to 'man.h')
-rw-r--r--man.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/man.h b/man.h
index ebc31ad1..abeab2ba 100644
--- a/man.h
+++ b/man.h
@@ -99,6 +99,7 @@ struct man_node {
struct man_node *body; /* BLOCK node BODY ptr */
const struct tbl_span *span; /* TBL */
const struct eqn *eqn; /* EQN */
+ int aux; /* decoded node data, type-dependent */
};
/* Names of macros. Index is enum mant. */