Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Print warning when issue #20 is encountered due to it's Matrix-like q…
Browse files Browse the repository at this point in the history
…ualities

Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
Ikey Doherty committed Jan 14, 2016
1 parent 0651b71 commit da66c97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit da66c97

Please sign in to comment.