[Kmymoney-devel] [Bug 287786] Crash on importing investment via CSV plugin

allan agander93 at gmail.com
Mon Nov 28 23:16:40 UTC 2011


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


allan <agander93 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from allan <agander93 gmail com>  2011-11-28 23:16:40 ---
Git commit 480d891c72afe98b9a9c83d66a14aa980a9ed300 by Allan Anderson.
Committed on 29/11/2011 at 00:06.
Pushed by allananderson into branch 'master'.

BUG: 287786
If a CSV file contains lines with differing numbers of columns (or the
last column is empty), and if one of the selected columns happens to
be the last column in a line with fewer than the maximum number,
an array goes out of bounds.

Use the actual line's column list count instead of maximum column count.

M  +1    -1    kmymoney/plugins/csvimport/investprocessing.cpp

http://commits.kde.org/kmymoney/480d891c72afe98b9a9c83d66a14aa980a9ed300

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list