summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-05-25 13:46:52 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-06-13 14:32:32 +0200
commit5502c0bc5754499e82a1e03ca5a24779adb6f485 (patch)
tree4ba5fd868313139afc6de56a4c7cd86702e40a2a /test
parentbfb9f2124b8f9da48b53d279278de3f8f0a00b82 (diff)
solver3: Do not dump sizes that are clearly pointers
We use a union here, but we don't know if we last stored a pointer, so let's just reject clearly non-sizes. Generally this will work fine -- you will not have enough choices in a dependency that you can construct a valid pointer to a Version*, especially given that any Version * > sizeof(pkgCache::Header) already, given it is in the cache.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions