Commit 19d7cc8
Alejandro del Castillo
solver_solve: only disfavor recommends if there are any
In a repo that have pkg 'a' and 'b' available, and 'b' is disfavored,
but 'a' doesn't recommend 'b', libsolv segfaults on
solver_addrecommendsrules, since solv->recommendsruleq is null. Only
call solver_addrecommendsrules if there are recommends rules.
Signed-off-by: Alejandro del Castillo <[email protected]>1 parent dc7d0f1 commit 19d7cc8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3920 | 3920 | | |
3921 | 3921 | | |
3922 | 3922 | | |
3923 | | - | |
| 3923 | + | |
3924 | 3924 | | |
3925 | 3925 | | |
3926 | 3926 | | |
| |||
0 commit comments