tag -1 + upstream fixed-upstream
thanks

A fix for this problem has been committed upstream and it is expected in
the groff 1.23.0 release.

commit 6692653f7cae4116d4e70318f71b3d0808f2261f
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
Date:   Sat Sep 11 07:02:07 2021 +1000

    [troff]: Clamp negative tab stop positions to 0.
    
    ...instead of throwing an assertion failure.
    
    * src/roff/troff/env.cpp (tab_stops::distance_to_next_tab): Replace
      `assert` with clamping logic, ensuring that `lastpos` can never be
      negative.  While negative tab stop positions don't make much sense
      (they result in zero horizontal motion), user input like `.ta T -5`
      should never provoke an assertion failure.
    
      (set_tabs): Throw range warning in additional scenario, viz., if a
      repeating tab offset is negative.
    
    Fixes <https://bugs.debian.org/990406>.  Thanks to наб for the report.
    
    Also wrap nearby long source lines.

Attachment: signature.asc
Description: PGP signature

Reply via email to