aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/de/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* If a user-defined macro is aborted because it exceeds the stackIngo Schwarze2017-03-071-2/+7
| | | | | | | | | | | | | | | | | | | limit, usually due to infinite recursion, discard whatever remains in all those open stack levels. Otherwise, insane constructions like the following could generate macros of enormous size, causing mandoc(1) to die from memory exhaustion: .de m \" original macro definition .m \" recursion to blow up the stack .de m \" definition to be run during the call of .m marked (*) very long plain text (some kilobytes) .m \" expand the above a thousand times while unwinding the stack .. \" end of the original definition .m \" (*) recursively generate a ridiculously large macro .. \" end of recursively generated definition .m \" execute the giant macro, exhausting memory Very creative abuse found by tb@ with afl(1).
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-081-0/+44
Both kristaps@ and wiz@ repeated asked for this, literally for years.