#16 crash in sanitize_proprietary_tags

open
nobody
5
2012-11-26
2006-04-03
Anonymous
No

Hi,

Some OFX files (from Amex) crash
sanitize_proprietary_tags(). A patch that fixes the bug
is attached.

Merlin <merlin@merlin.org>

Discussion

  • patch to lib/ofx_preproc.cpp

     
    Attachments
  • ace jones
    ace jones
    2006-08-02

    Logged In: YES
    user_id=954547

    I'm hesitant to apply this patch without being able to test
    it. Could you create a safe sample file that demonstrates
    the problem, yet does not reveal any personal data?

     
  • Kevin Mullins
    Kevin Mullins
    2007-10-19

    Logged In: YES
    user_id=1784836
    Originator: NO

    I have seen the same issues with files exported by my bank. The problem I saw was that the SGML file generated by my bank did not contain any line breaks. Having all of the SGML data on a single line seems to break sanitize_proprietary_tags(). Manually adding linefeeds to the file or applying this patch does fix the issue.

    Kevin