Ignore:
Timestamp:
Oct 31, 2025, 2:49:53 PM (15 hours ago)
Author:
katerina
Message:

Fix for ticket #479 (check for start of a pcre2 match later than its end).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_log_evalrule.c

    r588 r591  
    10511051                                                sh_string_len(message));
    10521052
    1053   if (ovecnum > 1)
     1053  if (ovecnum > 1 && (ovector[0] < ovector[1])) /* guard against patterns using \K */
    10541054    {
    10551055      retval = sh_string_replace(retval, &(ovector[2]), (ovecnum-1), "___", 3);
Note: See TracChangeset for help on using the changeset viewer.