From af2d2b8edd895347bce36dccff908ce8fd225a02 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 21 May 2004 20:42:56 +0000 Subject: [PATCH] * 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 --- modules/dav/main/mod_dav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c index b4aa0e22cb6..0c0886d8fb1 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.", -- 2.47.3