https://bugs.freedesktop.org/show_bug.cgi?id=77313
Priority: medium
Bug ID: 77313
Assignee: [email protected]
Summary: CoinMP has broken format strings; fails
-Werror=format-security
Severity: major
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: unspecified
Component: Libreoffice
Product: LibreOffice
with Debians default buildflags for package builds, which are
$ dpkg-buildflags
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security
CPPFLAGS=-D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security
FFLAGS=-g -O2
LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
(note the -Werror=format-security):
[...]
g++ -DHAVE_CONFIG_H -I. -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
-DCOINUTILS_BUILD -MT CoinMessageHandler.lo -MD -MP -MF
.deps/CoinMessageHandler.Tpo -c CoinMessageHandler.cpp -fPIC -DPIC -o
.libs/CoinMessageHandler.o
CoinMessageHandler.cpp: In member function 'CoinMessageHandler&
CoinMessageHandler::operator<<(double)':
CoinMessageHandler.cpp:823:35: error: format not a string literal and no format
arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[3]: *** [CoinMessageHandler.lo] Error 1
bad(tm)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs