diff --git a/src/main.c b/src/main.c index 306779a..cc72651 100644 --- a/src/main.c +++ b/src/main.c @@ -107,6 +107,11 @@ static void cve_add_package_internal(struct source_package_t *pkg) for (em = issues; em; em = em->next) { cur_id = em->data; + if (!cur_id) { + fprintf(stderr, "Fatal configuration detected (null immutable item): Please report this issue to: https://github.com/ikeydoherty/cve-check-tool/issues/20\n"); + continue; + } + if (pkg_plugin->is_ignored && pkg_plugin->is_ignored(pkg, (gchar*)cur_id)) { continue; }