[kdiagram] [Bug 383160] Crash on showing investment price chart

Ralf Habacker bugzilla_noreply at kde.org
Mon Aug 7 08:50:40 UTC 2017


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

--- Comment #6 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #5)
> -           position.row >=0 && position.row < m_data[ 0 ].size();
> -> this checks if the requested row is in column 0, which may be wrong if 
On the crash I had 

m_data[0].size was 367
m_data[1].size was 110
position.column was 1
position.row was 110

The original codes checkes that position.row < m_data[ 0 ].size() which returns
true (where it should return false) but fails later on access to m_data[1][110]
with an out of index exception.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the KMyMoney-devel mailing list