httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Update about my core dumps on mainframe
Date Fri, 12 Dec 1997 19:14:01 GMT
Ewww what an icky machine :)

Hmm, well even though mod_mime doesn't use destroy_subreq() I suggest
trying the patch I posted for PR#1500.  That's another memory corruption
patch (it's around in essentially all versions of apache).

Dean

--- http_protocol.c.dist	Mon Dec  8 14:29:51 1997
+++ http_protocol.c	Mon Dec  8 14:35:26 1997
@@ -935,7 +935,11 @@
     }
 
     t = uudecode (r->pool, auth_line);
-    r->connection->user = getword_nulls_nc (r->pool, &t, ':');
+    /* Note that this allocation has to be made from r->connection->pool
+     * because it has the lifetime of the connection.  The other allocations
+     * are temporary and can be tossed away any time.
+     */
+    r->connection->user = getword_nulls_nc (r->connection->pool, &t, ':');
     r->connection->auth_type = "Basic";
 
     *pw = t;

On Fri, 12 Dec 1997, Martin Kraemer wrote:

> By now it looks like mod_mime is a core dump triggering candidate...
> I'll continue testing as time permits.


Mime
View raw message