[Kmymoney-devel] [Bug 296977] New: CSV Plugin causes KMM crash if header row/s have fewer columns than body.

allan agander93 at gmail.com
Wed Mar 28 16:56:08 UTC 2012


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

            Bug ID: 296977
          Severity: normal
           Version: git master
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: CSV Plugin causes KMM crash if header row/s have fewer
                    columns than body.
    Classification: Unclassified
                OS: Linux
          Reporter: agander93 at gmail.com
          Hardware: Ubuntu Packages
            Status: NEW
         Component: general
           Product: kmymoney4

User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2)
Gecko/20100101 Firefox/10.0.2
Build Identifier: 

When importing a csv file, on changing from one file to another, an incorrect
starting row number was selected.  The validity check therefore tested the
header rows, which had fewer columns than the body text.  The table item
accessed did not exist, resulting in a crash.

Reproducible: Always

Steps to Reproduce:
1. Import a csv file with a header row with just a few columns.
2. Select a numeric (e.g. amount) column beyond its columns.
3. Proceed with import.
Actual Results:  
Crash.

Expected Results:  
Non-existent cells should not be accessed.

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


More information about the KMyMoney-devel mailing list