From 26c1757521904f5372d7862ae9504f99c818a493 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Mon, 3 Mar 2008 17:02:19 +0000 Subject: [PATCH] * lfi is already a pointer in contrast fi which was used before. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@633174 13f79535-47bb-0310-9956-ffa450edef68 --- server/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/request.c b/server/request.c index e62a1e6015..f7153f9075 100644 --- a/server/request.c +++ b/server/request.c @@ -354,7 +354,7 @@ static int resolve_symlink(char *d, apr_finfo_t *lfi, int opts, apr_pool_t *p) * owner of the symlink, then get the info of the target. */ if (!(lfi->valid & APR_FINFO_OWNER)) { - if ((res = apr_stat(&lfi, d, + if ((res = apr_stat(lfi, d, lfi->valid | APR_FINFO_LINK | APR_FINFO_OWNER, p)) != APR_SUCCESS) { return HTTP_FORBIDDEN; -- 2.40.0