bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65962] [troff] want stack limit reduced to <=100


From: Dave
Subject: [bug #65962] [troff] want stack limit reduced to <=100
Date: Mon, 8 Jul 2024 21:31:45 -0400 (EDT)

Follow-up Comment #3, bug #65962 (group groff):

This bug report does highlight one bit of inaccurate wording in the manual,
though.

[comment #1 comment #1:]
>      You can disable this protective measure, or
>      raise the limit, by setting the 'slimit' register.

In fact, you can also lower the limit.

$ cat slimit.roff
.de infinitely-recurse
\\n+[count]
.br
.infinitely-recurse
..
.nr count 0 1
.nr slimit 10
.infinitely-recurse
$ nroff slimit.roff | cat -s
troff:slimit:8: fatal error: input stack limit exceeded (probable infinite
loop)
1
2
3
4
5
6
7
8





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65962>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]