mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-06 03:45:32 +00:00
Fixed SQL Injection detection
This commit is contained in:
parent
7e87bfd039
commit
470d30ac23
1 changed files with 1 additions and 1 deletions
|
|
@ -1148,7 +1148,7 @@ static int find_occurrency(char *str, char *what) {
|
|||
|
||||
len = strlen(what);
|
||||
|
||||
if((found[len] != '\0') && (found[len] != ' ')
|
||||
if(((found[len] != '\0') || (found[len] != ' '))
|
||||
&& ((found == str) || (found[-1] == ' ')))
|
||||
return(1);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue