Anatol Belski
a820aab9da
Sync callback signature with libxml2 2.9.8
2018-07-09 21:21:41 +02:00
Anatol Belski
2c43fb49d6
Add missing flag
2018-07-09 15:12:52 +02:00
Anatol Belski
ad790bea2e
Fix C++11 and up compatibility for zend_finite and more
...
C++11 puts isfinite, isinf, isnan and a lot of other stuff into the
std namespace. Thus, if a C++11 or newer source is compiled, these
symbols won't be available. A good solution would be to include cmath,
but depending on a particular compiler that might remove even more
stuff from the global namespace, so such a fix should only target master.
For now, just keep these defines same for C++11 and upper, as the actual
C++ code should use symbols from the std namespace anyway. This
especially concerns older GCC versions like at least 4 and 5, which are
used by default in the LTS Linux distros.
2018-07-08 20:20:08 +02:00
cdoco
47fb17b108
Fixed bug #76366 (references in sub-array for filtering breaks the filter)
2018-07-07 12:07:43 +02:00
Anatol Belski
ea24847620
[ci skip] Update NEWS
2018-07-06 17:43:48 +02:00
Anatol Belski
246cb03e26
Fix event log handling in startup phase
...
The log header can be saved in the globals on startup. At the same
time, the log header can be changed per request. In case that
happened, wrong pointer will be free'd on shutdown. It can happen at
any point when zend_error() or similar is called at startup, like for
example in the case of the ini deprecation warnings. Thus, ZMM cannot
be used here.
2018-07-06 16:07:28 +02:00
sim1984
3847a6fcb6
Fix bug #76488 Memory leak when fetching a BLOB field
...
Add a phpt test
2018-07-06 16:07:28 +02:00
Sara Golemon
137f22ad36
Fix year
2018-07-06 10:02:20 -04:00
Sara Golemon
268e801cb1
Bump version
2018-07-06 10:02:00 -04:00
Nikita Popov
791f07e4f0
Fix string.strip_tags filter
...
Was segfaulting if no allowed tags are specified and performing an
out of bounds read if they were.
2018-07-05 19:08:00 +02:00
Nikita Popov
c97b8bbf82
Fixed bug #75231
...
The behavior is now consistent with ReflectionMethod.
2018-07-02 18:56:27 +02:00
Nikita Popov
787593b708
Fix test after serialization change
...
And move it to a more appropriate location.
2018-07-02 17:58:26 +02:00
Nikita Popov
c793885b76
Fixed bug #74670
...
Validate that "C" serialization payload is followed by "}" prior to
calling the unserialize() handler. This mitigates issues caused by
unserialize() not correctly handling strings that are not NUL
terminated. Making sure that there is a "}" at the end avoids the
problem.
2018-07-02 17:27:43 +02:00
Anatol Belski
f8258325b4
Update libs_version.txt
2018-07-02 12:09:54 +02:00
Christoph M. Becker
a72bab1b9a
Make newly introduced bug76556.phpt more resilient
...
Obviously, different compilers mangle the C++ class name differently.
We should neither expect a prefix nor a suffix.
2018-07-01 00:20:32 +02:00
Christoph M. Becker
1118fca75d
Fix #76556 : get_debug_info handler for BreakIterator shows wrong type
...
We use the retrieved type for the "type" element instead of the text.
This has been confused during the PHP 7 upgrade[1].
[1] http://git.php.net/?p=php-src.git;a=commit;h=1d793348067e5769144c0f7efd86428a4137baec
2018-06-30 23:15:02 +02:00
Nikita Popov
9b0df97a42
Fix handling of void return type on internal functions
2018-06-30 20:10:57 +02:00
Nikita Popov
2eb6a541a9
Fix typo in compound dim assign op inference
...
Thankfully a harmless one, just makes inference results worse.
2018-06-30 19:50:07 +02:00
Christoph M. Becker
ae04110032
Fix #71848 : getimagesize with $imageinfo returns false
...
Some JFIF images contain empty APP segments, i.e. those which consist
only of the marker bytes and the length, but without actual content.
It appears to be doubtful to have empty APP segments, but we should
apply the robustness principle, and accept these, instead of simply
failing in this case.
We choose to add empty APP segments to $imageinfo with an empty string
as value, instead of NULL, or even to omit these segments altogether.
This patch also fixes the potential issue that php_stream_read() might
not read the supposed number of bytes, which could result in garbage to
be added to the read value.
2018-06-30 16:29:30 +02:00
Nikita Popov
962706d16c
Fix nullable type pretty-printing
2018-06-29 23:22:41 +02:00
Anatol Belski
fb09f1341f
[ci skip] Update NEWS
2018-06-29 20:10:54 +02:00
Anatol Belski
cb97fd3097
Fixed bug #76548 pg_fetch_result did not fetch the next row
2018-06-29 18:34:53 +02:00
Marcus Schwarz
bf5a802f5a
Fixed bug #76532 (excessive memory usage in mb_strimwidth)
2018-06-28 23:02:28 +02:00
Anatol Belski
f6430e3fe2
Update SDK version for AppVeyor
2018-06-28 15:56:27 +02:00
Anatol Belski
88b5df91f6
Sync versions for VC++ 15.8
2018-06-28 13:23:19 +02:00
Anatol Belski
19b4fa17d3
Don't ignore commits on NEWS, etc. on AppVeyor
...
[ci skip] can be used explicitly, and otherwise it might ignore commits
with a code change.
2018-06-28 10:53:23 +02:00
Xinchen Hui
1f6b842af4
Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
2018-06-28 12:37:33 +08:00
Xinchen Hui
d1b1866a3a
Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler)
2018-06-27 13:05:11 +08:00
Christoph M. Becker
6b5597f7d8
Fix arginfo wrt. optional/required parameters
...
All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are
required. We mark them as such.
2018-06-25 11:52:17 +02:00
Anatol Belski
5af0db88fa
Prepare tests for ICU 62.1
2018-06-25 11:30:14 +02:00
Nikita Popov
701460ba84
Fixed bug #76502
2018-06-24 22:26:45 +02:00
Jakub Zelenka
b20bcbc363
Use unix NL in all openssl ext tests
2018-06-21 16:43:32 +01:00
Jakub Zelenka
3c42f64e6e
Make code in openssl ext tests more consistent
...
Mainly use spaces for indent and fix some other CS issues. Also
drop checks for unsupported OpenSSL library versions.
2018-06-21 16:38:19 +01:00
Xinchen Hui
6531719da5
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
2018-06-21 17:26:05 +08:00
Stanislav Malyshev
bcf2e10ae7
Revert "ICU 59+ requires C++11 and errors out without the option"
...
This reverts commit 5dd1ef90ca .
2018-06-20 10:41:41 -07:00
Nikita Popov
69dee5c732
Fixed bug #73342
...
Directly listen on socket, instead of duping it to STDIN and
listening on that.
2018-06-20 12:28:15 +02:00
Stanislav Malyshev
5dd1ef90ca
ICU 59+ requires C++11 and errors out without the option
2018-06-17 16:42:41 -07:00
Dmitry Stogov
11507c0e1b
Fixed invalid free introduced by d6e81f0bfd (avoid keeping "invalid" pointer)
2018-06-14 02:38:39 +03:00
Nikita Popov
e77077edeb
Make $locale parameter to BreakIterator ctors optional
...
It's documented as such and already accepts null.
2018-06-13 23:47:20 +02:00
Jakub Zelenka
ea592e6b6c
Rewrite FPM tests
2018-06-12 17:59:28 +01:00
Anatol Belski
62554efffe
[ci skip] Update NEWS
2018-06-12 18:06:41 +02:00
Anatol Belski
7212829435
Fixed bug #76462 Undefined property: DateInterval::$f
2018-06-12 15:30:14 +02:00
Nikita Popov
6c9db02ff7
Fix mysqlnd build without openssl
...
Cherry-pick of 968eb0b38c , as these
changes were also introduced in lower branches.
2018-06-10 21:20:28 +02:00
Jakub Zelenka
f9d1d1f36f
Enable IPv6 in Travis
2018-06-08 20:09:33 +01:00
Joe Watkins
e9b8193b24
bump versions
2018-06-07 08:19:43 +02:00
Anatol Belski
f96df64cb2
Fix VC compilation as variable size array is not supported
2018-06-06 11:13:28 +02:00
Johannes Schlüter
04db3d0f7a
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
2018-06-06 00:24:41 +02:00
Johannes Schlüter
d6e81f0bfd
Fix MySQL 8 auth
2018-06-06 00:17:34 +02:00
Stanislav Malyshev
73bf238507
Fix bug #76390 - do not allow invalid strings in range()
2018-06-04 22:44:05 -07:00
Anatol Belski
5bf8032112
Translate correct C++ version with suitable compiler
2018-05-28 17:12:06 +02:00