[bug #68521] [troff] assertion failure in `void charinfo::set_number(int)`: (n >= 0)
"G. Branden Robinson" <[email protected]> Mon, 13 Jul 2026 19:05:34 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of bug #68521 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
commit feb92d80933f13bd639d3d4962c279463e729188
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 10:32:52 2026 -0500
[troff]: Fix Savannah #68521.
* src/roff/troff/input.cpp (token::next): Perform range check on
parameter to `\N` escape sequence; throw error diagnostic if it fails.
Fixes <https://savannah.gnu.org/bugs/?68521>. Problem introduced by me
in commit b039f8c3d1, 2025-03-29, an attempt to improve compatibility
with DWB troff. (But as noted in that commit, DWB troff appears not to
_exercise_ its freedom to employ negative character indices.)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68521>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalVvPgAKCRCqLAuaBUf3 TtUIAQD4hSpkmg4wGix/SmaIdBounHqxZnjAy/h9qffA1v+syQD/ct9cBxXVx24n Kt8AfomLO/5mnrEj20keeoDxOex+OwI= =SMpY -----END PGP SIGNATURE-----