gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Jul 8 04:13:00 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/fde47d1c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/663dfadb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dbf8f93b (commit)
	from  https://github.com/Gnucash/gnucash/commit/625fc1d6 (commit)



commit fde47d1c7fd09e8fcd146b82bf0706228bf09522
Merge: 625fc1d6cd 663dfadb90
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 8 16:01:20 2023 +0800

    Merge Simon Arlott branch 'gnc-numeric-to-string-leaks'into stable #1695

commit 663dfadb90f3f0c8431c4f8926bd83721d1472e7
Author: Simon Arlott <sa.me.uk>
Date:   Wed Jun 28 08:16:20 2023 +0100

    Fix memory leaks logging with gnc_numeric_to_string()
    
    The value returned by gnc_numeric_to_string() needs to be freed.
    Use gnc_num_dbg_to_string() instead.

commit dbf8f93be4d013f655900505c936104babaf6ac8
Author: Simon Arlott <sa.me.uk>
Date:   Wed Jun 28 08:09:37 2023 +0100

    Fix assumption in gnc_num_dbg_to_string()
    
    If the size of "buff" is not evenly divisible by "size" then this would
    allocate off the end of the buffer. That's not currently the case but the
    calculation shouldn't do this. Change it to check there's actually enough
    space.



Summary of changes:
 gnucash/gnome/dialog-sx-editor.c             | 6 +++---
 libgnucash/app-utils/gnc-sx-instance-model.c | 6 +++---
 libgnucash/engine/Split.c                    | 9 ++++++++-
 libgnucash/engine/gnc-numeric.cpp            | 5 +++--
 4 files changed, 17 insertions(+), 9 deletions(-)



More information about the gnucash-patches mailing list