gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Aug 17 10:26:32 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/54a5097c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/34cb4925 (commit)
	from  https://github.com/Gnucash/gnucash/commit/44644694 (commit)



commit 54a5097c60496d005f497b2315f063734d8bcd9f
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Aug 11 18:35:33 2018 +0200

    Bug 796777 - CVE-2008-1391: Integer overflow in included strfmon function
    
    We only used strfmon in one source file to generate three fixed format
    strings. Instead of updating to a newer strfmon in borrowed I have
    chosen to reimplement the string formatters for these strings in C++.
    Note this is *not* a full c++ conversion of the full functionality
    of assistant-loan. Only the string parsing has been redone.

commit 34cb4925a4be639e8d3e211ce2020d2190d5a41d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Aug 11 15:33:19 2018 +0200

    Compile assistant-loan as c++
    
    Fix only c++ compatibility issues, which primarily boils down
    to dealing with stricter type checking.



Summary of changes:
 CMakeLists.txt                                     |   1 -
 borrowed/libc/CMakeLists.txt                       |   6 +-
 borrowed/libc/strfmon.c                            | 619 ---------------------
 borrowed/libc/strfmon.h                            |  40 --
 common/config.h.cmake.in                           |   3 -
 gnucash/gnome/CMakeLists.txt                       |   6 +-
 .../gnome/{assistant-loan.c => assistant-loan.cpp} | 232 +++++---
 po/POTFILES.in                                     |   3 +-
 8 files changed, 150 insertions(+), 760 deletions(-)
 delete mode 100644 borrowed/libc/strfmon.c
 delete mode 100644 borrowed/libc/strfmon.h
 rename gnucash/gnome/{assistant-loan.c => assistant-loan.cpp} (92%)



More information about the gnucash-patches mailing list