]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: annotate various parameters as being required to be non-NULL
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Jan 2018 13:02:06 +0000 (13:02 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 31 Jan 2018 15:16:03 +0000 (15:16 +0000)
commit9da0cc9ddbc84f8a7d35174539d3f5fe5a99080e
treea5ab935ce478d55a645fcb7ff80eae44b16fb025
parentb41780e47a36028713cde001f82a2930a3031d94
rpc: annotate various parameters as being required to be non-NULL

The server name and client data callbacks need to be non-NULL or the
system will crash at various times. This is particularly bad when some
of the crashes only occur post-exec restart.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/rpc/virnetserver.h
src/rpc/virnetserverclient.h