[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64488] [pic] troff.cpp: '%s' directive argument is null [-Wformat-
From: |
G. Branden Robinson |
Subject: |
[bug #64488] [pic] troff.cpp: '%s' directive argument is null [-Wformat-overflow=] |
Date: |
Wed, 2 Aug 2023 12:51:09 -0400 (EDT) |
Update of bug #64488 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #1:
commit 705be31107334c00f7d963cca5f9e896b91b1022
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Sat Jul 29 05:25:03 2023 -0500
[pic]: Fix Savannah #64488 (`lf` request usage).
* src/preproc/pic/troff.cpp (troff_output::set_location): Do more
parameter validation. Don't generate the two-argument form of the
`lf` request if the C string holding the new file name to write isn't
a null pointer. Also `assert()` this since it should be an invariant.
Fixes <https://savannah.gnu.org/bugs/?64488>. Thanks to Bjarni Ingi
Gislason for the report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64488>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #64488] [pic] troff.cpp: '%s' directive argument is null [-Wformat-overflow=],
G. Branden Robinson <=