Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: libq/
Date: Thu, 29 Apr 2021 13:47:37
Message-Id: 1619703997.76007ed6b28a5bc8c9b108bdf141fd31357fde6c.grobian@gentoo
1 commit: 76007ed6b28a5bc8c9b108bdf141fd31357fde6c
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 29 13:46:37 2021 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 29 13:46:37 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=76007ed6
7
8 tree: avoid crash at close when a binpkg is skipped
9
10 this fixes up the previous commit 09b8177
11
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 libq/tree.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/libq/tree.c b/libq/tree.c
18 index 04bf468..e692ee9 100644
19 --- a/libq/tree.c
20 +++ b/libq/tree.c
21 @@ -1383,6 +1383,7 @@ tree_foreach_packages(tree_ctx *ctx, tree_pkg_cb callback, void *priv)
22 p++;
23 len--;
24 }
25 + ctx->pkgs = c;
26 continue;
27 }
28 cat->pkg_ctxs = (tree_pkg_ctx **)atom; /* for name */