[Marble-bugs] [marble] [Bug 342397] New: There's signed interger overflow in Download Region window in "Number of tiles to download" and "Estimated Download size" fields

noktastrigo at yandex.ru noktastrigo at yandex.ru
Thu Jan 1 19:38:21 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=342397

            Bug ID: 342397
           Summary: There's signed interger overflow in Download Region
                    window in "Number of tiles to download" and "Estimated
                    Download size" fields
           Product: marble
           Version: 1.8 (KDE 4.13)
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: noktastrigo at yandex.ru

When choosing to download too many tiles it shows negative numbers in "Number
of tiles to download" and "Estimated Download size" fields.

Reproducible: Always

Steps to Reproduce:
1. Choose OSM maps (hasn't tried on other maps) and show the whole globe
2. Click File -> Download Region
3. Choose "Visible region" and Zoom -> "Tile level range" from 2 to 16
(actually, from any to 16 will do)

Actual Results:  
Number of tiles to download: -1386718928
Estimated Download size: -1.80273e+10 kB

Expected Results:  
There must be real number of according tiles, obviosly positive.

Looks like a 32-bit signed integer overflow.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list