lib/transaction_sortdeps.c: CID 62717 (NULL pointer dereference)
This commit is contained in:
1 parent
8c5ef42935
commit
fcf464d2fa
1 file changed
+2
@@ -345,6 +345,8 @@ xbps_transaction_sort(struct xbps_handle *xhp)
|
||||
pkgdep_entries);
|
||||
}
|
||||
}
|
||||
if (pd == NULL)
|
||||
continue;
|
||||
/*
|
||||
* Packages that don't have deps go at head, because
|
||||
* it doesn't matter.
|
||||
|
||||
Reference in new issue
Block a user