gnucash maint: Bug 798015 - cash flow numerical-overflow

Christopher Lam clam at code.gnucash.org
Sun Nov 22 10:36:04 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/d11bdb3e (commit)
	from  https://github.com/Gnucash/gnucash/commit/72982de5 (commit)



commit d11bdb3e3af518de86ef52a58c609b1e879929cc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 22 22:36:51 2020 +0800

    Bug 798015 - cash flow numerical-overflow
    
    error is caused by pricedb containing an invalid gnc_numeric
    price. multiplication of (invalid) price with amount causes a report
    crash.
    
    Fix: if invalid price, return zero for amount converted to report
    currency.



Summary of changes:
 libgnucash/engine/gnc-pricedb.c | 4 ++++
 1 file changed, 4 insertions(+)



More information about the gnucash-patches mailing list