]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Ensure duplinvolvedmap_all is reset when a solver is reused 505/head
authorJon Turney <jon.turney@dronecode.org.uk>
Sun, 14 Aug 2022 17:45:20 +0000 (18:45 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Mon, 15 Aug 2022 11:26:20 +0000 (12:26 +0100)
commitdd6e977782816e330a8f60cf78ca3d12fead3b10
treeda0fe1344146d5aaa570d37aad68bc69e479a3a7
parent5e1ac6aaa91c6db34ff82ddc604a4c2483c3aaac
Ensure duplinvolvedmap_all is reset when a solver is reused

Otherwise, if solver is used with a SOLVER_DISTUPGRADE job, then reused
without one, this will cause solver_addduprules() to be called, even
though needduprules is 0, which will crash trying to dereference
solv->dupmap, which is NULL because solver_createdupmaps() hasn't been
called.
src/solver.c