mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Added some null pointer checks.
Added a design doc.
This commit is contained in:
@@ -24,9 +24,6 @@ void validate_quotes(modsec_rec *msr, char *data, char quote) {
|
||||
assert(msr != NULL);
|
||||
int i, len;
|
||||
|
||||
if(msr == NULL)
|
||||
return;
|
||||
|
||||
if(msr->mpd == NULL)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user