[kmymoney] [Bug 464870] Crash when importin investments CSV

Jack bugzilla_noreply at kde.org
Thu Feb 2 16:09:13 GMT 2023


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

--- Comment #7 from Jack <ostroffjh at users.sourceforge.net> ---
I wonder whether it is StartLine (or m_profile->m_startline) being negative
that leads to the crash.  
The importer has plenty of loops with "for (int row = m_profile->m_startLine;
row <= m_profile->m_endLine; ++row)" which use row to find a value (such as
symbol and/or name in CSVImporterCore::sortSecurities) essentially leading to
an out-of-bounds issue.  Might it be necessary to confirm that m_startLine and
m_endLine are reasonable before any of those loops?

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


More information about the KMyMoney-devel mailing list