bug-groff
[Top][All Lists]
Advanced

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

[bug #60935] [troff] option parser will let you create a nameless regist


From: G. Branden Robinson
Subject: [bug #60935] [troff] option parser will let you create a nameless register or string
Date: Sun, 18 Jul 2021 15:42:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?60935>

                 Summary: [troff] option parser will let you create a nameless
register or string
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Sun 18 Jul 2021 07:42:31 PM UTC
                Category: Core
                Severity: 2 - Minor
              Item Group: Warning/Suspicious behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


$ echo '.pm' | groff -d=a
$ echo '.pm' | groff -d==a
$ echo '.pm' | groff -r=1+2+3+4+5


Output not recorded here; try it yourself and let your eyebrow rise.

roff identifiers are notably generous in their naming conventions, but there's
no way to interpolate a null one, so this window should probably be closed.

I'm guessing there is a missing NULL or strlen()==0 check in the option
parser.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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