bug-groff
[Top][All Lists]
Advanced

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

[bug #61423] [libgroff] allow paths in "name" directive of font descript


From: G. Branden Robinson
Subject: [bug #61423] [libgroff] allow paths in "name" directive of font description file, restoring historical groff behavior
Date: Thu, 4 Nov 2021 05:05:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #61423 (project groff):

                Severity:                1 - Wish => 2 - Minor              
                  Status:                    None => In Progress            

    _______________________________________________________

Follow-up Comment #3:

Oh, look, there's a directory traversal problem, present since day one.

In testing a fix in progress, I managed to get the "opposite" complaint from
the one you had.


$ ./build/test-groff -Tutf8
.fp 5 ./R
troff: /home/branden/src/GIT/groff/build/font/devutf8/./R:1: error: font
description file name './R' does not match 'name' argument 'R'
troff: backtrace: file '<standard input>':1
troff:<standard input>:1: error: cannot load font './R' for mounting
.fp 5 ../devutf/R
troff: backtrace: file '<standard input>':2
troff:<standard input>:2: error: cannot load font '../devutf/R' for mounting
.fp 5 ../devutf8/R
troff: /home/branden/src/GIT/groff/build/font/devutf8/../devutf8/R:1: error:
font description file name '../devutf8/R' does not match 'name' argument 'R'
troff: backtrace: file '<standard input>':3
troff:<standard input>:3: error: cannot load font '../devutf8/R' for mounting


I can do something unpleasant in groff 1.22.4, so I'll open a separate,
higher-severity ticket for that.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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