Update of bug #68942 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
As noted in comment #3, there's some follow-up work to do, but the bug itself
is fixed.
commit 67c668c2f4f8b3a1962f0a9564f26c9603d14cc5
Author: G. Branden Robinson <[email protected]>
Date: Sat Nov 21 13:40:51 2026 -0600
[grotty]: Regression-test Savannah #68942.
* src/devices/grotty/tests/do-not-segv-on-huge-vertical-motion.sh: New
file; do it.
* src/devices/grotty/grotty.am: Update `grotty_TESTS` to run test.
Test fails at this commit.
commit 112ec43851228e1e4f68e8477aa3de6606a98e0e
Author: G. Branden Robinson <[email protected]>
Date: Fri Nov 20 20:41:07 2026 -0600
[grotty]: Fix Savannah #68942.
* src/devices/grotty/tty.cpp (tty_printer::add_char): When making a
large vertical motion that far exceeds the existing page length,
double the size of the page's line count _until_ the new vertical
position (`vpos`) lies within it, instead of only once. Check for
integer overflow when increasing the page length and throw fatal error
if it occurs.
Fixes <https://savannah.gnu.org/bugs/?68942>. Problem introduced by me
in commit b5ede708b9, 17 March, when revising memory management strategy
to address Savannah #68145.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68942>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
