mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-08 23:32:27 +03:00
clean stream buffer
This commit is contained in:
@@ -419,7 +419,6 @@ apr_status_t modsecurity_request_body_to_stream(modsec_rec *msr, const char *buf
|
|||||||
}
|
}
|
||||||
|
|
||||||
memset(msr->stream_input_data, 0, msr->stream_input_length+1);
|
memset(msr->stream_input_data, 0, msr->stream_input_length+1);
|
||||||
msr->stream_input_data[msr->stream_input_length] = '\0';
|
|
||||||
|
|
||||||
if(first_pkt) {
|
if(first_pkt) {
|
||||||
memcpy(msr->stream_input_data, buffer, msr->stream_input_length);
|
memcpy(msr->stream_input_data, buffer, msr->stream_input_length);
|
||||||
|
Reference in New Issue
Block a user