[bug #68560] [PATCH] [grops] ASAN reports 1-byte heap overread with certain invalid `import` device extension command arguments

"G. Branden Robinson" <[email protected]> Fri, 24 Jul 2026 20:19:26 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
--8323329-424238335-1784938766=:1227455
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #2, bug #68560 (group groff):=0A=0AThe quoted fix also ma=
kes the error diagnostics more intelligible.=0A=0A=0A$ ../src/devices/grops=
/tests/device-extension-command-import-works.sh=0A>/dev/null=0Achecking tha=
t 'ps: import' device extension command works=0A./grops:<standard input>:17=
: error: invalid argument 'a 203b 311c 408d 481e=0A144000f 119415g' to devi=
ce extension command 'import'=0A./grops:<standard input>:18: error: invalid=
 numeric argument(s) 'a' to device=0Aextension command 'import'=0A=0A=0A=0A=
=0A    _______________________________________________________=0A=0AReply t=
o this item at:=0A=0A  <https://savannah.gnu.org/bugs/?68560>=0A=0A________=
_______________________________________=0AMessage sent via Savannah=0Ahttps=
://savannah.gnu.org/=0A
--8323329-424238335-1784938766=:1227455
Content-Type: APPLICATION/pgp-signature; name=signature.asc

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCamQBDgAKCRCqLAuaBUf3
Ts68AQCqtOqFBLvwQFcX2E4wd3wCbt3J3on7fExh1lJQdw7i2wEAyFHDpFPHuH2G
QOxcehusBzKnvefgv47Tln6N5WJVNw4=
=GQ4C
-----END PGP SIGNATURE-----

--8323329-424238335-1784938766=:1227455--