Debian Package rebuild

Rebuild of the Debian archive with clang

"Security: Format string is not a string literal" build failure(s)
clang 13.0.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
anjuta 2:3.34.0-4anjuta-status.c:215:30: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
brasero 3.12.3-1gtype.h:661brasero-misc.c:115:11: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
bubblewrap 0.5.0-1tests/test-utils.c:35:12: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
cpl-plugin-xshoo 3.5.0+dfsg-4xsh_model_io.c:691:35: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
cronutils 1.9-3runstat.c:79:31: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
gnome-desktop-testing 2021.1-2src/gnome-desktop-testing-runner.c:94:31: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
gnome-screensaver 3.6.1-13gs-listener-dbus.c:362:39: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
kylin-burner 3.0.10-1.1gmacros.h:1102:37: note: burner-misc.c:116:11: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
muffin 5.0.1-2clutter-main.c:3719:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
ncap 1.9.2-7asprintf.c:35:30: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
phoc 0.8.0-2../src/main.c:59:33: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
rcs 5.10.0-2b-excwho.c:126:15: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] Log
ukwm 1.2.0-1clutter-main.c:3692:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
vinagre 3.22.0-8.1vinagre/vinagre-utils.c:686:29: error: format string is not a string literal [-Werror,-Wformat-nonliteral] Log
14 errors
Return to the list