mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
* Play safe in case we get no name
Reverted by r1855742. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -573,6 +573,10 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path)
|
||||
|
||||
char *d, *s;
|
||||
|
||||
if (!name || !*name) {
|
||||
return;
|
||||
}
|
||||
|
||||
s = d = name;
|
||||
|
||||
#ifdef HAVE_UNC_PATHS
|
||||
|
Reference in New Issue
Block a user