gnucash maint: Bug 796940 - Invalid transaction date-posted KVP causes...

John Ralls jralls at code.gnucash.org
Sun Nov 11 03:17:21 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/710b122b (commit)
	from  https://github.com/Gnucash/gnucash/commit/4c1c485d (commit)



commit 710b122b24de23e61dc2b099a9fdc89cb7c0d3a2
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Nov 11 17:07:34 2018 +0900

    Bug 796940 - Invalid transaction date-posted KVP causes...
    
    date-posted to not be saved.
    
    Check the stored GDate for being in the GncDateTime range as well
    as the GDate range before returning it and check trans->date-posted
    against INT64_MAX instead of 0 before changing it.



Summary of changes:
 libgnucash/engine/Scrub.c       |  5 +++--
 libgnucash/engine/Transaction.c | 10 ++++------
 2 files changed, 7 insertions(+), 8 deletions(-)



More information about the gnucash-patches mailing list