queue: handle pkgconf_pkg_verify_dependency failure while flattening

master
Ariadne Conill 2022-06-26 18:09:22 +00:00
parent 9bc6d80e61
commit a1a415111f
1 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,9 @@ flatten_dependency_set(pkgconf_client_t *client, pkgconf_list_t *list)
pkgconf_dependency_t *dep = node->data; pkgconf_dependency_t *dep = node->data;
pkgconf_pkg_t *pkg = pkgconf_pkg_verify_dependency(client, dep, NULL); pkgconf_pkg_t *pkg = pkgconf_pkg_verify_dependency(client, dep, NULL);
if (pkg == NULL)
continue;
if (pkg->serial == client->serial) if (pkg->serial == client->serial)
continue; continue;