]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r331041 from trunk:
authorColm MacCarthaigh <colm@apache.org>
Mon, 23 Jan 2006 20:23:25 +0000 (20:23 +0000)
committerColm MacCarthaigh <colm@apache.org>
Mon, 23 Jan 2006 20:23:25 +0000 (20:23 +0000)
* Fix a null pointer dereference in dav_method_mkcol during the handling of
  errors from dav_auto_checkin.

Submitted by: Ghassan Misherghi <ghassanm ucdavis.edu>
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@371650 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/dav/main/mod_dav.c

diff --git a/CHANGES b/CHANGES
index a5b5cbdae6a71140406fd9a608b40fa2bdd156dc..906fd9d639b16c9de97e434e0565e349e62abd96 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.0.56
 
+  *) mod_dav: Fix a null pointer dereference in an error code path during the
+     handling of MKCOL. [Ghassan Misherghi <ghassanm ucdavis.edu>]
+
   *) mod_mime_magic: Handle CRLF-format magic files so that it works with
      the default installation on Windows.  [Jeff Trawick]
 
diff --git a/STATUS b/STATUS
index 08ab6da5e864806dda77d689485ecd26c431f5e8..9b136d2938dd1fe9a2346a58bcc3328b721b842a 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -133,14 +133,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
          http://svn.apache.org/viewcvs?view=rev&rev=154319
        +1: stoddard, striker, wrowe (as corrected in subsequent patches)
 
-    *) mod_dav: Fix a null pointer dereference in an error code path during the
-       handling of MKCOL.
-       Trunk version of patch:
-          http://svn.apache.org/viewcvs.cgi?rev=331041&view=rev
-       Backport version for 2.0.x of patch:
-          Trunk version of patch will work
-       +1: rpluem, trawick, colm
-
     *) mod_deflate: Fix PR37559 (mod_deflate + mod_proxy overwrite the
        Vary: header)
        Trunk version of patch:
index cbd212d7829e57ce294f68c40ff84b94e6bbd37f..fff71cdd54c9cd516192f376fd4ee9753b782362 100644 (file)
@@ -2490,7 +2490,7 @@ static int dav_method_mkcol(request_rec *r)
     }
     if (err2 != NULL) {
         /* just log a warning */
-        err = dav_push_error(r->pool, err->status, 0,
+        err = dav_push_error(r->pool, err2->status, 0,
                              "The MKCOL was successful, but there "
                              "was a problem automatically checking in "
                              "the parent collection.",