From 933a0c45d288395fefc7bff03b6b48668b694f33 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 23 Jul 2014 08:40:11 -0700 Subject: 32898 (credit Jun T.): fix offset_start initialization bug in 32891 --- Src/Modules/pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c index 0e43ab7a9..040a33f8e 100644 --- a/Src/Modules/pcre.c +++ b/Src/Modules/pcre.c @@ -274,7 +274,7 @@ bin_pcre_match(char *nam, char **args, Options ops, UNUSED(int func)) int return_value = 1; /* The subject length and offset start are both int values in pcre_exec */ int subject_len; - int offset_start = -1; + int offset_start = 0; int want_offset_pair = 0; if (pcre_pattern == NULL) { -- cgit 1.4.1