From 4779d1b30e29ee1f848dbfdced4e200abc5f99a8 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 24 Dec 2014 18:04:10 +0000 Subject: 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. --- man.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man.h') diff --git a/man.h b/man.h index 08bfcc8e..f4589fe3 100644 --- a/man.h +++ b/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.67 2014/12/01 04:05:32 schwarze Exp $ */ +/* $Id: man.h,v 1.68 2014/12/24 18:04:10 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -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. */ -- cgit v1.2.3