summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2018-06-15 10:28:21 +0000
committerespie <espie@openbsd.org>2018-06-15 10:28:21 +0000
commit4fe8a6753fdaaed1439f03e7746f44061ee15458 (patch)
treed0ec52d6683becccb4417ec11c8c3a65bf114ac0 /sys
parentno need to always use 1 for the constant, knowing how it got solved can (diff)
downloadwireguard-openbsd-4fe8a6753fdaaed1439f03e7746f44061ee15458.tar.xz
wireguard-openbsd-4fe8a6753fdaaed1439f03e7746f44061ee15458.zip
fix for the infamous "cups" bug. Finally.
the problem was in solve_wantlibs, which is invoked fairly early in the game (before actually committing to install the set) and which would walk the "current" dependency tree and solve libs accordingly. The problem being that sometimes, the libraries were in an older set... so the fix is to do the dependency adjustment at this point as well, to properly peek in the new set. The main problem with that bug was how hard it was to reproduce, because it depends on several conditions: - the old and new package must have different names, but contain some shared libraries with the same version. - it has to be an UpdateSet with several packages tied together - reaching the library must be possible through several paths. This usually happens after several sets got merged together. - taking the wrong path is dependent on the hash key order of the dependencies, which is random.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions