bug-groff
[Top][All Lists]
Advanced

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

[bug #61173] [libgroff] off by one error in line numbers reported by dev


From: G. Branden Robinson
Subject: [bug #61173] [libgroff] off by one error in line numbers reported by device/font file diagnostics
Date: Thu, 16 Sep 2021 18:52:02 -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/?61173>

                 Summary: [libgroff] off by one error in line numbers reported
by device/font file diagnostics
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Thu 16 Sep 2021 10:52:00 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

I took the devut8 DESC and R files and damaged them by inserting some
characters with the eighth bit set.


$ groff -T utf8 -F ./build/font
groff:./build/font/devutf8/DESC:6: invalid input character code '129'
./build/font/devutf8/DESC:6: error: invalid input character code '129'
./build/font/devutf8/R:0: error: invalid input character code '130'
$ sed -n '6,7p' ./build/font/devutf8/DESC | xxd
00000000: 666f 6e74 7320 3420 5220 4920 4220 4249  fonts 4 R I B BI
00000010: 0ac2 8174 636f 6d6d 616e 640a            ...tcommand.
$ sed -n '1p' ./build/font/devutf8/R | xxd
00000000: c282 6e61 6d65 2052 0a                   ..name R.
 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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