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