Skip to content

Commit

Permalink
fix for beltoforion#117 (sprintf deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingo Berg authored and Nigel Stewart committed Dec 10, 2023
1 parent 8953f5c commit 436a2a9
Show file tree
Hide file tree
Showing 3 changed files with 1,336 additions and 1,338 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=false
124 changes: 62 additions & 62 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
.. image:: https://travis-ci.org/beltoforion/muparser.svg?branch=master
:target: https://travis-ci.org/beltoforion/muparser

.. image:: https://ci.appveyor.com/api/projects/status/u4882uj8btuspj9x?svg=true
:target: https://ci.appveyor.com/project/beltoforion/muparser

.. image:: https://img.shields.io/github/issues/beltoforion/muparser.svg?maxAge=360
:target: https://github.com/beltoforion/muparser/issues

.. image:: https://img.shields.io/github/release/beltoforion/muparser.svg?maxAge=360
:target: https://github.com/beltoforion/muparser/blob/master/CHANGELOG

.. image:: https://repology.org/badge/tiny-repos/muparser.svg
:target: https://repology.org/project/muparser/versions

muparser - fast math parser library
===================================

.. image:: http://beltoforion.de/en/muparser/images/title.webp

Change Notes for Revision 2.3.4
===========================

Upcoming Maintainance Release with updates of the cmake build system.

Build System:
------------
- cmake is using OpenMP target and setting _UNICODE preprocessor definition

Change Notes for Revision 2.3.3
===========================
To read the full documentation please go to: http://beltoforion.de/en/muparser.

See Install.txt for installation

Security Fixes:
------------
The following new issues, discovered by oss-fuzz are fixed:

* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24167 (Abrt)
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24355 (Heap-buffer-overflow READ 8)
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25402 (Heap-buffer-overflow READ 8)

Bugfixes:
-----------
* Fixed a couple of issues for building the C-Interface (muParserDLL.cpp/.h) with wide character support.
* fix for #93 (https://github.com/beltoforion/muparser/issues/93)
* fix for #94 (https://github.com/beltoforion/muparser/issues/94)
* fix for #110 (https://github.com/beltoforion/muparser/issues/110); new expression size limit is 20000

Fixed Compiler Warnings:
-----------
* Visual Studio: Disabled compiler warning 26812 (Prefer 'enum class' over 'enum') Use of plain old enums has not been deprecated and only MSVC is complaining.
* Visual Studio: Disabled compiler warning 4251 (... needs to have dll-interface to be used by clients of class ...) For technical reason the DLL contains the class API and the DLL API. Just do not use the class API if you intent to share the dll accross windows versions. (The same is true for Linux but distributions do compile each application against their own library version anyway)

Changes:
------------
* Adding manual definitions to avoid potential issues with MSVC
* Adding missing overrides
* Added a new option "-DENABLE_WIDE_CHAR" to CMake for building muparser with wide character support
* export muparser targets, such that client projects can import it using find_package() (https://github.com/beltoforion/muparser/pull/81#event-3528671228)

.. image:: https://travis-ci.org/beltoforion/muparser.svg?branch=master
:target: https://travis-ci.org/beltoforion/muparser

.. image:: https://ci.appveyor.com/api/projects/status/u4882uj8btuspj9x?svg=true
:target: https://ci.appveyor.com/project/beltoforion/muparser

.. image:: https://img.shields.io/github/issues/beltoforion/muparser.svg?maxAge=360
:target: https://github.com/beltoforion/muparser/issues

.. image:: https://img.shields.io/github/release/beltoforion/muparser.svg?maxAge=360
:target: https://github.com/beltoforion/muparser/blob/master/CHANGELOG

.. image:: https://repology.org/badge/tiny-repos/muparser.svg
:target: https://repology.org/project/muparser/versions

muparser - fast math parser library
===================================

.. image:: http://beltoforion.de/en/muparser/images/title.webp

Change Notes for Revision 2.3.4
===========================

Upcoming Maintainance Release with updates of the cmake build system.

Build System:
------------
- cmake is using OpenMP target and setting _UNICODE preprocessor definition

Change Notes for Revision 2.3.3
===========================
To read the full documentation please go to: http://beltoforion.de/en/muparser.

See Install.txt for installation

Security Fixes:
------------
The following new issues, discovered by oss-fuzz are fixed:

* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24167 (Abrt)
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24355 (Heap-buffer-overflow READ 8)
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25402 (Heap-buffer-overflow READ 8)

Bugfixes:
-----------
* Fixed a couple of issues for building the C-Interface (muParserDLL.cpp/.h) with wide character support.
* fix for #93 (https://github.com/beltoforion/muparser/issues/93)
* fix for #94 (https://github.com/beltoforion/muparser/issues/94)
* fix for #110 (https://github.com/beltoforion/muparser/issues/110); new expression size limit is 20000

Fixed Compiler Warnings:
-----------
* Visual Studio: Disabled compiler warning 26812 (Prefer 'enum class' over 'enum') Use of plain old enums has not been deprecated and only MSVC is complaining.
* Visual Studio: Disabled compiler warning 4251 (... needs to have dll-interface to be used by clients of class ...) For technical reason the DLL contains the class API and the DLL API. Just do not use the class API if you intent to share the dll accross windows versions. (The same is true for Linux but distributions do compile each application against their own library version anyway)

Changes:
------------
* Adding manual definitions to avoid potential issues with MSVC
* Adding missing overrides
* Added a new option "-DENABLE_WIDE_CHAR" to CMake for building muparser with wide character support
* export muparser targets, such that client projects can import it using find_package() (https://github.com/beltoforion/muparser/pull/81#event-3528671228)

Loading

0 comments on commit 436a2a9

Please sign in to comment.