[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56555] I can make grops and grotty core dump with 5 bytes of input
From: |
G. Branden Robinson |
Subject: |
[bug #56555] I can make grops and grotty core dump with 5 bytes of input |
Date: |
Wed, 26 Jun 2019 13:46:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 PureBrowser/60.7.1 |
Follow-up Comment #5, bug #56555 (project groff):
To clarify my earlier comment about "malformed input", there was nothing wrong
with the _syntax_ of the ditroff t command in the input file.
roff veterans know this, but a ditroff file requires some prologue (and
epilogue) to be well-formed.
My crasher document consisted solely of the characters "\!tr" (and a newline),
which used the "transparent line indicator" to pass the contents of the line
after the \! escape directly to groff's intermediate output format (which is a
pain to type out so I just say "ditroff").
"tr" means "typeset the letter r".
If we ask the groff frontend to typeset the letter "r", we get much more:
$ echo r | groff -Z
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
tr
n12000 0
x trailer
V792000
x stop
Careful inspection reveals a line exactly matching "tr".
One might be surprised to learn that the output for the supposedly-simpler
nroff/grotty devices is not any simpler.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56555>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #56555] I can make grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input,
G. Branden Robinson <=
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, Werner LEMBERG, 2019/06/26
- [bug #56555] I can make grops and grotty core dump with 5 bytes of input, G. Branden Robinson, 2019/06/26