gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Jan 11 16:34:49 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/7963421d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/609ca725 (commit)
	from  https://github.com/Gnucash/gnucash/commit/403fdd30 (commit)



commit 7963421dd228e5cb80fad325a7e3d3cfe7d76e61
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jan 11 13:57:32 2015 -0800

    Bug 672760 - Postponed transaction applied invalid date
    
    Part 2: GDate can represent a wider range that GDateTime, so make
    sure that GDates outside of the range are clamped. The GDateTime
    range is 1 - 9999 CE, more than wide enough for most purposes. GDate
    can represent out to 65535CE, but the significant difference is that
    a freshly-cleared GDate is 0CE, which GDateTime won't accept. That we
    set to the Unix Epoch 0, 1970-Jan-1.

commit 609ca72553c586f190c015552db7f25d60f928db
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jan 11 10:27:09 2015 -0800

    Bug 672760 - Postponed transaction applied invalid date, causing segfault
    
    upon opening data file.
    Part 1: Prevent the crash by skipping instances with invalid dates.



Summary of changes:
 src/gnome-utils/gnc-dense-cal.c | 16 +++++++++++-----
 src/libqof/qof/gnc-date.c       | 28 +++++++++++++++++++++++++---
 2 files changed, 36 insertions(+), 8 deletions(-)



More information about the gnucash-patches mailing list