gnucash maint: Bug 783095 - gnucash-2.6.16 segfaults on startup

John Ralls jralls at code.gnucash.org
Fri May 26 14:35:22 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/881a39d2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e43e30d0 (commit)



commit 881a39d2eb81dfd5c9f9df9329a9f37cce3482e0
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri May 26 11:34:00 2017 -0700

    Bug 783095 - gnucash-2.6.16 segfaults on startup
    
    Null tip_list after freeing it the first time to prevent double-free,
    then don't iterate over it if contents is NULL. Don't even try to open
    dialog if tip_count < 1. Protect from dereferencing a NULL tip_list in
    gnc_new_tip_number.



Summary of changes:
 src/gnome-utils/dialog-totd.c | 61 +++++++++++++++++++++++++------------------
 1 file changed, 35 insertions(+), 26 deletions(-)



More information about the gnucash-patches mailing list