]> code.ossystems Code Review - openembedded-core.git/commit
libsolv: fix segfault when using SOLVER_DISFAVOR
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>
Thu, 7 Feb 2019 15:57:58 +0000 (09:57 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Feb 2019 10:54:46 +0000 (10:54 +0000)
commitd3ee06845e18ecf94770ff0970c2a0d6631ed214
tree3f85cdafedee545caf62a031838d7e318a2c3d47
parent788d97b4f8e4452cef1ba6bb3e565e1b52dbb7de
libsolv: fix segfault when using SOLVER_DISFAVOR

Opkg --add-ignore-recommends use the flag SOLVER_DISFAVOR. If a package
is set to be ignored as a recommendee, but there are not other
recommends on the package graph, libsolv segfaults.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/libsolv/libsolv/0001-solver_solve-only-disfavor-recommends-if-there-are-a.patch [new file with mode: 0644]
meta/recipes-extended/libsolv/libsolv_0.7.3.bb