[libvirt] [PATCH 5/6] Fix crash on usb-serial hotplug

John Ferlan jferlan at redhat.com
Tue Oct 25 12:11:37 UTC 2016



On 10/21/2016 09:58 AM, Ján Tomko wrote:
> For domains with no USB address cache, we should not attempt
> to generate a USB address.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1387665
> ---
>  src/qemu/qemu_hotplug.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK

John

Yet another case where ATTRIBUTE_NONNULL(#arg) doesn't really work if
the passed argument is assigned to NULL <sigh> (as opposed to the checks
made if someone passed 'NULL' in the argument.




More information about the libvir-list mailing list