Re: [PATCH 1/3] authz-list-file: Fix crash when filename is not set

2020-10-09 Thread Li Qiang
Eduardo Habkost 于2020年10月9日周五 上午4:28写道: > > 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

Re: [PATCH 1/3] authz-list-file: Fix crash when filename is not set

2020-10-09 Thread Philippe Mathieu-Daudé
On 10/8/20 10:27 PM, Eduardo Habkost wrote: 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:

Re: [PATCH 1/3] authz-list-file: Fix crash when filename is not set

2020-10-09 Thread Daniel P . Berrangé
On Thu, Oct 08, 2020 at 04:27:11PM -0400, Eduardo Habkost wrote: > 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 (

Re: [PATCH 1/3] authz-list-file: Fix crash when filename is not set

2020-10-08 Thread Cleber Rosa
On Thu, Oct 08, 2020 at 04:27:11PM -0400, Eduardo Habkost wrote: > 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 (

[PATCH 1/3] authz-list-file: Fix crash when filename is not set

2020-10-08 Thread Eduardo Habkost
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 --- Cc: "Daniel P. Berrangé" C