From 2aec9cba4e8548ad4598d11132227816e863d4d0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Sep 2017 11:59:19 +0200 Subject: Update to 7.1.10RC1 Automatically load OpenSSL configuration file, from PHP 7.2 --- php-upstream.patch | 42 ++++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) (limited to 'php-upstream.patch') diff --git a/php-upstream.patch b/php-upstream.patch index 448fd7c..84862e9 100644 --- a/php-upstream.patch +++ b/php-upstream.patch @@ -1,30 +1,20 @@ -From 3239f6d6798d86fdbf8e03aa741d9990bcfffe79 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 31 Aug 2017 07:55:45 +0200 -Subject: [PATCH] move AC_DEFINE in the right position (in bundled lib - conditon) +From 7674b5e5749e8c0076357167ca553f153c94e6d1 Mon Sep 17 00:00:00 2001 +From: Anatol Belski +Date: Tue, 12 Sep 2017 18:17:28 +0200 +Subject: [PATCH] Fix test failure on 32-bit --- - ext/sqlite3/config0.m4 | 2 +- + ext/standard/tests/serialize/bug74103.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/ext/sqlite3/config0.m4 b/ext/sqlite3/config0.m4 -index 0e5fbc5..78fd622 100644 ---- a/ext/sqlite3/config0.m4 -+++ b/ext/sqlite3/config0.m4 -@@ -85,11 +85,11 @@ if test $PHP_SQLITE3 != "no"; then - other_flags="$other_flags -DSQLITE_ENABLE_ICU=1" - fi - -+ AC_DEFINE(HAVE_SQLITE3_ERRSTR, 1, [have sqlite3_errstr function]) - PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags" - PHP_INSTALL_HEADERS([ext/sqlite3/libsqlite/sqlite3.h]) - fi - -- AC_DEFINE(HAVE_SQLITE3_ERRSTR, 1, [have sqlite3_errstr function]) - AC_DEFINE(HAVE_SQLITE3,1,[ ]) - - sqlite3_sources="sqlite3.c $sqlite3_extra_sources" --- -2.1.4 - +diff --git a/ext/standard/tests/serialize/bug74103.phpt b/ext/standard/tests/serialize/bug74103.phpt +index 3d474b31b1cd..97076ffe466e 100644 +--- a/ext/standard/tests/serialize/bug74103.phpt ++++ b/ext/standard/tests/serialize/bug74103.phpt +@@ -5,5 +5,5 @@ Bug #74103: heap-use-after-free when uns + var_dump(unserialize('a:7:{i:0;i:04;s:1:"a";i:2;i:9617006;i:4;s:1:"a";i:4;s:1:"a";R:5;s:1:"7";R:3;s:1:"a";R:5;;s:18;}}')); + ?> + --EXPECTF-- +-Notice: unserialize(): Error at offset 64 of 96 bytes in %s on line %d ++Notice: unserialize(): Error at offset %d of %d bytes in %s on line %d + bool(false) -- cgit