[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64488] pic/troff.cpp: filename reported as being a "nullptr" [-Wfo
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #64488] pic/troff.cpp: filename reported as being a "nullptr" [-Wformat-overflow=] |
Date: |
Fri, 28 Jul 2023 18:50:38 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64488>
Summary: pic/troff.cpp: filename reported as being a
"nullptr" [-Wformat-overflow=]
Group: GNU roff
Submitter: bjarniig
Submitted: Fri 28 Jul 2023 10:50:36 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 28 Jul 2023 10:50:36 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: pic/troff.cpp: filename reported as being a "nullptr"
[-Wformat-overflow=]
Filename: src/preproc/pic/troff.cpp.
With g++ (Debian trixie, (Debian 13.1.0-9) 13.1.0):
CXX src/preproc/pic/pic-troff.o
../src/preproc/pic/troff.cpp: In member function 'virtual void
troff_output::set_location(const char*, int)':
../src/preproc/pic/troff.cpp:567:20: warning: '%s' directive argument is null
[-Wformat-overflow=]
567 | printf(".lf %d %s\n", n, s);
| ^~
CXX src/preproc/pic/pic-tex.o
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64488>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #64488] pic/troff.cpp: filename reported as being a "nullptr" [-Wformat-overflow=],
Bjarni Ingi Gislason <=