gnucash maint: Bug 797481 - crash on close of unsaved tabs by pressing [X]

John Ralls jralls at code.gnucash.org
Fri Nov 8 15:36:42 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/2bc7d314 (commit)
	from  https://github.com/Gnucash/gnucash/commit/32ff31fe (commit)



commit 2bc7d314ed6b08eacc35adfca8ac1ac64f8ec3a7
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Nov 8 12:33:00 2019 -0800

    Bug 797481 - crash on close of unsaved tabs by pressing [X]
    
    Pretty much the only place gnucash_sheet_get_block could crash is in
    g_table_index, either because the GTable's GArray has been deleted or
    the index is out of range. Add g_return_val_if_false tests for each
    possibility.



Summary of changes:
 gnucash/register/register-core/gtable.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)



More information about the gnucash-patches mailing list