Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
jobs: fix NULL dereference
Baptiste Daroussin committed 3 months ago
commit 041107eacad8110b4767f3f89ca2e42f491120ec
parent 666f91a779bc89553d2ab0977fe12f8b62ff4cb6
1 file changed +2 -0
modified libpkg/pkg_jobs.c
@@ -1518,6 +1518,8 @@ jobs_solve_full_upgrade(struct pkg_jobs *j)
	assert(!j->solved);

	candidates = pkg_jobs_find_upgrade_candidates(j);
+
	if (candidates == NULL)
+
		return (EPKG_FATAL);
	jcount = candidates->len;

	pkg_emit_progress_start("Checking for upgrades (%zd candidates)",