diff options
author | manu <manu@unknown> | 2023-03-02 15:31:20 +0100 |
---|---|---|
committer | manu <manu@unknown> | 2023-03-02 15:31:20 +0100 |
commit | 8e229adef7b2ecbdbf9cf602db3564062d04e007 (patch) | |
tree | 2b02b816d716bff495e948d8c5a1063fb96e9826 /modules | |
parent | mod_proxy: Don't decode r->uri and reencode in r->filename for mapping=encoded. (diff) | |
download | apache2-8e229adef7b2ecbdbf9cf602db3564062d04e007.tar.xz apache2-8e229adef7b2ecbdbf9cf602db3564062d04e007.zip |
Fix NULL derefernece for anonymous users
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907973 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dav/main/ms_wdv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/main/ms_wdv.c b/modules/dav/main/ms_wdv.c index adbfb148d9..33787f977a 100644 --- a/modules/dav/main/ms_wdv.c +++ b/modules/dav/main/ms_wdv.c @@ -80,7 +80,7 @@ static const char *get_lock_owner(request_rec *r, dav_lock *lock) lock = lock->next; } - return lock->auth_user; + return lock ? lock->auth_user : NULL; } |