gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Nov 30 18:25:06 EST 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/722a4555 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1cfda5a7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cdb9dfa0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e4e3349 (commit)
	from  https://github.com/Gnucash/gnucash/commit/534bea74 (commit)



commit 722a45559321a0ab3d2568e6b959336b457ad034
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 30 20:47:18 2025 +0800

    [guid.cpp] string->guid should disallow 'g' char
    
    off-by-1 error in alpha test. only 'a'-'f' should be allowed.

commit 1cfda5a71a0255721ab97d928575ad5b80ea39b8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 30 20:45:14 2025 +0800

    [test-gnc-guid.cpp] use EXPECT_THROW
    
    instead of try..catch

commit cdb9dfa0eeb61d75f1ff78f0cb406072d7fd4ca2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 30 20:48:28 2025 +0800

    [guid.cpp] fast_string_to_guid: -1<<4 is UB, fix UB
    
    when parsing invalid chars, hi|lo would return -1. convert to unsigned
    to avoid UB.

commit 3e4e3349440106c66356f47abcf103a568eadffe
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 30 20:47:54 2025 +0800

    [guid.cpp] string->guid: parse into uuid data, avoids memcpy



Summary of changes:
 libgnucash/engine/guid.cpp               | 13 ++++---------
 libgnucash/engine/test/test-gnc-guid.cpp | 17 +++++++----------
 2 files changed, 11 insertions(+), 19 deletions(-)



More information about the gnucash-patches mailing list