Debian Package rebuild

Rebuild of the Debian archive with clang

"Security: Format string is not a string literal" build failure(s)
clang 6.0
Return to the list
The following code builds without any issue with gcc and fails with clang:
#include <stdio.h>

void foo(void) {
    char buffer[1024];
    sprintf(buffer, "%n", 2);
}
gcc -Werror -c foo.c
clang -Werror -c foo.c
Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
PackageVersionSupposed error messageFull log Bug report
casync 2+20180321-1../src/log.c:59:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
cpl-plugin-amber 4.3.8+dfsg-1amber_ascii_export.c:466:23: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
cpl-plugin-xshoo 3.1.0+dfsg-1xsh_model_io.c:691:35: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
cronutils 1.9-1runstat.c:79:31: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
fcoe-utils 1.0.31+git20160622.5dfd3e4-2fcping.c:218:28: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
gmsh 3.0.6+dfsg1-1MeshOpt.cpp:164:34: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
gtksourceview2 2.10.5-3test-widget.c:271:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
libbonoboui 2.24.5-4bonobo-ui-node.c:844:40: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
lldpad 1.0.1+git20150824.036e314-2lldp_dcbx_nl.c:810:17: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
ncap 1.9.2-2.2asprintf.c:35:30: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
osmo-pcu 0.4.0-3encoding.cpp:325:30: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
rcs 5.9.4-4b-excwho.c:126:15: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
tulip 4.8.0dfsg-2CoinMessageHandler.cpp:764:26: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
13 errors
Return to the list