gnucash stable: Bug 799213 - SIGSEGV caused by revising an auto completed transaction

John Ralls jralls at code.gnucash.org
Thu Feb 29 18:53:17 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/8ebac5b5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d011f064 (commit)



commit 8ebac5b596898e3a820c96427d72c5c2486f5f25
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Feb 29 14:29:40 2024 -0800

    Bug 799213 - SIGSEGV caused by revising an auto completed transaction
    
    Calling xaccSplitDestroy without also calling xaccSplitCommitEdit then
    deleting the split list before calling xaccTransCommitEdit prevents
    xaccSplitCommitEdit from being called on the supposedly deleted
    splits. Not only does this leak them it leaves them in the book
    potentially with a dangling parent pointer.



Summary of changes:
 libgnucash/engine/Transaction.cpp | 64 +++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 33 deletions(-)



More information about the gnucash-patches mailing list