[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62813] [troff] invalid input can corrupt subsequent diagnostic mes
From: |
G. Branden Robinson |
Subject: |
[bug #62813] [troff] invalid input can corrupt subsequent diagnostic message |
Date: |
Sat, 30 Jul 2022 14:55:23 -0400 (EDT) |
Update of bug #62813 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #2:
commit 812604ac60537acdbe714270eaaafb21170fe10c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Mon Jul 25 15:28:24 2022 -0500
src/roff/troff/input.cpp: Fix Savannah #62813.
* src/roff/troff/input.cpp (input_char_description): Clear static buffer
on every entry to the function so that calling it twice in succession
where the second call populates the buffer with less data doesn't
return leftover garbage characters. Problem appears to date back to
1991 or earlier.
Fixes <https://savannah.gnu.org/bugs/?62813>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62813>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/