[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55693] Possible bug in file src/devices/grohtml/post-html.cpp line
From: |
G. Branden Robinson |
Subject: |
[bug #55693] Possible bug in file src/devices/grohtml/post-html.cpp line 1751 |
Date: |
Mon, 24 May 2021 22:28:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #55693 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #2:
Hi Petru,
Thanks again for the report. This issue is now fixed in Git.
Unfortunately, I hosed the bug number in the commit message, but I will
correct it in the ChangeLog in commit that is forthcoming soon.
commit 7dcb6263dcb3edcf373fff0a6e1f62242d18950e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Sun May 23 13:01:52 2021 +1000
[grohtml]: Avoid deallocation of static strings.
* src/devices/grohtml/post-html.cpp (assert_state::add): Avoid potential
deallocation of statically-allocated strings. Use strsave() to
duplicate them so that they can be safely handed to a_delete(). Also
update diagnostic message to report name of complaining program
(continuing the long process of fixing Savannah #52463).
Fixes <https://savannah.gnu.org/bugs/index.php?60656>. Thanks to
Petru-Florin Mihancea for the report.
Also wrap source lines at 72 columns.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55693>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/