Blame SOURCES/perl-5.24.3-perl-132063-we-should-no-longer-warn-for-this-code.patch

2c161b
From 9dd4e0280eca2ba666cc0671ec3724610ed7d366 Mon Sep 17 00:00:00 2001
2c161b
From: Tony Cook <tony@develop-help.com>
2c161b
Date: Mon, 19 Feb 2018 15:11:42 +1100
2c161b
Subject: (perl #132063) we should no longer warn for this code
2c161b
2c161b
The first patch for 132063 prevented the buffer read overflow when
2c161b
dumping the warning but didn't fix the underlying problem.
2c161b
2c161b
The next change treats the supplied buffer correctly, preventing the
2c161b
non-UTF-8 SV from being treated as UTF-8, preventing the warning.
2c161b
---
2c161b
 t/lib/warnings/regexec | 3 ---
2c161b
 1 file changed, 3 deletions(-)
2c161b
2c161b
diff --git a/t/lib/warnings/regexec b/t/lib/warnings/regexec
2c161b
index 6635142dea..c370ddc3c7 100644
2c161b
--- a/t/lib/warnings/regexec
2c161b
+++ b/t/lib/warnings/regexec
2c161b
@@ -262,8 +262,5 @@ setlocale(&POSIX::LC_CTYPE, $utf8_locale);
2c161b
 EXPECT
2c161b
 ########
2c161b
 # NAME perl #132063, read beyond buffer end
2c161b
-# OPTION fatal
2c161b
 "\xff" =~ /(?il)\x{100}|\x{100}/;
2c161b
 EXPECT
2c161b
-Malformed UTF-8 character: \xff (too short; 1 byte available, need 13) in pattern match (m//) at - line 2.
2c161b
-Malformed UTF-8 character (fatal) at - line 2.
2c161b
-- 
2c161b
2.11.0
2c161b