[PATCH] qemu: Fix crash in qemuBuildDeviceCommandlineHandleOverrides

Pavel Hrdina phrdina at redhat.com
Mon Jun 6 08:33:32 UTC 2022


On Mon, Jun 06, 2022 at 10:26:38AM +0200, Peter Krempa wrote:
> 'STREQ' is used to compare the override alias with the device alias.
> While the parser ensures that the override alias is non-NULL, the device
> alias may be NULL and STREQ doesn't handle that.
> 
> Fixes: 38ab5c9ead5
> Resolves: https://gitlab.com/libvirt/libvirt/-/issues/321
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_command.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220606/5e0824ed/attachment.sig>


More information about the libvir-list mailing list