gnucash stable: Bug 799494 - Version 5.10 Fails to import QIF file
John Ralls
jralls at code.gnucash.org
Mon Dec 23 20:36:08 EST 2024
Updated via https://github.com/Gnucash/gnucash/commit/6531d3e4 (commit)
from https://github.com/Gnucash/gnucash/commit/c549e203 (commit)
commit 6531d3e46b7bee1add61aa6c6aaf8fb1f889a586
Author: John Ralls <jralls at ceridwen.us>
Date: Mon Dec 23 17:34:19 2024 -0800
Bug 799494 - Version 5.10 Fails to import QIF file
Require only one split in qif-import:qif-to-gnc, apparently it's too
early to require two.
diff --git a/gnucash/import-export/qif-imp/qif-to-gnc.scm b/gnucash/import-export/qif-imp/qif-to-gnc.scm
index 899f8b9f9b..dc57a3a032 100644
--- a/gnucash/import-export/qif-imp/qif-to-gnc.scm
+++ b/gnucash/import-export/qif-imp/qif-to-gnc.scm
@@ -434,7 +434,7 @@
;; there aren't at least 2 splits and that will cause a
;; UAF in xaccTransRecordPrice. See https://bugs.gnucash.org/show_bug.cgi?id=799420
(let ((splits (qif-xtn:splits xtn)))
- (if (not (or (qif-xtn:mark xtn) (or (null? splits) (null? (cdr splits)))))
+ (if (not (or (qif-xtn:mark xtn) (null? splits)))
;; Convert into a GnuCash transaction.
(let ((gnc-xtn (xaccMallocTransaction
(gnc-get-current-book))))
Summary of changes:
gnucash/import-export/qif-imp/qif-to-gnc.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list