Commit Graph

3370 Commits

Author SHA1 Message Date
martinhsv
35969946ca Merge pull request #3024 from martinhsv/v3/master
Add WRDE_NOCMD to wordexp call
2023-12-06 12:16:21 -05:00
Martin Vierula
4c7a9bd312 Add WRDE_NOCMD to wordexp call 2023-12-06 08:16:39 -08:00
Matteo Pace
fcf205d599 fix: makes uri decode platform independent 2023-11-08 17:32:41 +01:00
martinhsv
5b094c0ce9 Merge pull request #3014 from martinhsv/v3/master
Fix: validateDTD compile fails if when libxml2 not installed
2023-11-07 08:15:52 -05:00
Martin Vierula
c11b28292d Fix: validateDTD compile fails if when libxml2 not installed 2023-11-06 20:35:05 -08:00
Martin Vierula
cb4d7ae371 Adjust some copyright dates 2023-10-31 06:23:19 -07:00
martinhsv
0311da9f1b Merge pull request #3008 from martinhsv/v3/master
Fix memory leak of validateDTD's dtd object
2023-10-30 19:37:08 -04:00
Martin Vierula
beaa452302 Fix memory leak of validateDTD's dtd object 2023-10-30 15:40:36 -07:00
Martin Vierula
a9edee3dbe const-ify some references in test folder 2023-10-27 11:39:08 -07:00
Martin Vierula
de2d053d6e Remove unneeded cppcheck suppression 2023-10-27 09:48:16 -07:00
Martin Vierula
36adc58ea3 const-ify some references (satisfy cppcheck) 2023-10-27 06:20:01 -07:00
martinhsv
b9836bcaa4 Merge pull request #3005 from martinhsv/v3/master
Fix memory leaks in ValidateSchema
2023-10-26 22:17:05 -04:00
Martin Vierula
b180de53bf Fix memory leaks in ValidateSchema 2023-10-26 16:58:52 -07:00
Martin Vierula
fd67c6eb1d Remove unneeded heap allocation in AnchoredSetVariable::set 2023-10-25 06:07:26 -07:00
Martin Vierula
dc6cce5f0c refactoring and remove dead code in lmdb 2023-10-24 06:36:18 -07:00
Martin Vierula
3951ba0e48 CHANGES entry for previous PR 2023-10-23 09:50:22 -07:00
martinhsv
2fcd373107 Merge pull request #3001 from SpiderLabs/v3/dev/action_expirevar
V3/dev/action expirevar
2023-10-23 11:41:12 -04:00
Martin Vierula
c63b5bea1d Change linux workflow to Ubuntu 22.04 2023-10-11 13:43:11 -07:00
Martin Vierula
34809d8064 Add expirevar support for lmdb 2023-10-10 10:31:52 -07:00
Martin Vierula
118e1b3a44 Support expirevar for in-memory collection 2023-09-29 11:40:03 -07:00
martinhsv
135d1fa42b Merge pull request #2985 from martinhsv/v3/master
Fix: lmdb regex match on non-null-terminated string
2023-09-18 12:02:54 -04:00
Martin Vierula
af45ccd53f Fix: lmdb regex match on non-null-terminated string 2023-09-18 08:27:41 -07:00
martinhsv
375519d5f2 Merge pull request #2983 from martinhsv/v3/master
Fix memory leaks in lmdb code (new'd strings)
2023-09-17 15:03:51 -04:00
Martin Vierula
dc2e38e242 Fix memory leaks in lmdb code (new'd strings) 2023-09-17 11:36:08 -07:00
Martin Vierula
8594cb8a7d Correct json for one regression test file 2023-09-13 06:59:15 -07:00
martinhsv
60f802e480 Merge pull request #2939 from martinhsv/v3/master
Configure: add additional name to pcre2 pkg-config list
2023-08-02 09:25:38 -04:00
Martin Vierula
31cbd7309a Configure: add additional name to pcre2 pkg-config list 2023-08-02 05:45:58 -07:00
Martin Vierula
cbe2d61174 CHANGES: Preparing for next version 2023-08-01 17:01:45 -07:00
Martin Vierula
ccc2d9b536 Change release version to v3.0.10 v3.0.10 2023-07-25 07:23:07 -07:00
martinhsv
092921d87e Merge pull request #2934 from martinhsv/v3/master
Fix: worst-case time in implementation of four transformations
2023-07-25 09:24:15 -04:00
Martin Vierula
ab5658f2d4 Fix: worst-case time in implementation of four transformations 2023-07-25 05:50:16 -07:00
Martin Vierula
3f0971666f CHANGES entry for previous PR 2023-07-10 07:30:14 -07:00
martinhsv
fea6e6d60b Merge pull request #2901 from airween/v3/pcrelimittx
Set TX:MSC_PCRE_LIMITS_EXCEEDED variable is limits exceeded
2023-07-07 17:31:20 -04:00
martinhsv
2cb6344bf8 Merge pull request #2916 from martinhsv/v3/master
Make MULTIPART_PART_HEADERS accessible to lua
2023-06-14 14:52:31 -04:00
Martin Vierula
f812a3d725 Make MULTIPART_PART_HEADERS accessible to lua 2023-06-14 09:28:04 -07:00
martinhsv
85c8760774 Merge pull request #2915 from martinhsv/v3/master
Fix: Lua scripts cannot read whole collection at once
2023-06-13 17:27:23 -04:00
Martin Vierula
63bbf624dc Remove check-static from macos builds 2023-06-13 13:51:54 -07:00
Martin Vierula
b8e1aedef3 Fix: Lua scripts cannot read whole collection at once 2023-06-13 06:41:40 -07:00
martinhsv
b84f32d6f2 Merge pull request #2909 from martinhsv/v3/master
Fix: quoted Include config with wildcard
2023-05-31 08:47:31 -04:00
Martin Vierula
938707d117 Fix: quoted Include config with wildcard 2023-05-30 09:32:07 -07:00
Ervin Hegedüs
4403a163c4 Set TX:MSC_PCRE_LIMITS_EXCEEDED variable is limits exceeded 2023-05-14 17:26:08 +02:00
Martin Vierula
2121938c51 Change some parms to reference-to-const to satisfy cppcheck 2023-05-11 15:06:25 -07:00
Martin Vierula
da8782ce72 Minor whitespace adjustment 2023-05-11 07:37:43 -07:00
Martin Vierula
fdeaf17c67 CHANGES entry for previous PR 2023-05-10 06:08:59 -07:00
Martin Vierula
1ca282a5e6 Add exclusions due to newer cppcheck version 2023-05-09 12:42:30 -07:00
Martin Vierula
f8ec873376 github workflow: update macos version to macos-11 2023-05-09 07:14:09 -07:00
martinhsv
09a135baab Merge pull request #2736 from brandonpayton/add-regex-match-limits-and-error-reporting
Add isolated PCRE match limits as a layer of ReDoS defense
2023-05-09 06:09:28 -07:00
Martin Vierula
62bbd7b078 Correction to previous cppcheck suppression adjustment 2023-05-08 09:44:44 -07:00
Martin Vierula
95c7009b88 Add cppcheck suppressions 2023-05-05 13:29:41 -07:00
Brandon Payton
6ad665f6bb Add editorconfig to help OSS contributors
When switching between many different open source code bases, it can be
cumbersome to constantly change editor settings in order to respect a
given project's basic style preferences. EditorConfig is a popular
format for representing those preferences so editors can automatically
respect them.

Many editors support EditorConfig out of the box, and many others have
EditorConfig plugins:
https://editorconfig.org/#pre-installed

This commit adds an EditorConfig to the ModSecurity project. It is most
likely not perfect because the chosen indentation varies a bit
throughout the project, but hopefully it provides a good basis for most
ModSecurity editing.
2023-05-05 09:18:03 -04:00