diff options
author | Eduardo Habkost | 2020-10-08 22:27:11 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-10-13 21:56:30 +0200 |
commit | 14b394853606ab79f1d71f3bbbb4ccaab6538c8f (patch) | |
tree | 7140a49bcea249d72a6c8b2812b06ade349c87b0 /net/can | |
parent | vhost-user: Register "chardev" as class property (diff) | |
download | qemu-14b394853606ab79f1d71f3bbbb4ccaab6538c8f.tar.gz qemu-14b394853606ab79f1d71f3bbbb4ccaab6538c8f.tar.xz qemu-14b394853606ab79f1d71f3bbbb4ccaab6538c8f.zip |
authz-list-file: Fix crash when filename is not set
Fix the following crash:
$ qemu-system-x86_64 -object authz-list-file,id=obj0
qemu-system-x86_64: -object authz-list-file,id=obj0: GLib: g_file_get_contents: assertion 'filename != NULL' failed
Segmentation fault (core dumped)
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20201008202713.1416823-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions