From: Ruediger Pluem Date: Mon, 3 Mar 2008 17:02:19 +0000 (+0000) Subject: * lfi is already a pointer in contrast fi which was used before. X-Git-Tag: 2.3.0~911 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26c1757521904f5372d7862ae9504f99c818a493;p=apache * 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 --- 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;