Debian Package rebuild

Rebuild of the Debian archive with clang

"Security: Format string is not a string literal" build failure(s)
clang 8.0.1
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
PackageVersionSupposed error messageFull log Bug report
anjuta 2:3.34.0-3anjuta-status.c:215:30: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
brasero 3.12.2-6 GCC warning "G_ADD_PRIVATE"brasero-misc.c:115:11: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
cpl-plugin-amber 4.3.9+dfsg-2amber_ascii_export.c:466:23: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
cpl-plugin-xshoo 3.3.5+dfsg-2xsh_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.32+git20190507.9834b34-2fcping.c:218:28: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
gmsh 4.4.1+ds1-2MeshOpt.cpp:142:34: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
gnome-screensaver 3.6.1-11gs-listener-dbus.c:362:39: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
hyphy 2.5.1+dfsg-3string_file_wrapper.cpp:51:27: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
kylin-burner 3.0.7-1burner-misc.c:116:11: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
muffin 4.4.2-3clutter-main.c:3719:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
ncap 1.9.2-4asprintf.c:35:30: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
osmo-pcu 0.5.1-1encoding.cpp:335:30: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
rcs 5.9.4-6b-excwho.c:126:15: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
vinagre 3.22.0-7vinagre/vinagre-utils.c:686:29: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
15 errors
Return to the list