diff -r 7a86660bcc67 -r 5ce341d27985 librazor/razor.c --- a/librazor/razor.c Mon Jun 23 19:58:13 2008 -0400 +++ b/librazor/razor.c Wed Jun 25 11:44:54 2008 -0400 @@ -578,6 +578,9 @@ char buffer[512]; package = razor_set_get_package(set, name); + /* TODO: we should return the error to the caller */ + if (!package) + return; r = list_first(&package->files, &set->file_pool); end = set->files.size / sizeof (struct razor_entry);