Please sign in to comment.
Provides: Cast alpm_list contents to alpm_depend_t *
In libalpm 6, alpm_pkg_get_provides returns an alpm list containing pointers to internal strings. In libalpm 7, alpm_pkg_get_provides returns an alpm list containing pointers to alpm_depend_t * When powaur is building up trees for provides, this wrong casting to strings causes us to write garbage into the trees instead of the package names, resulting in a segfault when we search the provides trees during dependency resolution. This issue was originally reported by ato10 at: #9 Signed-off-by: Pang Yan Han <firstname.lastname@example.org>
- Loading branch information...