From a817c65b50619aedd807dce0b2c76db33ac4dc86 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Jun 2019 10:21:44 +0200 Subject: add 3 upstream patches --- b2b0e5246650bc6b63e841614110e471a061d577.patch | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 b2b0e5246650bc6b63e841614110e471a061d577.patch (limited to 'b2b0e5246650bc6b63e841614110e471a061d577.patch') diff --git a/b2b0e5246650bc6b63e841614110e471a061d577.patch b/b2b0e5246650bc6b63e841614110e471a061d577.patch new file mode 100644 index 0000000..2ab8bcd --- /dev/null +++ b/b2b0e5246650bc6b63e841614110e471a061d577.patch @@ -0,0 +1,39 @@ +From b2b0e5246650bc6b63e841614110e471a061d577 Mon Sep 17 00:00:00 2001 +From: Joe Watkins +Date: Wed, 12 Jun 2019 22:39:00 +0200 +Subject: [PATCH] test for bug #78151 + +--- + Zend/tests/bug78151.phpt | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + create mode 100644 Zend/tests/bug78151.phpt + +diff --git a/Zend/tests/bug78151.phpt b/Zend/tests/bug78151.phpt +new file mode 100644 +index 000000000000..87b98a4e44aa +--- /dev/null ++++ b/Zend/tests/bug78151.phpt +@@ -0,0 +1,23 @@ ++--TEST-- ++Bug #78151 Segfault caused by indirect expressions in PHP 7.4a1 ++--FILE-- ++{$property} = &$array[$property]; ++ ++ \var_dump($this->foo); ++ } ++} ++ ++$arr = new Arr(['foo' => 'bar']); ++?> ++--EXPECT-- ++string(3) "bar" -- cgit