Changeset 591 for trunk/src/sh_log_parse_apache.c
- Timestamp:
- Oct 31, 2025, 2:49:53 PM (15 hours ago)
- File:
-
- 1 edited
-
trunk/src/sh_log_parse_apache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_log_parse_apache.c
r588 r591 341 341 342 342 info->line_ovector = pcre2_get_ovector_pointer(match_data); 343 344 if (info->line_ovector[0] > info->line_ovector[1]) /* guard against patterns using \K */ 345 { 346 char msg[128]; 347 sl_snprintf(msg, sizeof(msg), _("Matching error: start > end")); 348 349 SH_MUTEX_LOCK(mutex_thread_nolog); 350 sh_error_handle(SH_ERR_ERR, FIL__, __LINE__, 0, MSG_E_SUBGEN, 351 msg, 352 _("sh_parse_apache")); 353 SH_MUTEX_UNLOCK(mutex_thread_nolog); 354 goto the_end; 355 } 343 356 344 357 if (info->pos_time > 0) … … 450 463 sh_string_destroy(&msg); 451 464 } 465 466 the_end: 452 467 pcre2_match_data_free(match_data); 453 468 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.