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

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



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 redhat com>

Reviewed-by: Cole Robinson <crobinso redhat com>


- Cole


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