Summary: | Mable crash after scrolling a map in the "Flat Map" projection | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Oleg Lyubimov <lyubimov.o.e> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | shentey |
Priority: | NOR | ||
Version: | 1.4 (KDE 4.9) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Simple Fix of the Bug |
Description
Oleg Lyubimov
2012-12-13 09:25:36 UTC
Created attachment 75878 [details]
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.
*** This bug has been marked as a duplicate of bug 305324 *** |