apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r593166 - in /apr/apr/trunk: CHANGES dso/os390/dso.c
Date Thu, 08 Nov 2007 14:28:51 GMT
Author: trawick
Date: Thu Nov  8 06:28:50 2007
New Revision: 593166

URL: http://svn.apache.org/viewvc?rev=593166&view=rev
Log:
Fix DSO-related crash on z/OS caused by incorrect memory
allocation.

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by:  trawick

Modified:
    apr/apr/trunk/CHANGES
    apr/apr/trunk/dso/os390/dso.c

Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?rev=593166&r1=593165&r2=593166&view=diff
==============================================================================
--- apr/apr/trunk/CHANGES [utf-8] (original)
+++ apr/apr/trunk/CHANGES [utf-8] Thu Nov  8 06:28:50 2007
@@ -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]
 

Modified: apr/apr/trunk/dso/os390/dso.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/dso/os390/dso.c?rev=593166&r1=593165&r2=593166&view=diff
==============================================================================
--- apr/apr/trunk/dso/os390/dso.c (original)
+++ apr/apr/trunk/dso/os390/dso.c Thu Nov  8 06:28:50 2007
@@ -63,7 +63,7 @@
     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;



Mime
View raw message