From a3f2a47136ae5a1cb2a536d800fb59ab71aaf153 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 25 Jul 2011 01:03:13 -0500 Subject: [PATCH] pkg: handle node::package being crap --- pkg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg.c b/pkg.c index bb3afca..391a09c 100644 --- a/pkg.c +++ b/pkg.c @@ -44,6 +44,9 @@ pkg_traverse(pkg_t *root, { pkg_t *pkgdep; + if (*node->package == '\0') + continue; + pkgdep = pkg_find(node->package); if (pkgdep == NULL) {