39 Commits

Author SHA1 Message Date
Ervin Hegedus
8879413abf
Add comment to explain the behavior 2025-06-26 21:50:54 +02:00
Ervin Hegedus
e56d62960e
Set correct pathlen 2025-06-26 17:42:49 +02:00
Ervin Hegedus
8cb7fc82fe
Set correct length of currpath 2025-06-24 22:10:20 +02:00
Ervin Hegedus
f9e81f2c78
Leave strlen() if not necesseraly; use own length storage 2025-06-24 22:02:00 +02:00
Ervin Hegedus
89d3ad38c5
Introduced a new variable to hold currval length 2025-06-24 21:34:12 +02:00
Ervin Hegedus
ca99ccd23f
Fix unexpected behavior if the XML tag is empty 2025-06-24 21:12:26 +02:00
Ervin Hegedus
87cbf9ea2e
Update explanation
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-30 08:50:55 +02:00
Ervin Hegedus
19b7e98fb6
Change node value's parsing to concatenate instead of duplicate it every time 2025-04-28 21:12:32 +02:00
Ervin Hegedus
bd45108024
Fix error message explanation.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-27 11:28:18 +02:00
Ervin Hegedus
ed24e70c58
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:37:00 +02:00
Ervin Hegedus
b5188237f4
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:36:32 +02:00
Ervin Hegedus
f1ecdb1cf7
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:35:44 +02:00
Ervin Hegedus
c3ab480979
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:31:43 +02:00
Ervin Hegedus
321c554965
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:25:05 +02:00
Ervin Hegedus
78ca32f280
Format comment
Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com>
2025-04-26 20:02:07 +02:00
Ervin Hegedus
c24ad689be
Remove unnecessary comment.
Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com>
2025-04-26 20:01:07 +02:00
Ervin Hegedus
1953e37217
Add nullptr check conditions 2025-04-20 21:44:47 +02:00
Ervin Hegedus
0c8cc6e2cf
Finish XMLArgs processing 2025-04-07 14:01:46 +02:00
Marc Stern
7c379c8d59 Fixed assert() usage:
- added some missing
 - removed some invalid
 - removed some that were not relevant in the context of the current function, when done in a called function
2024-07-31 11:17:36 +02:00
Marc Stern
91da5872c1 Many null pointer checks 2024-02-20 13:15:52 +01:00
Martin Vierula
8038a529c0
Copyright line updates 2022-12-21 07:07:14 -08:00
Martin Vierula
dfbdaf8f31
XML parser cleanup: NULL duplicate pointer 2022-06-08 15:36:36 -07:00
Vladimir Krivopalov
6a5ec1ff7b Properly cleanup XML parser contexts upon completion
It is currently possible that the XML parsing context is not properly
cleaned up if a parsed XML document is malformed.

This fix makes sure that the context is taken care of.

Signed-off-by: Vladimir Krivopalov <vlkrivop@microsoft.com>
2020-01-14 11:15:33 -08:00
Breno Silva
aa18ec7f45 Updated copyright dates 2013-04-19 03:20:46 -04:00
Breno Silva
d4d80b38aa Added SecXmlExternalEntity 2013-03-04 16:54:20 -04:00
brenosilva
104f0de46e New License 2011-03-30 14:12:44 +00:00
brenosilva
49732256f6 Improvements, fixes and new features 2011-03-25 13:51:13 +00:00
brenosilva
549f059480 move 2.5.13 into trunk 2010-12-08 18:58:18 +00:00
b1v1r
08edc0c26f Merge 2.5.x (2.5.12) changes into trunk. 2010-02-05 19:05:20 +00:00
b1v1r
dc0a2161ac Merge 2.5.9 changes into trunk. 2009-03-12 15:31:10 +00:00
brectanus
10713fbd37 Sync up branches/2.5.x and trunk. 2008-07-31 22:36:24 +00:00
brectanus
f428d37680 Cleanup - remove extraneous whitespace and tabs. 2008-02-07 21:45:05 +00:00
brectanus
b5033e6e29 It is 2008 now :) 2008-01-11 00:00:31 +00:00
brectanus
4e7c243c39 Make libxml2 *required*. 2007-12-19 18:13:41 +00:00
brectanus
2203428507 Prefer "offset" to "pos". 2007-12-12 18:43:40 +00:00
brectanus
aff6900539 Initial full pass through code to fix issues with 64-bit/mismatch sign/mismatch size printf style formatters.
Still need to look more into how we are handling time and convert to apr_time_t (or time_t) where appropriate.
Still need to look into our use of 'long' as windows is LLP64 where 'long' is still 32-bit.
2007-11-15 19:09:14 +00:00
brectanus
63a47c370e Prefer %d string formatter to %i so we do not get warnings on some platforms. 2007-09-27 21:34:29 +00:00
brectanus
81d0f84ad3 Update copyright text to Breach Security, Inc.
Merge in changes from branches/2.1.x
2007-06-14 16:05:45 +00:00
ivanr
3f80fdac3b Import ModSecurity 2.1.0-rc7 2007-02-06 12:29:22 +00:00