Update of bug #68202 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.25.0
_______________________________________________________
Follow-up Comment #1:
commit 29765f6d65eb06acaecd6615a85c6a4f8accd497
Author: G. Branden Robinson <[email protected]>
Date: Wed Apr 1 04:35:12 2026 -0500
[troff]: Fix Savannah #68202 (1/2).
* src/roff/troff/env.cpp (add_hyphenation_exception_words_request): Stop
throwing assert(3)ion if an argument contains a non-character. The
assertion is invalidated by plausible user input like:
`.hw baz\%qux`
and similar.
Begins fixing <https://savannah.gnu.org/bugs/?68202>. Problem
introduced by me in commit effd6835dc, 19 November.
commit 99871a67e21df7dcd2633d0f5b558190c190c794
Author: G. Branden Robinson <[email protected]>
Date: Wed Apr 1 04:45:36 2026 -0500
[groff]: Regression-test Savannah #68202.
* src/roff/groff/tests/hw-request-skips-only-invalid-arguments.sh: Do
it.
* src/roff/groff/groff.am (groff_TESTS): Run test.
Test fails at this commit.
commit aedba9a6c0f0b9f3bdea5b272237da50888a9aec
Author: G. Branden Robinson <[email protected]>
Date: Wed Apr 1 04:13:02 2026 -0500
[troff]: Fix Savannah #68202 (2/2).
* src/roff/troff/env.cpp (add_hyphenation_exception_words_request):
Continue interpreting any arguments subsequent to an invalid one.
Doing so is more consistent with AT&T troff (tested: DWB 3.3, Plan 9
from User Space, Heirloom Doctools, Solaris). Convert diagnostic
emitted in this circumstance from an error to a warning in category
"char".
Fixes <https://savannah.gnu.org/bugs/?68202>. Problem appears to date
back to groff's birth.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68202>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
