URL: <https://savannah.gnu.org/bugs/?66485>
Summary: [pre-grohtml] reads garbage from memory when command
line invalid
Group: GNU roff
Submitter: gbranden
Submitted: Wed 27 Nov 2024 10:38:10 AM UTC
Category: Preprocessor html
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 27 Nov 2024 10:38:10 AM UTC By: G. Branden Robinson <gbranden>
My least favorite preprocessor can be easily sent into lunar orbit.
$ printf 'caf\\[e `]\n' | groff -P -k utf-8 -Thtml
pre-grohtml: errorsoelim: :u nerrorr: eccaongnnoitz eodp ecno m'mutf-8a'n:d
-No such file or directoryl
ine option 'k'
usage: pre-grohtml [-epV] [-a anti-aliasing-text-bits] [-D image-directory]
[-F font-directory] [-g anti-aliasing-graphics-bits] [-i resolution] [-I
image-stem] [-o image-vertical-offset] [-x html-dialect] troff-command
troff-argument ...
usage: pre-grohtml {-v | --version}
usage: pre-grohtml --help
post-grohtml: error: unrecognized command-line option 'k'
usage: post-grohtml [-bCGhlnrUVy] [-F font-directory] [-j output-stem] [-s
base-type-size] [-S heading-level] [-x html-dialect] [file ...]
usage: post-grohtml {-v | --version}
usage: post-grohtml --help
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66485>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
