diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-24 18:04:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-24 18:04:10 +0000 |
commit | 87b33207281eab1594f4681af9e74ecdc86df0ba (patch) | |
tree | 83db806ee0d7721264c5971cc7058848b10e24fe /man.h | |
parent | 9d010e593cd4c985aa8b89549f36c0091dd78cb1 (diff) | |
download | mandoc-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. */ |