summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--dso/os390/dso.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index fee84fb81..79919903d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
 -*- coding: utf-8 -*-
Changes for APR 1.3.0
+ *) Fix DSO-related crash on z/OS caused by incorrect memory
+ allocation. [David Jones <oscaremma gmail.com>]
+
*) Implement Darwin-semantic (9.0.0 and later) sendfile support.
[William Rowe]
diff --git a/dso/os390/dso.c b/dso/os390/dso.c
index 293d0653e..034ffe843 100644
--- a/dso/os390/dso.c
+++ b/dso/os390/dso.c
@@ -63,7 +63,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
dllhandle *handle;
int rc;
- *res_handle = apr_pcalloc(ctx, sizeof(*res_handle));
+ *res_handle = apr_pcalloc(ctx, sizeof(**res_handle));
(*res_handle)->pool = ctx;
if ((handle = dllload(path)) != NULL) {
(*res_handle)->handle = handle;