summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-05-21 22:42:56 +0200
committerJoe Orton <jorton@apache.org>2004-05-21 22:42:56 +0200
commitaf2d2b8edd895347bce36dccff908ce8fd225a02 (patch)
tree99458051ca045472716af7cb44cd370c0ae4bea4 /modules/dav
parentMr ldap_simple_bind_s() bug, with three votes, you are the weakest link, (diff)
downloadapache2-af2d2b8edd895347bce36dccff908ce8fd225a02.tar.xz
apache2-af2d2b8edd895347bce36dccff908ce8fd225a02.zip
* modules/dav/main/mod_dav.c (dav_method_put): Fix segfault
in auto-versioning error handling path. PR: 29148 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103723 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 b4aa0e22cb..0c0886d8fb 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -1033,7 +1033,7 @@ static int dav_method_put(request_rec *r)
if (err2 != NULL) {
/* just log a warning */
- err2 = dav_push_error(r->pool, err->status, 0,
+ err2 = dav_push_error(r->pool, err2->status, 0,
"The PUT was successful, but there "
"was a problem automatically checking in "
"the resource or its parent collection.",