[Marble-bugs] [Bug 311624] Mable crash after scrolling a map in the "Flat Map" projection

Oleg Lyubimov lyubimov.o.e at gmail.com
Mon Dec 17 06:46:26 UTC 2012


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

--- Comment #1 from Oleg Lyubimov <lyubimov.o.e at gmail.com> ---
Created attachment 75878
  --> https://bugs.kde.org/attachment.cgi?id=75878&action=edit
Simple Fix of the Bug

This bug is generated when function Marble::StackedTile::pixel
(this=0xb3d0c3f8, x=559, y=-2027) takes arguments with invalid values. I create
simple patch (see attachment) to add code, which limits the arguments. Because
"x" and "y" args are the pixel values the bottom bound or this args is 0, and
the top bounds of the args is  QImage m_resultTile.width() and QImage
m_resultTile.heidth(). If you limit the "x" and "y" args by this bounds the bug
not reproduces.

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


More information about the Marble-bugs mailing list