Skip to content

gs-plugin-appstream: Fix a crash when no appstream data is found

Milan Crha requested to merge wip/crash-no-appstream-data into main

The xb_silo_query() can return NULL, thus count with it, instead of dereferencing a NULL pointer.

Reported downstream:
https://bugzilla.redhat.com/show_bug.cgi?id=2272028

Merge request reports