mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-12-31 13:49:11 +03:00
Replaced 0 by '\0' for char
This commit is contained in:
@@ -1565,7 +1565,7 @@ static const char *gsb_replace_tpath(apr_pool_t *pool, const char *domain, int l
|
|||||||
data = apr_palloc(pool, len + 1);
|
data = apr_palloc(pool, len + 1);
|
||||||
if (!data) return NULL;
|
if (!data) return NULL;
|
||||||
|
|
||||||
url[len] = 0;
|
url[len] = '\0';
|
||||||
|
|
||||||
while(( pos = strstr(url , "/./" )) != NULL) {
|
while(( pos = strstr(url , "/./" )) != NULL) {
|
||||||
match = 1;
|
match = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user