lib/transaction_sortdeps.c: CID 62717 (NULL pointer dereference)
This commit is contained in:
parent
8c5ef42935
commit
fcf464d2fa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user