gnucash stable: Bug 799806 - Locale "C.UTF-8" crashes the Mortgage and Loan Repayment Assistant

John Ralls jralls at code.gnucash.org
Tue Aug 18 15:34:26 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/5dedfad7 (commit)
	from  https://github.com/Gnucash/gnucash/commit/42dc3bf2 (commit)



commit 5dedfad75f946666e773e2816826e817928775d8
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Aug 18 12:28:34 2026 -0700

    Bug 799806 - Locale "C.UTF-8" crashes the Mortgage and Loan Repayment Assistant
    
    std::put_money sometimes returns an empty string if the
    locale lacks monetary information, producing an payment
    formula with no numbers. Unsurprisingly that crashes when
    the assistant tries to calculate the payments.
    
    Check that the locale has a currency symbol as a proxy for
    other monetary values and if it doesn't use floating point
    manipulators to construct the formula values.



Summary of changes:
 gnucash/gnome/assistant-loan.cpp | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)



More information about the gnucash-patches mailing list