or this may crash with use-after-free in makewhatis(8);
reported by jmc@, thanks!
-/* $OpenBSD: roff.c,v 1.178 2017/06/07 00:50:30 schwarze Exp $ */
+/* $OpenBSD: roff.c,v 1.179 2017/06/08 19:35:34 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
r->format = r->options & (MPARSE_MDOC | MPARSE_MAN);
r->control = '\0';
r->escape = '\\';
+ roffce_lines = 0;
+ roffce_node = NULL;
+ roffit_lines = 0;
+ roffit_macro = NULL;
}
void