#33 Crash on missing closing tags

closed
nobody
5
2011-04-03
2010-03-13
Geert Janssens
No

This has been reported in GnuCash multiple times (https://bugzilla.gnome.org/show_bug.cgi?id=576163 collects these reports): some banks create incomplete ofx sgml, missing some closing tags. Such statements crash in ofx.

The missing tags are </BANKMSGSRSV1> and </OFX>.

This appears to happen when multiple statements are grouped together in one download file.

I will attach a sample ofx file that shows this behaviour (taken from one of the GnuCash bugs).

Geert

Discussion

  • Geert Janssens
    Geert Janssens
    2010-03-13

    Example of incomplete OFX file

     
    Attachments
  • Geert Janssens
    Geert Janssens
    2010-03-13

    Output when run in gdb, and backtrace on crash

     
    Attachments
  • Geert Janssens
    Geert Janssens
    2010-03-13

    I tested this with libofx-0.9.1 on Mandriva 2010.

     
    • status: open --> closed-fixed
     
  • Fixed in 5360006