[bug #68558] [PATCH] [troff] assertion failure in `do` request handler when given an invalid identifier

"G. Branden Robinson" <[email protected]> Sun, 26 Jul 2026 20:04:59 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
--8323329-1714636915-1785110699=:2912601
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Update of bug #68558 (group groff):=0A=0A                  Status:         =
    In Progress =3D> Fixed=0A             Open/Closed:                    O=
pen =3D> Closed=0A=0A    __________________________________________________=
_____=0A=0AFollow-up Comment #2:=0A=0A=0Acommit acef2e3e9acd66840df93d8b59e=
918f49c3f7b1d=0AAuthor: G. Branden Robinson <[email protected]>=
=0ADate:   Fri Jul 24 16:20:14 2026 -0500=0A=0A    [groff]: Regression-test=
 Savannah #68558.=0A    =0A    * src/roff/groff/tests/do-request-does-not-f=
ail-assertion.sh: Do it.=0A    =0A    * src/roff/groff/groff.am (groff_TEST=
S): Run test.=0A    =0A    Test fails at this commit.=0A=0Acommit ba660bda6=
d4f19a7c1432f8a510ff4f0664328d7=0AAuthor: G. Branden Robinson <g.branden.ro=
[email protected]>=0ADate:   Sun Jul 26 00:11:54 2026 -0500=0A=0A    [troff]=
: Fix Savannah #68558.=0A    =0A    * src/roff/troff/input.cpp (do_request)=
: If given a first argument that=0A      is an invalid request or macro nam=
e, we cannot sensibly proceed:=0A      unwind the "compatibility stack" man=
ipulation we just did and return=0A      early, maintaining the integrity o=
f aforesaid stack.=0A    =0A    Fixes <https://savannah.gnu.org/bugs/?68558=
>.  Problem appears to date=0A    back at least to groff 1.22.3 (2014), and=
 possibly much earlier.=0A=0A=0A=0A=0A    _________________________________=
______________________=0A=0AReply to this item at:=0A=0A  <https://savannah=
.gnu.org/bugs/?68558>=0A=0A_______________________________________________=
=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1785110699=:2912601
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCamagqwAKCRCqLAuaBUf3
TpyAAQCtyZXVIlrHPVNWO8Z9lC0kcnSKhs1o25fMvnCZLJIfwQEAxRzgfx0ojpz4
QhIC58Rp8oVprBFCyLylKSSk6mt/iwg=
=0n4A
-----END PGP SIGNATURE-----

--8323329-1714636915-1785110699=:2912601--