apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r593168 - in /apr/apr/branches/1.2.x: CHANGES dso/os390/dso.c
Date Thu, 08 Nov 2007 14:31:22 GMT
Author: trawick
Date: Thu Nov  8 06:31:21 2007
New Revision: 593168

URL: http://svn.apache.org/viewvc?rev=593168&view=rev
Log:
rev 593166 from trunk:

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/branches/1.2.x/CHANGES
    apr/apr/branches/1.2.x/dso/os390/dso.c

Modified: apr/apr/branches/1.2.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?rev=593168&r1=593167&r2=593168&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.2.x/CHANGES [utf-8] Thu Nov  8 06:31:21 2007
@@ -1,6 +1,9 @@
                                                      -*- coding: utf-8 -*-
 Changes for APR 1.2.12
 
+  *) Fix DSO-related crash on z/OS caused by incorrect memory
+     allocation.  [David Jones <oscaremma gmail.com>]
+
   *) Define apr_ino_t in such a way that it doesn't change definition
      based on the library consumer's -D'efines to the filesystem.
      [Lucian Adrian Grijincu <lucian.grijincu gmail.com>]

Modified: apr/apr/branches/1.2.x/dso/os390/dso.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/dso/os390/dso.c?rev=593168&r1=593167&r2=593168&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/dso/os390/dso.c (original)
+++ apr/apr/branches/1.2.x/dso/os390/dso.c Thu Nov  8 06:31:21 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