]> granicus.if.org Git - apache/commitdiff
* modules/dav/main/mod_dav.c (dav_method_put): Fix segfault
authorJoe Orton <jorton@apache.org>
Fri, 21 May 2004 20:42:56 +0000 (20:42 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 21 May 2004 20:42:56 +0000 (20:42 +0000)
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

modules/dav/main/mod_dav.c

index b4aa0e22cb6195adca3a08e623834537aaac78c1..0c0886d8fb10bfafe9a535d742511edb0f7ca760 100644 (file)
@@ -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.",