mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fix outbound size of salt variable
This commit is contained in:
parent
b362ab0d98
commit
885eeecefb
@ -1355,7 +1355,7 @@ ngx_http_modsecurity_create_ctx(ngx_http_request_t *r)
|
||||
}
|
||||
}
|
||||
|
||||
salt[i] = '\0';
|
||||
salt[TXID_SIZE-1] = '\0';
|
||||
|
||||
apr_table_setn(ctx->req->subprocess_env, "UNIQUE_ID", apr_psprintf(ctx->req->pool, "%s", salt));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user