From aa9433e9286801a6af6d4cee73d9a165a61e0e3b Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 25 May 2019 11:33:39 +0200 Subject: Upgrade bundled PCRE2 to 10.33 --- ext/pcre/pcre2lib/pcre2_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/pcre2lib/pcre2_convert.c') diff --git a/ext/pcre/pcre2lib/pcre2_convert.c b/ext/pcre/pcre2lib/pcre2_convert.c index 1dd5c337dc..d45b6fee97 100644 --- a/ext/pcre/pcre2lib/pcre2_convert.c +++ b/ext/pcre/pcre2lib/pcre2_convert.c @@ -276,7 +276,7 @@ while (plength > 0) break; case CHAR_BACKSLASH: - if (plength <= 0) return PCRE2_ERROR_END_BACKSLASH; + if (plength == 0) return PCRE2_ERROR_END_BACKSLASH; if (extended) nextisliteral = TRUE; else { if (*posix < 127 && strchr(posix_meta_escapes, *posix) != NULL) -- cgit v1.2.1