summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-686346-package-missing-architecture
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-10-28 10:59:55 +0200
committerJulian Andres Klode <jak@debian.org>2017-10-28 11:35:39 +0200
commita6375472a41af7f1521369d0c22a858d7051ab18 (patch)
tree74df8b448ef3f24bb7326b8214051423594f0bb1 /test/integration/test-bug-686346-package-missing-architecture
parentcfb6061b82daa67def0349938bf6267c37e9906d (diff)
Prevent overflow in Installed-Size (and Size) in apt show
Installed-Size for linux-image-4.13.0-1-amd64-dbg and friends are larger than 4 GB, but read as a signed integer - that's fine so far, as the value is in KB, but it's multiplied with 1024 which overflows. So let's read it as unsigned long long instead. While we're at it, also use unsigned long long for Size, in case that is bigger than 2 GB.
Diffstat (limited to 'test/integration/test-bug-686346-package-missing-architecture')
0 files changed, 0 insertions, 0 deletions