gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus
Bug #1713586 reported by
Neil McPhail
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-software (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Robert Ancell |
Bug Description
[Impact]
For .debs with a large Installed-Size GNOME Software shows the incorrect value. This is due to an integer overflow.
[Test Case]
1. Launch the attached test-deb_1_all.deb file in GNOME Software
2. Check the Size field.
Expected result:
Size is set to 3.9GB
Observed result:
Size is set to 18.4EB
[Regression Potential]
Took upstream commit that fixed this by using a 64 bit number to calculate size. Unlikely to cause further issues.
Related branches
Changed in gnome-software (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
To post a comment you must log in.
It was an overflow (using an int to try and fit the value). This was fixed upstream in 3.22.