Christoph M. Becker
271ae3eb2b
Fix #76574 : use of undeclared identifiers INT_MAX and LONG_MAX
...
As of Oniguruma 6.4.0 <limits.h> is required, so we have to add a check
for this header file to set the respective macro.
2018-07-10 14:28:28 +02:00
Anatol Belski
bf5a81364c
[skip ci] Update NEWS
2018-07-10 11:53:04 +02:00
Kalle Sommer Nielsen
a8dce31957
Added the 'add_slashes' sanitization filter (FILTER_SANITIZE_ADD_SLASHES) as an alias to 'magic_quotes' (FILTER_SANITIZE_MAGIC_QUOTES) so we can move past our "magical" legacy.
2018-07-09 03:58:20 +02:00
Christoph M. Becker
1c01b1ab48
Fix #76594 : Bus Error due to unaligned access in zend_ini.c OnUpdateLong
...
Since commit ea83b69[1] changed the type of mbstring.strict_detection
from `long` to `zend_bool`, we have to update the `on_modify` callback
as well.
[1] http://git.php.net/?p=php-src.git;a=commit;h=ea83b69883f3f77fd27e4663fa854c88f141ab41
2018-07-09 00:54:36 +02:00
Jakub Zelenka
3b10e9ccf1
Update NEWS for log related changes in FPM
2018-07-07 13:16:16 +01:00
Jakub Zelenka
2a78006adb
Update NEWS and UPGRADING for fpm_get_status addition
2018-07-07 12:53:08 +01:00
Nikita Popov
9aeeecc47c
Merge branch 'PHP-7.2'
2018-07-07 12:08:27 +02:00
Nikita Popov
5d0d812a53
Merge branch 'PHP-7.1' into PHP-7.2
2018-07-07 12:08:02 +02:00
cdoco
47fb17b108
Fixed bug #76366 (references in sub-array for filtering breaks the filter)
2018-07-07 12:07:43 +02:00
seliver
95013042bf
Fixed bug #76136 (stream_socket_get_name enclosed IPv6 in brackets)
...
The IPv6 IP of a socket is provided by inet_ntop() as a string, but
this function doesn't enclose the IP in brackets. This patch adds
them in the php_network_populate_name_from_sockaddr() function.
2018-07-07 11:47:50 +02:00
Peter Kokot
67352cb2c0
Fix bug #76392
...
On systems without glibc, such as Alpine with Musl libc, the function attributes
are not supported. GCC 6 doesn't properly omit some systems. This is
already fixed in GCC 7 but for systems with GCC 6 and ones without
glibc, this additional check fixes this bug.
2018-07-07 11:31:44 +02:00
Anatol Belski
0b94534e93
[ci skip] Update NEWS
2018-07-06 17:46:04 +02:00
Anatol Belski
d207fd449c
[ci skip] Update NEWS
2018-07-06 17:45:01 +02:00
Anatol Belski
ea24847620
[ci skip] Update NEWS
2018-07-06 17:43:48 +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
Remi Collet
587ab00698
NEW and UPGRADING
2018-07-05 06:34:08 +02:00
Anatol Belski
2af3234a09
[ci skip] Update NEWS
2018-07-03 20:03:11 +02:00
Christoph M. Becker
a0b9f8d411
Update NEWS for 7.3.0beta1
2018-07-03 12:52:48 +00:00
Remi Collet
8bf21adb8c
bump to 7.2.9-dev
2018-07-03 13:52:04 +02:00
Dmitry Stogov
177c7e3a72
Merge branch 'bug63217'
...
* bug63217:
Another fix for bug #63217
Partial revert of 30156d588c
2018-07-03 12:58:50 +03:00
Dmitry Stogov
28b03f9605
Another fix for bug #63217
2018-07-03 01:09:58 +03:00
Nikita Popov
04824aa263
Merge branch 'PHP-7.2'
2018-07-02 18:58:01 +02:00
Nikita Popov
9bbb9e537c
Merge branch 'PHP-7.1' into PHP-7.2
2018-07-02 18:57:25 +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
2cc6922cbf
Merge branch 'PHP-7.2'
2018-07-02 17:59:33 +02:00
Nikita Popov
3a236d0587
Merge branch 'PHP-7.1' into PHP-7.2
2018-07-02 17:59:15 +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
a57b5e82a9
Merge branch 'PHP-7.2'
2018-07-02 17:30:07 +02:00
Nikita Popov
09bb2527e9
Merge branch 'PHP-7.1' into PHP-7.2
2018-07-02 17:29:32 +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
Rudi Theunissen
30156d588c
Fixed bug #63217
...
Don't automatically convert literal string keys to integers on
array access, as we may be dealing with an ArrayAccess object,
rather than a plain array.
2018-07-02 16:41:59 +02:00
Jakub Zelenka
d404b5e255
Add ssl/tls streams options for min and max proto version
2018-07-01 18:46:52 +01:00
Jakub Zelenka
ce0721bee5
Update NEWS, UPGRADING and default php.ini files with syslog changes
2018-07-01 18:27:36 +01:00
Christoph M. Becker
1b61c3b210
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #76556 : get_debug_info handler for BreakIterator shows wrong type
2018-06-30 23:22:20 +02:00
Christoph M. Becker
ae163d9a36
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76556 : get_debug_info handler for BreakIterator shows wrong type
2018-06-30 23:17:54 +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
Christoph M. Becker
abbc1e683c
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #71848 : getimagesize with $imageinfo returns false
2018-06-30 16:50:49 +02:00
Christoph M. Becker
e2285eb542
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #71848 : getimagesize with $imageinfo returns false
2018-06-30 16:40:32 +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
Anatol Belski
7a6dc29605
[ci skip] Update NEWS
2018-06-29 20:12:45 +02:00
Anatol Belski
15ad5d31d1
[ci skip] Update NEWS
2018-06-29 20:11:55 +02:00
Anatol Belski
fb09f1341f
[ci skip] Update NEWS
2018-06-29 20:10:54 +02:00
Nikita Popov
a7101415cb
Merge branch 'PHP-7.2'
2018-06-28 23:06:08 +02:00
Nikita Popov
00c0d7702c
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-28 23:05:09 +02:00
Marcus Schwarz
bf5a802f5a
Fixed bug #76532 (excessive memory usage in mb_strimwidth)
2018-06-28 23:02:28 +02:00
Anatol Belski
a1ae9d5f9e
[ci skip] Update NEWS
2018-06-28 11:41:49 +02:00
Xinchen Hui
f1c0500fda
Update NEWS
2018-06-28 12:38:40 +08:00
Xinchen Hui
809a7b5f8f
Update NEWS
2018-06-28 12:38:14 +08: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