ports/www/nginx-devel/files/extra-patch-naxsi-libinjection__sqli_c
Sergey A. Osokin e58c8dfe01 www/nginx-devel: update third-party modules...
to their recent snapshots or versions:
o) push-stream
o) http_substitutions_filter
o) upload
o) upload-progress
o) upstream_check
o) mod_zip
o) naxsi
o) rds-csv
o) rds-json
o) redis2
o) rtmp
o) set-misc
o) sflow
o) srcache
o) vts
o) xss

Bump PORTREVISION.
2025-02-04 16:39:46 -05:00

14 lines
631 B
Plaintext

--- ../libinjection-b9fcaaf/src/libinjection_sqli.c.orig 2025-02-04 16:00:34.056724000 -0500
+++ ../libinjection-b9fcaaf/src/libinjection_sqli.c 2025-02-04 16:01:22.692905000 -0500
@@ -305,8 +305,8 @@
static void st_assign(stoken_t * st, const char stype,
size_t pos, size_t len, const char* value)
{
- const size_t MSIZE = LIBINJECTION_SQLI_TOKEN_SIZE;
- size_t last = len < MSIZE ? len : (MSIZE - 1);
+ const size_t NAXSI_MSIZE = LIBINJECTION_SQLI_TOKEN_SIZE;
+ size_t last = len < NAXSI_MSIZE ? len : (NAXSI_MSIZE - 1);
st->type = (char) stype;
st->pos = pos;
st->len = last;