From c17bfac77af6421194b8f23bfdf19e800c5bc618 Mon Sep 17 00:00:00 2001 From: Jeremy Collins Date: Thu, 8 Apr 2021 16:56:57 -0400 Subject: [PATCH 1/2] Ensure Imagemagick is initialized before setting limits --- src/mod_dims.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod_dims.c b/src/mod_dims.c index cd2c45d..cbfac79 100755 --- a/src/mod_dims.c +++ b/src/mod_dims.c @@ -1837,6 +1837,7 @@ dims_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t* ptemp, server_rec *s) ap_add_version_component(p, "mod_dims/" MODULE_VERSION); + MagickWandGenesis(); MagickSetResourceLimit(AreaResource, config->area_size); MagickSetResourceLimit(DiskResource, config->disk_size); MagickSetResourceLimit(MemoryResource, config->memory_size); From 3850b85d5871a5a4a1e83925483e7d57ee82d919 Mon Sep 17 00:00:00 2001 From: Jeremy Collins Date: Thu, 8 Apr 2021 16:57:11 -0400 Subject: [PATCH 2/2] Update version to 3.3.25 --- configure.ac | 2 +- src/mod_dims.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 49c8db8..3fcdbc9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.60) -AC_INIT(mod_dims, 3.3.24, [jeremy.collins@beetlebug.org]) +AC_INIT(mod_dims, 3.3.25, [jeremy.collins@beetlebug.org]) AM_INIT_AUTOMAKE([no-define]) AC_CONFIG_SRCDIR([src/mod_dims.c]) diff --git a/src/mod_dims.c b/src/mod_dims.c index cbfac79..4b36381 100755 --- a/src/mod_dims.c +++ b/src/mod_dims.c @@ -34,7 +34,7 @@ */ #define MODULE_RELEASE "$Revision: $" -#define MODULE_VERSION "3.3.24" +#define MODULE_VERSION "3.3.25" #include "mod_dims.h" #include "util_md5.h"