mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
Fixed assert() usage:
- added some missing - removed some invalid - removed some that were not relevant in the context of the current function, when done in a called function
This commit is contained in:
@@ -1317,6 +1317,7 @@ int multipart_process_chunk(modsec_rec *msr, const char *buf,
|
||||
*
|
||||
*/
|
||||
apr_status_t multipart_cleanup(modsec_rec *msr) {
|
||||
assert(msr != NULL);
|
||||
int keep_files = 0;
|
||||
|
||||
if (msr->mpd == NULL) return -1;
|
||||
|
||||
Reference in New Issue
Block a user