#41 Crash while processing an OFX file which is possibly invalid

v1.0_(example)
closed
nobody
crash (1)
5
2013-09-01
2013-08-30
No

We received a bug report that KMyMoney is crashing during the import of an OFX file.
https://bugs.kde.org/show_bug.cgi?id=294760
After investigations it seems that the bug is in libofx and it's triggered by the fact that the attached test file seems invalid (has data after the OFX closing tag). Even if the file is invalid the crash should not occur.

I attached a patch that fixes the crash and a test file to reproduce it (just run ofxdump on the file to reproduce the crash).

2 Attachments

Discussion

  • Christian Stimming

    Patch committed to git. Thanks!

     
  • Christian Stimming

    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks