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);
|
pkgdep_entries);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (pd == NULL)
|
||||||
|
continue;
|
||||||
/*
|
/*
|
||||||
* Packages that don't have deps go at head, because
|
* Packages that don't have deps go at head, because
|
||||||
* it doesn't matter.
|
* it doesn't matter.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user