diff options
author | Zied Aouini <aouinizied@gmail.com> | 2021-09-22 12:10:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 12:10:52 +0200 |
commit | 0994771974d686aa5395c5ba0fe71acef0d62e9d (patch) | |
tree | c86c95df6bd80ac0bfe16cbc8ecc88bcf4fe959c /src/lib/ndpi_utils.c | |
parent | 9717afb2dafdfec24e5431c70eb506d392bf1ef2 (diff) |
Improve CI (#1303)
* Improve CI pipeline
* Fix branch name.
* Fix branch name.
* Fix libgcrypt configuration.
* Update build.yml
* Move to Github Actions instead of Travis CI.
* Fix mingw on ubuntu bionic.
* Reactivate cross compile on Ubuntu Bionic.
* Switch to single line steps.
* Add several compilers versions
* Minor fix.
* Fix build all and delete cxx
* Fix RCE detection.
* Fix PCRE configuration.
* Add condition on PCRE test pcap.
* Update WebattackRCE.pcap.out
* Add missing SUBST.
* Delete WebattackRCE.pcap.out
* Update WebAttackRCE result.
* Fix typo.
* Extend jobs with pcre+msan+maxminddb.
* Fix code inpector warnings.
* Delete .appveyor.yml
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 9c77e6d92..a7cf405c1 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1570,7 +1570,7 @@ static int ndpi_is_rce_injection(char* query) { size_t ushlen = sizeof(ush_commands) / sizeof(ush_commands[0]); - for(int i = 0; i < ushlen; i++) { + for(unsigned long i = 0; i < ushlen; i++) { if(strstr(query, ush_commands[i]) != NULL) { return 1; } @@ -1578,7 +1578,7 @@ static int ndpi_is_rce_injection(char* query) { size_t pwshlen = sizeof(pwsh_commands) / sizeof(pwsh_commands[0]); - for(int i = 0; i < pwshlen; i++) { + for(unsigned long i = 0; i < pwshlen; i++) { if(strstr(query, pwsh_commands[i]) != NULL) { return 1; } |