Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed: chuck null pointer when unknown CT is sent and over in-memory …

…limit
  • Loading branch information...
commit 0840b13612a0b7ef1ce7441cf811dcfc6b463fba 1 parent d8262fc
@brenosilva brenosilva authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  apache2/msc_reqbody.c
View
1  apache2/msc_reqbody.c
@@ -170,6 +170,7 @@ static apr_status_t modsecurity_request_body_store_memory(modsec_rec *msr,
/* Would storing this chunk mean going over the limit? */
if ((msr->msc_reqbody_spilltodisk)
+ && (msr->txcfg->reqbody_buffering != REQUEST_BODY_FORCEBUF_ON)
&& (msr->msc_reqbody_length + length > (apr_size_t)msr->txcfg->reqbody_inmemory_limit))
{
msc_data_chunk **chunks;
Please sign in to comment.
Something went wrong with that request. Please try again.