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.
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>
|
3 years ago | |
|---|---|---|
| .. | ||
| can | 4 years ago | |
| announce.c | 4 years ago | |
| checksum.c | 4 years ago | |
| clients.h | 3 years ago | |
| colo-compare.c | 3 years ago | |
| colo-compare.h | 4 years ago | |
| colo.c | 3 years ago | |
| colo.h | 3 years ago | |
| dgram.c | 3 years ago | |
| dump.c | 4 years ago | |
| eth.c | 4 years ago | |
| filter-buffer.c | 5 years ago | |
| filter-mirror.c | 4 years ago | |
| filter-replay.c | 5 years ago | |
| filter-rewriter.c | 3 years ago | |
| filter.c | 5 years ago | |
| hub.c | 3 years ago | |
| hub.h | 6 years ago | |
| l2tpv3.c | 3 years ago | |
| meson.build | 3 years ago | |
| net.c | 3 years ago | |
| netmap.c | 5 years ago | |
| queue.c | 5 years ago | |
| slirp.c | 3 years ago | |
| socket.c | 3 years ago | |
| stream.c | 3 years ago | |
| tap-bsd.c | 4 years ago | |
| tap-linux.c | 4 years ago | |
| tap-linux.h | 3 years ago | |
| tap-solaris.c | 4 years ago | |
| tap-stub.c | 4 years ago | |
| tap-win32.c | 3 years ago | |
| tap.c | 3 years ago | |
| tap_int.h | 4 years ago | |
| trace-events | 3 years ago | |
| trace.h | 5 years ago | |
| util.c | 10 years ago | |
| util.h | 4 years ago | |
| vde.c | 3 years ago | |
| vhost-user-stub.c | 7 years ago | |
| vhost-user.c | 3 years ago | |
| vhost-vdpa-stub.c | 3 years ago | |
| vhost-vdpa.c | 3 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 | |