]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix segfault in resolve_jobrules 443/head
authorThomas Lam <79589038+tl-hbk@users.noreply.github.com>
Tue, 30 Mar 2021 12:33:52 +0000 (05:33 -0700)
committerThomas Lam <79589038+tl-hbk@users.noreply.github.com>
Tue, 30 Mar 2021 12:36:40 +0000 (05:36 -0700)
commit0ecd4f310318d9bd91db48e5c9dc7e749fbed82a
tree5bbc4366c0501155898d167d7d0a2d976792dd63
parent35e172e9fb99594b49c630cb188dab9d2b2c4dc7
Fix segfault in resolve_jobrules

In selectandinstall sometimes rules are added and a realloc is required if there's
no more memory available in the allocated block.  r-- would just decrement the old
pointer but the realloc could return a completely different block of memory
src/solver.c