From ea4fa32c8cfe692bedb7217a057a027a567dd5cb Mon Sep 17 00:00:00 2001 From: David Tschumperle Date: Fri, 10 Nov 2023 10:44:20 +0100 Subject: [PATCH 1/3] Final release 3.3.2 --- html/header.html | 2 +- html/header_doxygen.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/header.html b/html/header.html index e9136a7a..13cfce46 100644 --- a/html/header.html +++ b/html/header.html @@ -23,7 +23,7 @@
Logo

- Latest stable version: 3.3.1 + Latest stable version: 3.3.2


diff --git a/html/header_doxygen.html b/html/header_doxygen.html index 3b1b826e..5d073f94 100644 --- a/html/header_doxygen.html +++ b/html/header_doxygen.html @@ -26,7 +26,7 @@
Logo

- Latest stable version: 3.3.1 + Latest stable version: 3.3.2


From 3be4230782cf8f924d37ae26017d3c76af1f6aa0 Mon Sep 17 00:00:00 2001 From: David Tschumperle Date: Sun, 12 Nov 2023 11:21:23 +0100 Subject: [PATCH 2/3] math_parser(): do not check out-of-bounds access in 'mp_i()' (should never happen). --- CImg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CImg.h b/CImg.h index 273e4ba6..f0625206 100644 --- a/CImg.h +++ b/CImg.h @@ -25346,8 +25346,8 @@ namespace cimg_library { } static double mp_i(_cimg_math_parser& mp) { - return (double)mp.imgin.atXYZC((int)mp.mem[_cimg_mp_slot_x],(int)mp.mem[_cimg_mp_slot_y], - (int)mp.mem[_cimg_mp_slot_z],(int)mp.mem[_cimg_mp_slot_c],(T)0); + return (double)mp.imgin((int)mp.mem[_cimg_mp_slot_x],(int)mp.mem[_cimg_mp_slot_y], + (int)mp.mem[_cimg_mp_slot_z],(int)mp.mem[_cimg_mp_slot_c]); } static double mp_if(_cimg_math_parser& mp) { From 6677894d29cc820976da6398b48aaff2dbfe0e3e Mon Sep 17 00:00:00 2001 From: David Tschumperle Date: Sun, 12 Nov 2023 11:25:48 +0100 Subject: [PATCH 3/3] Prepare work for next version 3.3.3. --- CImg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CImg.h b/CImg.h index f0625206..1928f797 100644 --- a/CImg.h +++ b/CImg.h @@ -54,7 +54,7 @@ // Set version number of the library. #ifndef cimg_version -#define cimg_version 332 +#define cimg_version 333 /*----------------------------------------------------------- #