GNOME Bugzilla – Bug 702899
Segfault in xaccTransFindCommonCurrency on a corrupted (fuzzed) gnucash file
Last modified: 2018-06-29 23:17:01 UTC
Segfault in xaccTransFindCommonCurrency on a corrupted (fuzzed) gnucash file. Git versions of gnucash (rev 8237afd+) and libxml2. Gnucash 2.4.13 crashes too. Test case: http://jutaky.com/fuzzing/gnucash_case_31869_117.gnucash Backtrace using the git version: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff72ab434 in xaccTransFindCommonCurrency (trans=0x11e0cc0, book=0x11e0980) at Scrub.c:1045 1045 if ( ((CommodityCount*)(found->data))->commodity != NULL) (gdb) bt
+ Trace 232132
-- Juha Kylmänen Research Assistant, OUSPG
trunk r23074. Does today's SVN trunk still crash?
The crash no longer reproduces on the latest GIT (e7537f8+).
ok, thanks for the info.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=702899. Please update any external references or bookmarks.