libvirt/src/remote
Scott Davis 8cd9065352 remote: fix null string specifier argument in remoteProbeSessionDriverFromBinary
Detected by gcc 11 -Wformat-overflow:
../src/remote/remote_sockets.c: In function ‘remoteProbeSessionDriverFromBinary’:
../src/util/virlog.h:79:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
   79 |     virLogMessage(src, VIR_LOG_DEBUG, filename, linenr, funcname, NULL, __VA_ARGS__)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util/virlog.h:88:5: note: in expansion of macro ‘VIR_DEBUG_INT’
   88 |     VIR_DEBUG_INT(&virLogSelf, __FILE__, __LINE__, __func__, __VA_ARGS__)
      |     ^~~~~~~~~~~~~
../src/remote/remote_sockets.c:187:9: note: in expansion of macro ‘VIR_DEBUG’
  187 |         VIR_DEBUG("Probing driver '%s' via daemon %s", drivers[i], daemonpath);
      |         ^~~~~~~~~
../src/remote/remote_sockets.c:187:51: note: format string is defined here
  187 |         VIR_DEBUG("Probing driver '%s' via daemon %s", drivers[i], daemonpath);
      |                                                   ^~

Signed-off-by: Scott Davis <scott.davis@starlab.io>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-05-26 10:14:46 +02:00
..
libvirtd-admin.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-ro.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-tcp.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd-tls.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd.aug.in
libvirtd.conf.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd.confd
libvirtd.init.in
libvirtd.libxl.logrotate.in
libvirtd.logrotate.in
libvirtd.lxc.logrotate.in
libvirtd.policy
libvirtd.qemu.logrotate.in
libvirtd.rules
libvirtd.sasl
libvirtd.service.in remove sysconfig files 2022-01-17 18:20:59 +01:00
libvirtd.socket.in util: drop support for obsolete systemd in RHEL-7 2022-02-17 12:35:42 +00:00
libvirtd.sysctl
lxc_protocol.x
meson.build meson: Use dicts to initialize cfg_data objects 2022-04-01 15:33:19 +02:00
qemu_protocol.x lib: Introduce 'virDomainQemuMonitorCommandWithFiles' 2022-03-01 13:29:49 +01:00
remote_daemon_config.c
remote_daemon_config.h
remote_daemon_dispatch.c remoteOpenConn: Pass correct variable to virConnectSetIdentity() 2022-05-19 10:15:48 +02:00
remote_daemon_dispatch.h
remote_daemon_stream.c remote_daemon_stream: Use automatic memory management 2022-03-17 16:44:46 +01:00
remote_daemon_stream.h
remote_daemon.c remote_daemon: Don't run virStateCleanup() if virStateReload() is still running 2022-05-23 14:44:50 +02:00
remote_daemon.h
remote_driver.c remote: Add RPC support for the virDomainRestoreParams API 2022-05-06 15:34:30 +01:00
remote_driver.h
remote_protocol.x remote: Add RPC support for the virDomainRestoreParams API 2022-05-06 15:34:30 +01:00
remote_sockets.c remote: fix null string specifier argument in remoteProbeSessionDriverFromBinary 2022-05-26 10:14:46 +02:00
remote_sockets.h
remote_ssh_helper.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
test_libvirtd.aug.in
virt-guest-shutdown.target
virtproxyd.confd
virtproxyd.init.in
virtproxyd.service.in systemd: Use correct man page name in modular daemon service files 2022-02-01 13:20:11 +01:00