Re: [libosinfo PATCH] tools, detect: Check for NULL variants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/17/19 6:01 AM, Fabiano Fidêncio wrote:
> Both trees & medias may return NULL in case no os-variant was found.
> Let's check for this and avoid a segmentation fault on calling
> osinfo_list_get_length() with a NULL argument.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>

Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx>


- Cole

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux