]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix segfault on conflict resolution when using bindings 488/head
authorniner <nine@detonation.org>
Tue, 8 Feb 2022 17:10:54 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 17:10:54 +0000 (18:10 +0100)
commit2b5e6c28be7dffe1a3b5e90a35c5ee425c08aeb0
tree1561ba9fbee0936fab545d888b7433b433996201
parent2857be8a3ecfbc6793589e267ab8784716370acf
Fix segfault on conflict resolution when using bindings

Solutionelement objects were created with a wrong solutionid (i.e. the
solution element id was used for the solutionid field). This led to invalid
array indexes when trying to read the extraflags which then escalated
into a segfault. Fix by setting solutionid correctly in the Solutionelement
constructor.
bindings/solv.i