3586 Commits

Author SHA1 Message Date
Eduardo Arias
9f5dc200ba Replace final three suppressions entries with line numbers
- These were initially not included in these changes, as they were
other PRs (#3104 & #3132) that address them.
2024-04-29 22:28:42 -03:00
Eduardo Arias
95ce3a7db4 Removed unused suppressions 2024-04-28 14:56:47 -03:00
Eduardo Arias
7a9c0ab15f Removed unused suppresion and avoid copy of logPath 2024-04-28 14:56:37 -03:00
Eduardo Arias
4aad8e0d06 Inline cppcheck suppressions 2024-04-28 14:56:23 -03:00
Eduardo Arias
0c38023b21 Removed unmatchedSuppression entries 2024-04-28 14:56:11 -03:00
Eduardo Arias
cd2dded659 Removed unnecessary break after return 2024-04-28 14:56:00 -03:00
Eduardo Arias
0cd2f459f3 Address cppcheck suppressions in lmdb 2024-04-28 14:55:49 -03:00
Eduardo Arias
94b68b2514 Minor updates to simplify code and remove cppcheck suppressions 2024-04-28 14:55:38 -03:00
Eduardo Arias
fde9d279b0 Removed unnecessary cppcheck suppression and r-value reference as copy should be avoidded by RVO 2024-04-28 14:55:18 -03:00
Eduardo Arias
b872f11f68 Fixed memory leak in examples/reading_logs_via_rule_message 2024-04-28 14:55:06 -03:00
Eduardo Arias
4288f5a009 Enable inline suppressions in cppcheck 2024-04-28 14:54:46 -03:00
Ervin Hegedus
07e5a7058b
Merge pull request #3128 from fzipi/update-submodules
fix: update submodule url - thanks for maintaining!
2024-04-23 10:54:30 +02:00
Felipe Zipitria
7e085ffb6e
fix: update submodule url
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
2024-04-22 15:56:40 -03:00
Ervin Hegedus
6217b4ec1e
Merge pull request #3127 from fzipi/fix-rbl-check
fix(rbl): typo in rbl check selector
2024-04-22 15:56:25 +02:00
Felipe Zipitria
30fe6f935b
fix(rbl): typo in rbl check selector
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
2024-04-22 10:23:28 -03:00
Ervin Hegedus
16d0df0ff9
Optimized variable handling 2024-03-31 14:14:45 +02:00
Ervin Hegedus
7c4dcdfa4b
Changed 'euqal_range()' + loop by 'find()' in resolveFirst() methods 2024-03-29 16:32:34 +01:00
gberkes
5802626437 Deleted redundant code in 'ModSecurity::serverLog(...)'. 2024-03-28 20:12:30 +01:00
Ervin Hegedus
cdb6b839e1
Replaced variable type to 'auto' 2024-03-27 16:39:32 +01:00
Ervin Hegedus
1b6b631617
Use make_unique to create unique ptr 2024-03-27 16:33:05 +01:00
Ervin Hegedus
ca7c0ae0b9
Code refactorization 2024-03-27 16:19:38 +01:00
Ervin Hegedus
4085ff5536
Replace putenv by setenv 2024-03-27 13:14:11 +01:00
Ervin Hegedus
5b2404e44d
Fix memleak in rules-check.cc 2024-03-27 11:45:36 +01:00
Ervin Hegedus
39848e5564
Fix memleak in regression.cc 2024-03-27 11:45:05 +01:00
Ervin Hegedus
625f9a5300
Merge pull request #2898 from brandonpayton/add-editorconfig
Add editorconfig to help OSS contributors
2024-03-05 16:13:07 +01:00
Ervin Hegedus
6d719bee5b
Merge pull request #3016 from M4tteoP/uri_decode_invalid
fix: makes uri decode platform independent
2024-03-05 16:11:01 +01:00
Christian Folini
5a6a53859a
Merge pull request #3101 from airween/v3/updatechanges
doc: Update CHANGES
2024-03-02 10:41:37 +01:00
Ervin Hegedus
387c4727f5
Update CHANGES 2024-03-01 22:25:55 +01:00
Ervin Hegedus
3fe51179ee
Update CHANGES 2024-03-01 21:55:21 +01:00
Ervin Hegedus
97687496e9
Merge pull request #3098 from devzero2000/ep/scoped-for
Ep/scoped for: second pr
2024-03-01 21:43:00 +01:00
Elia Pinto
2daebc090f src/utils/acmp.cc: reduce the scope of variable in a for () loop
In general, it is always preferable to reduce
the scope of a variable in a for loop
2024-02-29 20:20:41 +01:00
Elia Pinto
7fed599fdb src/request_body_processor/multipart.cc: reduce the scope of variable in a for () loop
In general, it is always preferable to reduce
the scope of a variable in a for loop
2024-02-29 20:20:41 +01:00
Elia Pinto
b23abf440a src/operators/verify_cc.cc: reduce the scope of variable in a for () loop
In general, it is always preferable to reduce
the scope of a variable in a for loop
2024-02-29 20:20:41 +01:00
Elia Pinto
9842b92bd1 src/actions/transformations/hex_decode.cc: reduce the scope of variable in a for () loop
In general, it is always preferable to reduce
the scope of a variable in a for loop
2024-02-29 20:20:41 +01:00
Ervin Hegedus
734646dbf1
Merge pull request #3096 from gberkes/v3/sonar_return_never_will_be_executed
Clean up 'return' never will be executed.
2024-02-27 22:25:05 +01:00
gberkes
64dfe41cec Refactor: Use pthread_exit(nullptr) instead of pthread_exit(NULL) for type safety. 2024-02-27 19:21:58 +00:00
Ervin Hegedus
f474cc59b8
Merge pull request #3079 from MirkoDziadzka/mirko-bump-c++-version
No other remark was added, merging. Thanks @MirkoDziadzka.
2024-02-27 19:34:48 +01:00
Marc Stern
b3a267d506
Merge pull request #3095 from airween/v3/buildmacros
fix: Replace obsolete macros
2024-02-27 15:47:48 +01:00
gberkes
bf6042dd16 Marked the process_request() function with the [[noreturn]] attribute, as pthread_exit() does not return. 2024-02-26 15:38:39 +00:00
gberkes
7b56db1811 Clean up 'return' never will be executed. 2024-02-26 08:49:05 +00:00
Ervin Hegedus
d0f3cf1389
Replace obsolete macros 2024-02-25 22:01:07 +01:00
Christian Folini
985cb946cc
Merge pull request #3092 from airween/v3/secstatusengoff
fix: Change 'SecEngineStatus' to Off by default
2024-02-22 18:47:21 +01:00
Ervin Hegedus
d7ef620e8b
docs: Add info about modification 2024-02-22 14:04:49 +01:00
Ervin Hegedus
f850932f83
fix: Change 'SecEngineStatus' to Off by default 2024-02-22 14:03:04 +01:00
Ervin Hegedus
d0e6c163fc
Merge pull request #3087 from fzipi/patch-2
chore: update bug-report-for-version-2-x.md
2024-02-20 16:09:33 +01:00
Ervin Hegedus
626c12f1d4
Merge pull request #3086 from fzipi/patch-1
chore: update bug-report-for-version-3-x.md
2024-02-20 15:42:19 +01:00
Felipe Zipitría
c63a9d6341
chore: update bug-report-for-version-2-x.md
- add label so it is properly classified
2024-02-20 11:02:28 -03:00
Felipe Zipitría
9502b4980a
chore: update bug-report-for-version-3-x.md
- add label `3.x` to it is properly classified
2024-02-20 11:01:32 -03:00
Marc Stern
4e4f3291ad
Merge pull request #3080 from airween/v3/testfixes
test: Logical, syntax and cosmetic fixes on test cases
2024-02-14 09:05:55 +01:00
Ervin Hegedus
16c899fb3b
Revert "Add new condition to test case"
This reverts commit 80e244388438b729e7cba4d8a6e48ac81be2b1d8.
2024-02-12 16:54:48 +01:00