gnucash stable: Bug 799389 - Crash when removing an account

John Ralls jralls at code.gnucash.org
Mon Aug 19 15:59:30 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/514793d7 (commit)
	from  https://github.com/Gnucash/gnucash/commit/436889b4 (commit)



commit 514793d7a0a8d057717d2a734de82a1d030a81d3
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Aug 19 12:39:07 2024 -0700

    Bug 799389 - Crash when removing an account
    
    Destroying the split vector from front->back crashes halfway through
    because the iterators aren't updated as we remove items from the
    vector. Iterating in reverse works because the remaining elements
    aren't moved as we delete.



Summary of changes:
 libgnucash/engine/Account.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the gnucash-patches mailing list