forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ac14949821
With the G_GNUC_PRINTF function attribute the compiler detects two potential insecure format strings: ../../../net/stream.c:248:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] qemu_set_info_str(&s->nc, uri); ^~~ ../../../net/stream.c:322:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] qemu_set_info_str(&s->nc, uri); ^~~ There are also two other warnings: ../../../net/socket.c:182:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 182 | qemu_set_info_str(&s->nc, ""); | ^~ ../../../net/stream.c:170:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 170 | qemu_set_info_str(&s->nc, ""); Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20221126152507.283271-7-sw@weilnetz.de> |
2 years ago | |
---|---|---|
.. | ||
can | 3 years ago | |
announce.c | 3 years ago | |
checksum.c | 3 years ago | |
clients.h | 2 years ago | |
colo-compare.c | 2 years ago | |
colo-compare.h | 4 years ago | |
colo.c | 2 years ago | |
colo.h | 2 years ago | |
dgram.c | 2 years ago | |
dump.c | 3 years ago | |
eth.c | 3 years ago | |
filter-buffer.c | 4 years ago | |
filter-mirror.c | 3 years ago | |
filter-replay.c | 4 years ago | |
filter-rewriter.c | 2 years ago | |
filter.c | 4 years ago | |
hub.c | 2 years ago | |
hub.h | 5 years ago | |
l2tpv3.c | 2 years ago | |
meson.build | 2 years ago | |
net.c | 2 years ago | |
netmap.c | 4 years ago | |
queue.c | 4 years ago | |
slirp.c | 2 years ago | |
socket.c | 2 years ago | |
stream.c | 2 years ago | |
tap-bsd.c | 3 years ago | |
tap-linux.c | 3 years ago | |
tap-linux.h | 2 years ago | |
tap-solaris.c | 3 years ago | |
tap-stub.c | 4 years ago | |
tap-win32.c | 2 years ago | |
tap.c | 2 years ago | |
tap_int.h | 4 years ago | |
trace-events | 2 years ago | |
trace.h | 4 years ago | |
util.c | 9 years ago | |
util.h | 3 years ago | |
vde.c | 2 years ago | |
vhost-user-stub.c | 6 years ago | |
vhost-user.c | 2 years ago | |
vhost-vdpa-stub.c | 2 years ago | |
vhost-vdpa.c | 2 years ago | |
vmnet-bridged.m | 3 years ago | |
vmnet-common.m | 3 years ago | |
vmnet-host.c | 3 years ago | |
vmnet-shared.c | 3 years ago | |
vmnet_int.h | 3 years ago |