summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2005-11-05 23:37:30 +0100
committerRuediger Pluem <rpluem@apache.org>2005-11-05 23:37:30 +0100
commit7ab2d56e75d2a87bf3147c149773357e9546ce9b (patch)
tree08cf4ef85357b6f0697f07287a3f2f23d4801aaa /modules/dav
parentWarning about mixing +/- with bareword Options (diff)
downloadapache2-7ab2d56e75d2a87bf3147c149773357e9546ce9b.tar.xz
apache2-7ab2d56e75d2a87bf3147c149773357e9546ce9b.zip
* 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> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@331041 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav')
-rw-r--r--modules/dav/main/mod_dav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c
index 47dfab0039..937aeadc2f 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -2508,7 +2508,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.",