Joe Watkins
e000b401ac
prepare for release 7.1.2
2017-02-14 18:33:55 +00:00
Joe Watkins
5c34a30bdb
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
...
This reverts commit 2fcf1259c6 .
2017-02-01 19:18:18 +00:00
Joe Watkins
8a0c388e11
Revert "fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )"
...
This reverts commit 62938bf088 .
2017-02-01 19:17:50 +00:00
Joe Watkins
49e9ae1fc1
Revert "Inheritance checks should not ignore parents if these implement an interface"
...
This reverts commit b67eb3440b .
2017-02-01 18:35:33 +00:00
Joe Watkins
76b2f2ff5d
Revert "Added tests demonstrating the same effect with abstracts"
...
This reverts commit c11b2b809d .
2017-02-01 18:35:03 +00:00
Remi Collet
d699a81277
fix test for 32bits (int -> float)
2017-02-01 11:19:39 +00:00
Joe Watkins
892f2e5120
prepare 7.1.2RC1
2017-01-31 12:44:09 +00:00
Joe Watkins
390134e6c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
removed additional ";" from run-tests.php
2017-01-31 05:36:16 +00:00
Rodrigo Prado
543141ae3b
removed additional ";" from run-tests.php
2017-01-31 05:35:58 +00:00
Anatol Belski
6a8e7d5408
update NEWS
2017-01-30 22:35:46 +01:00
Anatol Belski
7a89dd8067
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-01-30 22:35:14 +01:00
Anatol Belski
f39cabe610
update NEWS
2017-01-30 22:34:14 +01:00
Sara Golemon
3475c0c035
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Securely zero the hash context key
2017-01-30 09:02:42 -08:00
Sara Golemon
bf0f53270f
Securely zero the hash context key
2017-01-30 08:57:17 -08:00
Anatol Belski
de64adeb1d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73983 crash on finish work with phar in cli + opcache
2017-01-30 12:46:11 +01:00
Anatol Belski
368958b3e4
Fixed bug #73983 crash on finish work with phar in cli + opcache
...
The file_cache_only option causes the storage to be per process,
furthermore the arena is destroyed per request. Thus, zend_string's
can't survive between request and the permanent flag should not
be set. This is already done with the file cache part, but the
persistency part is used in various scenarios and should respect
this case as well. In this particular bug, the pcre pattern cache
needs to survive between requests and uses pattern strings as hash
keys. One more case relevant here would be various situations where
the flow disables the use of shared memory.
2017-01-30 12:44:21 +01:00
Joe Watkins
e6bc4f39a2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )
2017-01-30 11:26:37 +00:00
Joe Watkins
dd227c2b23
Merge branch 'pull-request/2348' into PHP-7.0
...
* pull-request/2348:
fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )
2017-01-30 11:26:02 +00:00
jhdxr
62938bf088
fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )
2017-01-30 11:25:04 +00:00
Anatol Belski
f2c99e201e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move id initialization into ctor
2017-01-30 11:41:59 +01:00
Anatol Belski
4b1afc829c
move id initialization into ctor
2017-01-30 11:40:23 +01:00
Anatol Belski
2a5a310446
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix system id initialization for multiple threads
2017-01-30 01:57:27 +01:00
Anatol Belski
2b7e5468c9
fix system id initialization for multiple threads
2017-01-30 01:54:36 +01:00
Jakub Zelenka
1dab39b9aa
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-29 20:44:51 +00:00
Jakub Zelenka
df16579642
Try fpm path for testing in sbin as it is default target
2017-01-29 20:43:58 +00:00
Joe Watkins
366f838483
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:53 +00:00
jhdxr
2fcf1259c6
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:05 +00:00
Joe Watkins
19fff2ece6
[ci skip] news entry for Fixed bug #73987
2017-01-28 06:46:43 +00:00
Pedro Magalhães
c11b2b809d
Added tests demonstrating the same effect with abstracts
2017-01-28 06:28:14 +00:00
Pedro Magalhães
b67eb3440b
Inheritance checks should not ignore parents if these implement an interface
2017-01-28 06:28:10 +00:00
Joe Watkins
bf914ff75a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix 00version.phpt when commit message has multiple lines.
2017-01-26 11:36:36 +00:00
Mitch Hagstrand
a3d3f76827
Fix 00version.phpt when commit message has multiple lines.
...
The environment variable "TRAVIS_COMMIT_MESSAGE" can contain multiple lines.
An example can be seen here https://travis-ci.org/php/php-src/jobs/195465293
2017-01-26 11:36:24 +00:00
Joe Watkins
2d339fa4d1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
2017-01-26 09:04:25 +00:00
andrewnester
f65ae82c55
Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
2017-01-26 09:03:47 +00:00
Joe Watkins
76a7470160
Fixed bug #73994 incorrect arginfo for unpack
2017-01-26 06:58:08 +00:00
Joe Watkins
e5a6de6b9d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] news entry for PR #2337
2017-01-26 05:51:35 +00:00
Joe Watkins
a15c1990eb
[ci skip] news entry for PR #2337
2017-01-26 05:50:46 +00:00
Joe Watkins
f6f2855ecd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
Added (failing) testcase for bug #54382
2017-01-25 20:59:37 +00:00
Arnout Boks
721a189742
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
...
The fix is based on the same strategy for handling namespace
declarations as used by getAttributeNode. Note that this strategy makes
these methods not return a DOMAttr for xmlns* attributes, but an
instance of the (undocumented) class DOMNameSpaceNode. This is not
really ideal, but at least this fix makes the behavior of
getAttributeNode and getAttributeNodeNS consistent.
A follow-up action would be to investigate whether DOMNameSpaceNode can
be made into a subclass of DOMAttr (which may be hard due to the way
libxml treats namespace declarations) or document this deviating return
value for xmlns* attributes.
2017-01-25 20:59:25 +00:00
Arnout Boks
737ee0661c
Added (failing) testcase for bug #54382
2017-01-25 20:59:23 +00:00
Jakub Zelenka
519b0dc886
Fix bug #73978 (openssl_decrypt triggers bug in PDO)
2017-01-25 19:55:05 +00:00
Bob Weinand
d0272ef1ef
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-25 13:01:10 +01:00
Bob Weinand
c44efbbbb1
Fix copying too much leading to potential segfault
2017-01-25 13:00:48 +01:00
Anatol Belski
ec78507bd4
dirname() should not normalize paths
...
This is the BC piece with the case where dirname() is used with an URL.
2017-01-24 17:56:00 +01:00
Anatol Belski
403f352482
make length check more robust
2017-01-24 13:24:11 +01:00
Joe Watkins
9aad38038e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #69865 php-fpm does not close stderr when using syslog
2017-01-23 16:56:08 +00:00
Michael Wallner
80a851b4dd
Fix Bug #69865 php-fpm does not close stderr when using syslog
2017-01-23 16:55:15 +00:00
Antony Dovgal
9d7054693e
use correct shift and fix slowlog bt in 7.1
2017-01-23 14:50:09 +03:00
Joe Watkins
5589df128c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move decl to correct place
2017-01-23 05:34:21 +00:00
Joe Watkins
d636467937
move decl to correct place
2017-01-23 05:33:58 +00:00
Joe Watkins
8bda542064
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called
2017-01-22 16:11:57 +00:00
andrewnester
6f912f7c04
Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called
2017-01-22 16:11:25 +00:00
Christoph M. Becker
4af464a0df
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add regression test for bug #47946
2017-01-22 15:02:59 +01:00
Christoph M. Becker
71efe9d8fd
Add regression test for bug #47946
...
This bug had already been fixed, but apparently there's no regression
test yet, so we add one.
Note that the expected image has black pixel artifacts, which are
another issue (perhaps bug #40158 ), and would have to be adressed
separately.
2017-01-22 15:01:01 +01:00
Joe Watkins
55393e26a5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix intermittent segfault in GD library
2017-01-22 06:41:07 +00:00
Mitch Hagstrand
e56fe7e5e7
Fix intermittent segfault in GD library
...
The gdIOCtx struct should be zero filled with ecalloc.
emalloc does not zero fill the struct.
2017-01-22 06:40:55 +00:00
Christoph M. Becker
722375c603
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add myself as primary maintainer of GD
2017-01-21 18:53:43 +01:00
Christoph M. Becker
42d53f3bc0
Add myself as primary maintainer of GD
2017-01-21 18:52:34 +01:00
Christoph M. Becker
7a2497b2c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73968 : Premature failing of XBM reading
2017-01-21 13:18:54 +01:00
Christoph M. Becker
f67d599a01
Fix #73968 : Premature failing of XBM reading
...
We must take into account the line padding, when we're reading XBM
files.
We deliberately ignore the potential integer overflow here, because
that would be caught by gdImageCreate() or even earlier if `bytes==0`,
what happens in libgd00094.phpt which we adapt accordingly.
2017-01-21 13:04:36 +01:00
Joe Watkins
1ff27053f9
Fix bug #73961 environmental build dependency in hash sha3 source
2017-01-21 07:45:28 +00:00
Anatol Belski
3020be675a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
backport 51e1da6ea1 into 7.0
2017-01-21 02:57:54 +01:00
Anatol Belski
8da8756312
backport 51e1da6ea1 into 7.0
2017-01-21 02:56:15 +01:00
Anatol Belski
51e1da6ea1
exclude debug code
2017-01-21 02:17:06 +01:00
Anatol Belski
6b6122a957
ensure the string for conversion is \0 terminated and integrade
...
additional path length check
2017-01-21 02:11:24 +01:00
Anatol Belski
95406c878a
Fixed bug #73962 bug with symlink related to cyrillic directory
2017-01-20 23:45:08 +01:00
Joe Watkins
d6feb2edbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:11:49 +00:00
andrewnester
21ac79e94b
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:10:55 +00:00
Remi Collet
d6c9f91e2e
NEWS
2017-01-20 17:46:41 +01:00
Remi Collet
7ea7d3d829
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixed bug #73965 DTrace reported as enabled when disabled
2017-01-20 17:46:24 +01:00
Remi Collet
2e3d68ed1b
NEWS
2017-01-20 17:46:11 +01:00
Remi Collet
f81b7df618
Fixed bug #73965 DTrace reported as enabled when disabled
2017-01-20 17:45:15 +01:00
SjonHortensius
631861e1fa
Update comment, incorrect since 224aaf94
...
In 224aaf94; the warning was enabled; making the comment above incorrect. I've updated the comment to reflect the current code
2017-01-19 10:48:54 +00:00
Xinchen Hui
5e09031144
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed another part in ldap (bug #73933 )
2017-01-19 12:23:56 +08:00
Xinchen Hui
cad2598fcb
Fixed another part in ldap (bug #73933 )
2017-01-19 12:23:23 +08:00
Ferenc Kovacs
2efb63bf00
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-19 01:22:10 +01:00
Ferenc Kovacs
8c75dbc498
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-19 01:20:57 +01:00
Ferenc Kovacs
cf649f59cb
update NEWS
2017-01-19 01:16:31 +01:00
Nikita Popov
fec3a65ba4
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-18 21:20:00 +01:00
Mitch Hagstrand
8ba6d622e5
Removing zmemcheck from .gdbinit
...
It doesn't seem to make sense anymore
2017-01-18 21:19:48 +01:00
Joe Watkins
6d89640d55
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73949 leak in mysqli_fetch_object
2017-01-18 18:23:59 +00:00
Joe Watkins
f9226f9bf3
Fix bug #73949 leak in mysqli_fetch_object
2017-01-18 18:22:57 +00:00
Joe Watkins
bbe21ccf38
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove remnants of TSMRLS_* macro calls
2017-01-18 17:46:11 +00:00
Thomas Punt
fb8486f3bd
Remove remnants of TSMRLS_* macro calls
2017-01-18 17:42:45 +00:00
Joe Watkins
bce548d8e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
DNS CAA record type implementation and tests for https://bugs.php.net/bug.php?id=73850
2017-01-18 17:23:29 +00:00
Marcus Bointon
280e9cb28d
DNS CAA record type implementation and tests for https://bugs.php.net/bug.php?id=73850
2017-01-18 17:23:08 +00:00
Leigh
85589ca660
Add php_openssl_store_errors to bailouts
2017-01-18 15:02:52 +00:00
Leigh
d2f07edf71
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-18 14:47:49 +00:00
Leigh
e7e96fe2e0
Change free to OPENSSL_free
2017-01-18 14:45:41 +00:00
Remi Collet
7673c9847b
NEWS
2017-01-18 13:02:33 +01:00
Remi Collet
2ce8a4cf87
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fix #73956 Link use CC instead of CXX
2017-01-18 13:02:19 +01:00
Remi Collet
6af7753e36
NEWS
2017-01-18 13:02:03 +01:00
Remi Collet
6af22d0d3e
Fix #73956 Link use CC instead of CXX
2017-01-18 13:00:49 +01:00
Thomas Punt
9977bdf9b3
Remove more TSRMLS_CC macros
2017-01-18 10:00:15 +00:00
Joe Watkins
43612e9593
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix ce comparison
2017-01-18 05:06:07 +00:00
Thomas Punt
a22f181736
Fix ce comparison
2017-01-18 05:05:53 +00:00
Joe Watkins
4edaa3f1e7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
updates to release docs
2017-01-17 20:33:44 +00:00
Joe Watkins
e00c2f335c
updates to release docs
2017-01-17 20:33:25 +00:00
Joe Watkins
13e6dacb6b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes in .gdbinit for ZE 3
2017-01-17 17:07:53 +00:00
Mitch Hagstrand
db894fa6aa
Fixes in .gdbinit for ZE 3
...
1. Fixed print_pi function
2. Fixed printing properties in ____printzv_contents
3. Added optional max length parameter in ____print_str
2017-01-17 17:07:31 +00:00
Anatol Belski
1e225a6115
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-01-17 10:57:56 +01:00
Anatol Belski
3f960255f4
[ci skip] sync NEWS
2017-01-17 10:56:17 +01:00
Anatol Belski
cea050b8da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73869 : Signed Integer Overflow gd_io.c
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
2017-01-17 09:35:26 +01:00
Anatol Belski
5d07438cb3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #73869 : Signed Integer Overflow gd_io.c
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
2017-01-17 09:33:51 +01:00
Christoph M. Becker
d2274b01cb
Fix #73869 : Signed Integer Overflow gd_io.c
...
GD2 stores the number of horizontal and vertical chunks as words (i.e. 2
byte unsigned). These values are multiplied and assigned to an int when
reading the image, what can cause integer overflows. We have to avoid
that, and also make sure that either chunk count is actually greater
than zero. If illegal chunk counts are detected, we bail out from
reading the image.
(cherry picked from commit 5b5d9db3988b829e0b121b74bb3947f01c2796a1)
2017-01-17 09:30:58 +01:00
Christoph M. Becker
f1b2afc9d9
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
...
We must not pretend that there are image data if there are none. Instead
we fail reading the image file gracefully.
(cherry picked from commit cdb648dc4115ce0722f3cc75e6a65115fc0e56ab)
2017-01-17 09:30:43 +01:00
Xinchen Hui
abe094dde8
Update NEWS
2017-01-17 15:35:29 +08:00
Xinchen Hui
e180e45a18
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
2017-01-17 15:35:06 +08:00
Xinchen Hui
b28c2e20ca
Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
2017-01-17 15:34:19 +08:00
Stanislav Malyshev
05f2f730e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73648 - integer overflow in substr
2017-01-16 12:14:03 -08:00
Stanislav Malyshev
d1d002fc4d
Fix bug #73648 - integer overflow in substr
2017-01-16 12:11:50 -08:00
Nikita Popov
29433f9fd5
Make unserialize() ref unwrapping compatible with 7.0
...
Also fix output difference in merged test (unrelated).
2017-01-16 14:25:58 +01:00
Nikita Popov
590ef15f6a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-16 14:12:10 +01:00
Nikita Popov
e0ca519a8b
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-16 14:11:41 +01:00
Nikita Popov
6477bb724e
Add additional serialize tests for fixed bugs
...
These have been fixed as a side-effect of the delayed __wakeup
patch.
2017-01-16 13:24:13 +01:00
Stanislav Malyshev
34d6b63501
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73634 - grapheme_strpos illegal memory access
Fix typo
2017-01-16 01:18:50 -08:00
Stanislav Malyshev
6736527aeb
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix typo
2017-01-16 01:18:38 -08:00
Stanislav Malyshev
8c44d07fd4
Fix bug #73634 - grapheme_strpos illegal memory access
2017-01-16 01:18:16 -08:00
Stanislav Malyshev
50b38322b9
Fix typo
2017-01-16 00:23:06 -08:00
Joe Watkins
bac4c97602
Fix bug #73939 memory allocation in signal handler when HAVE_STRUCT_SIGINFO_T
2017-01-16 04:32:27 +00:00
Joe Watkins
d11bed5909
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test ini_set with invalid time zone
2017-01-16 04:13:26 +00:00
Niklas Keller
cc9893eb44
Add test ini_set with invalid time zone
...
Wasn't covered before according to gcov.php.net.
2017-01-16 04:13:01 +00:00
Stanislav Malyshev
ca6f679417
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test
2017-01-15 18:42:44 -08:00
Stanislav Malyshev
2c7909697a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix test
2017-01-15 18:42:33 -08:00
Stanislav Malyshev
814966ad33
Fix test
2017-01-15 18:42:22 -08:00
Stanislav Malyshev
19e80ef496
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update more functions with path check
2017-01-15 17:32:37 -08:00
Stanislav Malyshev
43d0f2abc5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update more functions with path check
2017-01-15 17:32:26 -08:00
Stanislav Malyshev
0ab1af7d3e
Update more functions with path check
2017-01-15 17:31:08 -08:00
Anatol Belski
bd0569e287
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix AppVeyor failures with Opcache enabled
2017-01-15 21:18:48 +01:00
Anatol Belski
4f19bb7af6
fix AppVeyor failures with Opcache enabled
...
opcache_reset() only schedules the restart. Under circumstances,
the follow up requests might run uncached, until the restart
condition is met. To mitigate the false positives caused by this
behavior, any tests using opcache_reset() should not be put in
between other tests. Thus, moving the corresponding test to be
executed last.
2017-01-15 21:13:15 +01:00
Nikita Popov
6674f81027
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-14 14:13:42 +01:00
Yordan Gigov
60aff0bd30
Fixed bug #69993
2017-01-14 14:13:15 +01:00
Tom Sommer
e77a1dbe40
Fix bug #69061
...
Make mail.log append correct PHP_EOL and remove timestamp when
sending to syslog.
2017-01-14 13:53:09 +01:00
Andrey Andreev
4bf7ef0806
Add hash_hkdf()
2017-01-14 13:28:21 +01:00
Joe Watkins
687b02789e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added test for "opcache: print restart reason" to basic_logging.phpt
2017-01-14 07:33:08 +00:00
Mitch Hagstrand
fbf655afbd
Added test for "opcache: print restart reason" to basic_logging.phpt
2017-01-14 07:32:55 +00:00
Alexander Polyakov
a4accc0e3e
opcache: print restart reason
2017-01-13 21:34:11 +00:00
Alexander Polyakov
d79b82d8ae
opcache: print restart reason
2017-01-13 21:33:58 +00:00
Anatol Belski
929819aaac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix remaining tests for Opcache runs
2017-01-13 17:21:01 +01:00
Anatol Belski
aaaef22db6
fix remaining tests for Opcache runs
...
The fail reason here is the TMP change while both top and test
run same binary with opcache enabled.
2017-01-13 17:16:15 +01:00
Anatol Belski
a7b20894e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
ensure the end path wouldn't contain double slashes
2017-01-13 16:54:10 +01:00
Anatol Belski
8e993b427c
ensure the end path wouldn't contain double slashes
2017-01-13 16:50:05 +01:00
Anatol Belski
2ae5f2d1a5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
templatize the resource number
2017-01-13 15:48:33 +01:00
Anatol Belski
3500262b7d
templatize the resource number
2017-01-13 15:45:35 +01:00
Anatol Belski
e7c3f44958
refix test
2017-01-13 15:31:10 +01:00
Anatol Belski
8d1aab2aee
fix test
...
Same as before actulaly - the host process running with Opcache
enabled, all the intermediate scripts land in cache. So the count
can be variable, maybe even better to just test for > 0.
2017-01-13 14:40:31 +01:00
Anatol Belski
527bf4d8e6
Fix test runs with Opcache enabled PHP on top
...
Writing to the same file, while it's cached, is an issue.
2017-01-13 14:37:37 +01:00
Joe Watkins
19363de12f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase wait time for tests involving sockets to improve Travis relability
2017-01-13 06:45:17 +00:00
Mitch Hagstrand
fd92b91188
Increase wait time for tests involving sockets to improve Travis relability
...
1. Increased sleep time from 25ms to 50ms
2. Added sleep to shutdown handlers
2017-01-13 06:45:04 +00:00
Xinchen Hui
b25be216c1
Remove redundant reference handling
2017-01-13 13:05:22 +08:00
Xinchen Hui
18f4ff4131
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)
2017-01-13 13:04:53 +08:00
Xinchen Hui
04379bcb1d
Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)
2017-01-13 13:04:37 +08:00
Anatol Belski
e6632ce377
update NEWS
2017-01-12 22:45:18 +01:00
Anatol Belski
aacba43056
Fixed #72898 PHP_FCGI_CHILDREN is not included in phpinfo()
2017-01-12 22:06:03 +01:00
Nikita Popov
da5e09ad03
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-12 21:15:57 +01:00
rfussenegger
bd75f9e613
Fix bug #69899
2017-01-12 21:13:39 +01:00
Anatol Belski
af2de536d3
update NEWS
2017-01-12 18:59:36 +01:00
Leigh
4f7b498d12
Fixed bug #73374
...
Add "0b" prefix detection to intval($str, 0). The implementation
is relatively complicated because we need to handle whitespace and
sign.
2017-01-12 18:53:28 +01:00
Anatol Belski
e65760f878
Fixed bug #73904 php-cgi fails to load -c specified php.ini file
2017-01-12 17:25:26 +01:00
Mitch Hagstrand
1ee1f79e27
Fixed bug #72680 gdbinit print_cvs not prepared for PHP 7
2017-01-12 09:10:12 +00:00
Joe Watkins
6fbd61a819
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
added a note to opache.fast_shutdown why its not enabled by default in php.ini
2017-01-11 11:18:26 +00:00
Markus Staab
ef42f49470
added a note to opache.fast_shutdown why its not enabled by default in php.ini
2017-01-11 11:18:10 +00:00
Joe Watkins
b2782c6dc5
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
Fix glob-wrapper.phpt to not fail in Windows
Fix #73893 : A hidden danger of death cycle in a function of gd
2017-01-11 08:12:51 +00:00
Joe Watkins
6d797630ab
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
Add support for "xfail" to phpt SKIPIF sections
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
Fix glob-wrapper.phpt to not fail in Windows
Set a session path for this test
Fix #73893 : A hidden danger of death cycle in a function of gd
Missing %s
Ok, maybe Nikita is right. We should default this on.
Missed one. This needs gc as well
These tests expect gc to be enabled
2017-01-11 08:12:40 +00:00
Joe Watkins
d5553b97d2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #71219 configure script incorrectly checks for ttyname_r
2017-01-11 08:10:47 +00:00
Joe Watkins
51d487786c
Fixed bug #71219 configure script incorrectly checks for ttyname_r
2017-01-11 08:09:10 +00:00
Nikita Popov
5999874886
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:44:45 +01:00
Robrecht Plaisier
d9cd2876d9
Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
2017-01-10 23:42:44 +01:00
Nikita Popov
5cee9dfe9a
Add support for "xfail" to phpt SKIPIF sections
...
If SKIPIF output starts with "xfail" instead of "skip", the test
will be marked as XFAIL with the following message. Example:
--TEST--
Test xfailif feature
--SKIPIF--
<?php
if (some_cond()) die('xfail Expected to fail!');
?>
--FILE--
...
2017-01-10 23:32:03 +01:00
Nikita Popov
908ad3cc80
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:29:43 +01:00
Arnout Boks
13edec75a3
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
2017-01-10 23:29:02 +01:00
Nikita Popov
79c0cef8ca
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:25:07 +01:00
Arnout Boks
07340553a5
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
...
It seems fair to remove this warning, given that:
* it is not documented in the official documentation
* the $specified property, which has a similar 'not implemented' status,
also does not trigger a warning
* it apparently hinders quite a lot of people during debugging, judging by
the number of votes on the bug
2017-01-10 23:24:34 +01:00
Nikita Popov
d1bb306530
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:19:30 +01:00
Nikita Popov
291e3f0762
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-10 23:19:19 +01:00
Mitch Hagstrand
ad9c552b12
Fix glob-wrapper.phpt to not fail in Windows
2017-01-10 23:18:52 +01:00
Rasmus Lerdorf
c7ef178e86
Set a session path for this test
2017-01-10 15:18:26 -05:00
Christoph M. Becker
fc46003666
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73893 : A hidden danger of death cycle in a function of gd
2017-01-10 20:13:16 +01:00
Christoph M. Becker
15837bab8c
Fix #73893 : A hidden danger of death cycle in a function of gd
...
We remove the unused, but potentially dangerous functions.
2017-01-10 19:52:06 +01:00
Rasmus Lerdorf
9fce263f3b
Missing %s
2017-01-10 13:50:49 -05:00
Rasmus Lerdorf
08c7ff0df4
Ok, maybe Nikita is right. We should default this on.
2017-01-10 12:16:45 -05:00
Rasmus Lerdorf
ffd870f63d
Missed one. This needs gc as well
2017-01-10 12:07:47 -05:00
Rasmus Lerdorf
47fcb75a90
These tests expect gc to be enabled
2017-01-10 11:54:49 -05:00
Joe Watkins
3c23d1b6d5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
pull-request/1807: test for dns_get_record
2017-01-10 13:56:49 +00:00
Joe Watkins
6a9efa2d3e
Merge branch 'pull-request/1807' into PHP-7.0
...
* pull-request/1807:
test for dns_get_record
2017-01-10 13:56:26 +00:00
marcosptf
dcaed51ba0
pull-request/1807:
...
test for dns_get_record
2017-01-10 13:55:31 +00:00
Joe Watkins
4cddc85c1f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer
2017-01-10 11:51:39 +00:00
Ondřej Surý
1bdffee820
Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer
2017-01-10 11:51:27 +00:00
Joe Watkins
aadc84f6f7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73902 mention router support in usage output for php-cli
2017-01-10 06:20:56 +00:00
Joe Watkins
125ee6a68e
Fixed #73902 mention router support in usage output for php-cli
2017-01-10 06:19:34 +00:00
Sara Golemon
005ba2001d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix open_basedir check for glob:// opendir wrapper
2017-01-09 16:08:08 -08:00
Sara Golemon
69fbe3a9ad
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix open_basedir check for glob:// opendir wrapper
2017-01-09 16:07:33 -08:00
Nikita Popov
9cc34c4e3e
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 00:09:02 +01:00
Nikita Popov
69058f35f8
Un-XFAIL serialization test
2017-01-10 00:07:38 +01:00
Nikita Popov
aab3f784d0
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:29:33 +01:00
Leigh
14c72cc582
Fix check for linux getrandom syscall
2017-01-09 23:29:07 +01:00
Nikita Popov
61af3ed38a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:22:59 +01:00
Mitch Hagstrand
9ad3413190
Add print zend string function to gdbinit
2017-01-09 23:22:49 +01:00
Nikita Popov
4d18591e59
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:20:29 +01:00
Dmitry Stogov
9a159f37e1
Improved GENERATOR_CREATE opcode handler.
2017-01-09 22:24:21 +03:00
Sara Golemon
7e49e8e797
Fix open_basedir check for glob:// opendir wrapper
...
php_check_open_basedir() expects a local filesystem path,
but we're handing it a `glob://...` URI instead.
Move the check to after the path trim so that we're checking
a meaningful pathspec.
2017-01-09 11:02:50 -08:00
Joe Watkins
28f2959b83
Revert "set more suitable defaults for opcache in ini and code"
...
This reverts commit b655f2d632 .
This has been deemed unsuitable for 7.0
2017-01-09 17:08:07 +00:00
Joe Watkins
c2f25bd188
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update release process notes
2017-01-09 16:21:21 +00:00
Joe Watkins
f1ad170a15
update release process notes
2017-01-09 16:20:48 +00:00
Joe Watkins
c6ba284496
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:59:40 +00:00
Joe Watkins
add4f43f0e
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:59:21 +00:00
Joe Watkins
2992f4164d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix stub to accept user properly
2017-01-09 15:58:09 +00:00
Joe Watkins
ef7e5e0d69
fix stub to accept user properly
2017-01-09 15:57:46 +00:00
Dmitry Stogov
5753a753c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:12:22 +03:00
Dmitry Stogov
4f1b24d974
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:11:33 +03:00
Joe Watkins
71fe529afc
merge PR #2290 : enable opcache in CLI in 7.1+
2017-01-09 11:00:05 +00:00
Joe Watkins
9727e37cae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
set more suitable defaults for opcache in ini and code
2017-01-09 10:56:54 +00:00
Joe Watkins
63e08cbef7
Merge branch 'pull-request/2291' into PHP-7.0
...
* pull-request/2291:
set more suitable defaults for opcache in ini and code
2017-01-09 10:54:57 +00:00
Markus Staab
b655f2d632
set more suitable defaults for opcache in ini and code
2017-01-09 10:53:23 +00:00
Xinchen Hui
697809d425
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2017-01-09 16:30:48 +08:00
Xinchen Hui
f7cb79431f
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2017-01-09 16:30:00 +08:00
Joe Watkins
bf6eb65673
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72979 money_format stores wrong length on AIX
2017-01-09 05:32:50 +00:00
Joe Watkins
8dd523a216
Fixed bug #72979 money_format stores wrong length on AIX
2017-01-09 05:31:41 +00:00
Joe Watkins
0738a78c59
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update ip2long_varation2 test to skip for AIX, see bug #72973
2017-01-09 05:25:17 +00:00
Joe Watkins
8c653c163a
update ip2long_varation2 test to skip for AIX, see bug #72973
2017-01-09 05:24:44 +00:00
Joe Watkins
6166a0d68d
[ci skip] news entry for issue #72974
2017-01-09 05:20:42 +00:00
Joe Watkins
c39f71ba9f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #72974 imap is undefined service on AIX
2017-01-09 05:15:34 +00:00
Joe Watkins
b8215c0817
Fixed #72974 imap is undefined service on AIX
2017-01-09 05:15:21 +00:00
Joe Watkins
3b8dc330bf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix FTP tests for Travis CI.
2017-01-09 00:36:57 +00:00
Mitch Hagstrand
47007455dc
Fix FTP tests for Travis CI.
...
This suppresses the errors from stream_socket_server() until
server.inc will not make anymore attempts.
2017-01-09 00:36:39 +00:00
Anatol Belski
d454730407
improve and generalize the recognition of a cli sapi
2017-01-08 23:54:58 +01:00
Joe Watkins
c846daef28
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use proper file extension for the README
2017-01-08 21:05:24 +00:00
Markus Staab
5b5483dc8e
Use proper file extension for the README
2017-01-08 21:05:06 +00:00
Joe Watkins
230b387e8a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix 404 links in Litespeed README - Bug 73890
2017-01-08 20:28:05 +00:00
Peter Kokot
7f1247004e
Fix 404 links in Litespeed README - Bug 73890
2017-01-08 20:27:48 +00:00
Anatol Belski
9a4a023771
update NEWS
2017-01-08 20:13:27 +01:00
Anatol Belski
1aa792b44b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-01-08 20:12:53 +01:00
Anatol Belski
c75287dc85
update NEWS
2017-01-08 20:11:02 +01:00
Joe Watkins
8961c78524
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve FPM tests (mostly for systemd build)
2017-01-08 19:03:10 +00:00
Remi Collet
eb02876e74
improve FPM tests (mostly for systemd build)
2017-01-08 19:02:50 +00:00
Anatol Belski
1f22daeb0f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ast] Fix exporting **= in expansion of assign op
2017-01-08 18:54:28 +01:00
Sara Golemon
5df97b339e
[ast] Fix exporting **= in expansion of assign op
...
(cherry picked from commit 9c3865eb6a )
2017-01-08 18:43:47 +01:00
Nikita Popov
b38e6a54cf
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-08 13:48:48 +01:00
Nikita Popov
b36f4ac708
deflate_add(): Don't add unnecessary +1 to size
...
zend_string_realloc will do this by itself.
2017-01-08 13:47:20 +01:00
Anatol Belski
329d487e68
update NEWS
2017-01-08 01:22:00 +01:00
Anatol Belski
43b92ed5a8
move various places to the centralized OpenSSL setup routine
2017-01-08 00:25:47 +01:00
Anatol Belski
bf14ecc0d8
use the new API for opaque symbol in OpenSSL 1.1.x
2017-01-08 00:25:46 +01:00
Anatol Belski
df1e1fdcb9
implement basic config support for OpenSSL 1.1.x
2017-01-08 00:25:46 +01:00
Nikita Popov
ac46909162
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-08 00:02:33 +01:00
Nikita Popov
ec1b7b933d
Fix OOB read introduced by previous commit
...
Ooops...
2017-01-08 00:01:05 +01:00
Nikita Popov
d48ff0f3f5
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-07 23:55:48 +01:00
Rowan Collins
5146d9f8ac
http_fopen_wrapper.c - Handle HTTP headers with varying white space
...
The stream handler assumed all HTTP headers contained exactly one space,
but the standard says there may be zero or more. Should fix Bug #47021 ,
and any other edge cases caused by a web server sending unusual spacing,
e.g. the MIME type discovered from Content-Type: can no longer contain
leading whitespace.
We strip trailing whitespace from the headers added into
$http_response_header as well.
2017-01-07 23:54:57 +01:00
Nikita Popov
bb2ab75555
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-07 22:54:16 +01:00
Nikita Popov
a46bbdda2e
Fixed bug #67583
...
As fcgi_request is an opaque struct as of PHP 7, expose a new API
function fcgi_end() which does fcgi_flush() with end=1 and checks/
sets the ->ended flag.
2017-01-07 22:53:28 +01:00
Nikita Popov
f346bd6ee6
Rename fcgi_request.closed to .ended
...
"closed" refers to whether FCGI_END_REQUEST has been sent, while
the "close" operation does something entirely different. It gets
extra confusing when fcgi_is_closed() does not actually return
fcgi_request.closed...
2017-01-07 22:45:19 +01:00
Joe Watkins
201e56cd04
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Adapts the readme to the new test-possibility
2017-01-07 16:46:01 +00:00
Joe Watkins
2cb8950cc2
Merge branch '1391' into PHP-7.0
...
* 1391:
Adapts the readme to the new test-possibility
2017-01-07 16:45:33 +00:00
Andreas Heigl
fc777296bf
Adapts the readme to the new test-possibility
...
This commit introduces a way to use a vagrant setup to test against a
known LDAP without the need to setup an LDAP on your own machine
2017-01-07 16:45:10 +00:00
Anatol Belski
901a551bda
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Implement github PR #1736
2017-01-07 15:40:00 +01:00
Anatol Belski
486fc0424a
Implement github PR #1736
...
This fixes leak issues on *BSD systems, as described in the PR.
2017-01-07 15:36:14 +01:00
Anatol Belski
2fed175780
update UPGRADING
2017-01-07 12:46:45 +01:00
Anatol Belski
9845155aa2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix wrong version
extend UPGRADING
2017-01-07 12:44:56 +01:00
Anatol Belski
80a5ae4f53
fix wrong version
2017-01-07 12:43:56 +01:00
Anatol Belski
49a0c166f3
extend UPGRADING
2017-01-07 12:43:19 +01:00
Anatol Belski
bba09d56e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add 'e' flag for fopen() to enable CLOEXEC
2017-01-07 12:36:09 +01:00
Evgeniy Makhrov
d0279242ce
add 'e' flag for fopen() to enable CLOEXEC
2017-01-07 12:10:51 +01:00
Joe Watkins
5ae45ef993
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:15:15 +00:00
Joe Watkins
b351ec8baf
Merge branch 'pull-request/2283' into PHP-7.0
...
* pull-request/2283:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:14:36 +00:00
Leigh
21f287915c
Remove superfluous variable reinit
2017-01-07 09:43:05 +00:00
Joe Watkins
58273f631b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
PR #2211 don't supress warnings in tests
2017-01-07 08:08:09 +00:00
Joe Watkins
574f7bc3d4
Merge branch '2211' into PHP-7.0
...
* pull-request/2211:
PR #2211 don't supress warnings in DOM tests
2017-01-07 08:07:17 +00:00
Craig Duncan
98c2cd4311
PR #2211 don't supress warnings in tests
2017-01-07 08:06:38 +00:00
Joe Watkins
f60ebd13b3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes for session and fpm tests in PHP7.0 branch
2017-01-07 07:10:46 +00:00
Joe Watkins
41c1d0291c
Merge branch 'pull-request/2284' into PHP-7.0
...
* pull-request/2284:
Fixes for session and fpm tests in PHP7.0 branch
2017-01-07 07:10:23 +00:00
Mitch Hagstrand
3401f553b9
Fixes for session and fpm tests in PHP7.0 branch
...
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Disabled session GC in session_set_save_handler_basic.phpt
3. Fixed GC in save_handler.inc to delete files based on age
2017-01-06 19:55:57 -08:00
Anatol Belski
22ed374c9a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
/guard is also a security flag
2017-01-07 02:48:14 +01:00
Anatol Belski
f98d8f6c15
/guard is also a security flag
2017-01-07 02:25:00 +01:00
Anatol Belski
f7bb3b5cbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1
2017-01-07 02:05:37 +01:00
Mitch Hagstrand
4568618030
Revert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1
...
This reverts commit e55e93a1e3 .
This change should only apply to master. Not PHP-7.0 or PHP-7.1
2017-01-07 02:04:03 +01:00
Anatol Belski
b716a1fbef
fix edge case leak
2017-01-07 01:15:49 +01:00
Anatol Belski
0f410f8087
Fixed bug #73877 readlink() returns garbage for UTF-8 paths
2017-01-07 01:09:17 +01:00
Anatol Belski
f8518ba1a1
fix typo
2017-01-06 18:55:12 +01:00
Anatol Belski
043d10c345
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix typo
2017-01-06 18:54:50 +01:00
Anatol Belski
71e84e2c36
fix typo
2017-01-06 18:53:30 +01:00
Anatol Belski
dccfd8ee18
update NEWS and UPGRADING
2017-01-06 18:39:47 +01:00
Anatol Belski
841689cafe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS and UPGRADING
2017-01-06 18:37:50 +01:00
Anatol Belski
1516132167
update NEWS and UPGRADING
2017-01-06 18:32:33 +01:00
Anatol Belski
847e1f97da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Return integer field types as native integers instead of strings
2017-01-06 18:12:52 +01:00
Dorin Marcoci
826122fa8e
Return integer field types as native integers instead of strings
...
Use another define for better compatibility
Test case for #72583 Feature. Small optimisations.
Adjust conditional directives according to coding standards
Add more compatibility for "end of line" on multiple environements
Updated execute.phpt test after switching to integer mapping
2017-01-06 17:43:46 +01:00
Joe Watkins
c50f61b9b0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test request47456.phpt for PR 1303
2017-01-06 16:22:58 +00:00
Mitch Hagstrand
e55e93a1e3
Test request47456.phpt for PR 1303
...
After merging PR 1303 unmatched subpatterns are set to NULL
2017-01-06 16:22:11 +00:00
Joe Watkins
699ab98f9d
fix build broken by #2124
2017-01-06 16:18:24 +00:00
Joe Watkins
46c800948e
fix acinclude, messed up by bad merge #2124
2017-01-06 16:13:21 +00:00
Joe Watkins
91cf3269c2
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fix #70103 : Fix bug 70103 when ZTS is enabled
2017-01-06 16:07:12 +00:00
Joe Watkins
e114e94c5f
fix broken build scripts #2124
2017-01-06 16:06:48 +00:00
Leigh
62e9e1fecd
Some commentary, change free method
2017-01-06 15:49:15 +00:00
Leigh
9a0dac124e
Conditionally free depending on how assignment happened
2017-01-06 15:24:37 +00:00
Leigh
053b966134
Fix memleaks from #1755 and some pre-existing ones
2017-01-06 14:58:54 +00:00
Christoph M. Becker
cc75e8bca5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70103 : Fix bug 70103 when ZTS is enabled
2017-01-06 15:44:31 +01:00
Mitch Hagstrand
ad08aa3956
Fix #70103 : Fix bug 70103 when ZTS is enabled
...
Used snprintf to copy the basename string before it is freed
2017-01-06 15:26:17 +01:00
Joe Watkins
ec0daf7913
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use AX_CHECK_COMPILE_FLAG macro to check for -fvisibility=hidden
2017-01-06 08:14:29 +00:00
Joe Watkins
ba0751a915
Merge branch 'pull-request/1809'
...
* pull-request/1809:
test for function curl_multi_info_read();
2017-01-06 08:06:38 +00:00
Joe Watkins
3d50172e9e
Merge branch 'pull-request/1809'
...
* pull-request/1809:
test for function curl_multi_info_read();
2017-01-06 08:06:10 +00:00
Joe Watkins
2d42423953
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:43:59 +00:00
Joe Watkins
0884cffb67
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:42:57 +00:00
Joe Watkins
1c40eaaee4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add stream_socket_sendto test from PR #1804
2017-01-06 07:28:56 +00:00
Joe Watkins
3a79f35fdc
add stream_socket_sendto test from PR #1804
2017-01-06 07:27:31 +00:00
Joe Watkins
e86d355c4c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #69442 closing of fd incorrect when PTS enabled
2017-01-06 06:58:56 +00:00
Joe Watkins
ff6b309c6f
Merge branch 'pull-request/1588' into PHP-7.0
...
* pull-request/1588:
Fixed #69442 closing of fd incorrect when PTS enabled
2017-01-06 06:56:50 +00:00
Joe Watkins
811dfaa57b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #69582 session not readable by root in CLI
2017-01-06 06:07:17 +00:00
Joe Watkins
b0ff9ee688
Merge branch 'pull-request/1360' into PHP-7.0
...
* pull-request/1360:
Fixed bug #69582 session not readable by root in CLI
news entry for PR #1360
2017-01-06 06:05:17 +00:00
Joe Watkins
de3649e2a3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix inappropriate warning in FPM log
2017-01-06 05:55:14 +00:00
Joe Watkins
6a03b43e5f
Merge branch 'pull-request/1311' into PHP-7.0
...
* pull-request/1311:
fix inappropriate warning in FPM log
2017-01-06 05:54:42 +00:00
Joe Watkins
3f89aec716
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
news entry for PR #1430
2017-01-06 05:40:41 +00:00
Joe Watkins
a49aaf9ab0
Merge branch 'pull-request/1430' into PHP-7.0
...
* pull-request/1430:
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
news entry for PR 1430
2017-01-06 05:39:48 +00:00
Joe Watkins
a1ff6e7201
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
add skip when json not loaded
2017-01-06 05:33:22 +00:00
Joe Watkins
12bbeaa45e
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
add skip when json not loaded
2017-01-06 05:32:55 +00:00
Joe Watkins
d5a1c5a96b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase realpath_cache_size default value
add UPGRADING note for realpath_cache_size
2017-01-06 05:31:29 +00:00
Joe Watkins
8e39a27b76
Merge branch 'realpath_cache_size_update' into PHP-7.0
...
* realpath_cache_size_update:
Increase realpath_cache_size default value
add UPGRADING note regarding realpath_cache_size
2017-01-06 05:29:50 +00:00
Remi Collet
d18d3e7825
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add skip when json not loaded
2017-01-06 06:27:25 +01:00
Remi Collet
4f1335cd4c
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add skip when json not loaded
2017-01-06 06:27:08 +01:00
Joe Watkins
bebfdec0a2
Merge branch 'realpath_cache_size_update' into PHP-7.0
...
* realpath_cache_size_update:
Increase realpath_cache_size default value
2017-01-06 05:25:49 +00:00
Markus Staab
49b2cbf763
Update php.ini-development
2017-01-06 05:25:13 +00:00
Markus Staab
81fb61f97c
Update php.ini-production
2017-01-06 05:25:10 +00:00
Markus Staab
782b84c6d5
updated default per proposal
...
TODO: adjust php.ini defaults
2017-01-06 05:25:08 +00:00
Markus Staab
66b698c3cf
Increase realpath_cache_size default value
2017-01-06 05:25:04 +00:00
Remi Collet
db890956ec
add skip when json not loaded
2017-01-06 06:23:59 +01:00
Anatol Belski
1f6a9060f9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix deps dir for test data preparations
2017-01-06 02:37:10 +01:00
Anatol Belski
a7c444b939
fix deps dir for test data preparations
2017-01-06 02:34:03 +01:00
Ferenc Kovacs
1ed188011a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-06 01:50:08 +01:00
Ferenc Kovacs
a43a3798d3
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-06 01:48:24 +01:00
Ferenc Kovacs
3b14d7b84b
5.6.31 is next
2017-01-06 01:43:11 +01:00
Anatol Belski
460247c742
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
don't use separate deps for release branches
2017-01-06 01:29:45 +01:00
Anatol Belski
372144508c
don't use separate deps for release branches
2017-01-06 01:24:41 +01:00
Christoph M. Becker
e7ce861def
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70417 : PharData::compress() doesn't close temp file
2017-01-05 18:51:04 +01:00
Christoph M. Becker
183a34a5cf
Merge branch 'pull-request/2278' into PHP-7.0
...
* pull-request/2278:
Fix #70417 : PharData::compress() doesn't close temp file
2017-01-05 18:49:52 +01:00
Joe Watkins
4cce1e9a94
wrong version
2017-01-05 17:00:40 +00:00
Joe Watkins
3b741353e1
I am bad at counting (wrong date in news)
2017-01-05 16:56:26 +00:00
Joe Watkins
e627aa9841
bump version after release
2017-01-05 16:50:52 +00:00
Christoph M. Becker
995ecffbb2
Fix #70417 : PharData::compress() doesn't close temp file
...
According to the comment, it has not been deemed necessary to close compressed
files. However, we don't want to keep unclosed file handles to save ressources.
So we're also closing compressed archives, if they're not aliased.
2017-01-05 14:12:31 +01:00
Anatol Belski
34c1040e22
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
2017-01-05 14:02:43 +01:00
Anatol Belski
57736cc937
Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
...
This reverts commit a8931df672 , reversing
changes made to f2f35a2b27 .
2017-01-05 13:59:01 +01:00
Nikita Popov
769e17ce9b
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-05 11:38:17 +01:00
Nikita Popov
2022dacb99
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-05 11:38:05 +01:00
Nikita Popov
900b17b15f
Fix printf modifier
2017-01-05 11:37:06 +01:00
Joe Watkins
c370024c2c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix php-fpm.service.in
2017-01-05 06:54:37 +00:00
Joe Watkins
b037c43497
Merge branch 'pull-request/1256' into PHP-7.0
...
* pull-request/1256:
Fix php-fpm.service.in
2017-01-05 06:54:19 +00:00
Anatol Belski
b7b3d50f78
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
quick fix for the base branch version parsing, not perfect still
2017-01-05 01:52:37 +01:00
Anatol Belski
2ca5aa9418
quick fix for the base branch version parsing, not perfect still
2017-01-05 01:49:36 +01:00
Anatol Belski
db19cb243e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to next
2017-01-05 01:14:27 +01:00
Anatol Belski
997d902762
move dev to next
2017-01-05 01:12:18 +01:00
Nikita Popov
49d90dcc4d
Add Z_EXTRA macro
...
For use with u2 values which don't deserve a custom macro...
2017-01-05 00:49:19 +01:00
Nikita Popov
8d8e949369
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-05 00:28:21 +01:00
Nikita Popov
b47c49d7a0
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-05 00:24:25 +01:00
Nikita Popov
f697874e3f
Add tests for delayed __wakeup()
2017-01-05 00:21:48 +01:00
Nikita Popov
0426b916df
Implement delayed __wakeup
2017-01-05 00:21:48 +01:00
Joe Watkins
7b436b0c48
Merge branch 'pull-request/2274' into PHP-7.1
...
* pull-request/2274:
Update copyright headers to 2017
2017-01-04 22:25:45 +00:00
Joe Watkins
125578c636
Merge branch 'pull-request/2273' into PHP-7.0
...
* pull-request/2273:
Update copyright headers to 2017
2017-01-04 22:24:34 +00:00
Sammy Kaye Powers
1f620efe3c
Update copyright header to 2017 in calendar.c
2017-01-04 11:24:25 -06:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
6550f3ad7e
Update copyright header to 2017 in calendar.c
2017-01-04 11:15:47 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Anatol Belski
178c7d01f2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to the beta1 SDK for AppVeyor build
2017-01-04 17:21:34 +01:00
Anatol Belski
0484c6efe0
switch to the beta1 SDK for AppVeyor build
2017-01-04 15:54:47 +01:00
Joe Watkins
26b7e2e044
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove duplicate test
2017-01-04 14:51:21 +00:00
Joe Watkins
0d09b98ac4
remove duplicate test
2017-01-04 14:50:59 +00:00
Joe Watkins
d514f23573
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2017-01-04 14:36:37 +00:00
Joe Watkins
b39310c715
fix test
2017-01-04 14:36:18 +00:00
Joe Watkins
6c9164047e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
get_defined_functions additional parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:36:04 +00:00
Joe Watkins
63d116e571
Merge branch 'pull-request/1312' into PHP-7.0
...
* pull-request/1312:
get_defined_functions extra parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:34:31 +00:00
Anatol Belski
b15cc7913a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix PDO tests to match SQL standard syntax and pass Firebird tests.
2017-01-03 17:54:46 +01:00
Dorin Marcoci
e914abff1e
Fix PDO tests to match SQL standard syntax and pass Firebird tests.
2017-01-03 17:48:52 +01:00
Anatol Belski
63d980b3c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
better skip on files
2017-01-03 13:27:06 +01:00
Anatol Belski
3a1ae7bb9b
better skip on files
...
some more could be added
2017-01-03 13:25:16 +01:00
Nikita Popov
661fad7beb
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-03 12:18:33 +01:00
Nikita Popov
b3889d4b20
Fix build
2017-01-03 12:16:35 +01:00
Vince
cfd6e14842
Fix Bug #73462 - Persistent connections don't set $connect_errno
...
Persistent connections skipped resetting $connect_error and $connect_errno values
This adds the "clear error" line to persistent connections for consistency
2017-01-03 12:13:08 +01:00
Joe Watkins
ff4e330eae
Merge branch 'pull-request/1905'
...
* pull-request/1905:
pack()/unpack() for Big Endian float/double and Little Endian float/double
2017-01-03 10:50:19 +00:00
Joe Watkins
e42a01bcd5
Merge branch 'pull-request/1905'
...
* pull-request/1905:
pack()/unpack() for Big Endian float/double and Little Endian float/double
2017-01-03 10:49:53 +00:00
Rasmus Lerdorf
19b757dacd
Fix opcache test dependencies
2017-01-02 22:30:28 -08:00
Rasmus Lerdorf
608724bfe1
Fix opcache test dependencies
2017-01-02 22:21:12 -08:00
Stanislav Malyshev
b9837dc183
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use correct string release function
2017-01-02 22:08:42 -08:00
Stanislav Malyshev
68ac602b28
Use correct string release function
2017-01-02 22:08:25 -08:00
Stanislav Malyshev
0f0406a1c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix error reporting
2017-01-02 21:59:59 -08:00
Stanislav Malyshev
ea6e54aff3
Fix error reporting
2017-01-02 21:59:44 -08:00
Stanislav Malyshev
ca72faa2c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73832 - leave the table in a safe state if the size is too big.
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2017-01-02 21:37:06 -08:00
Stanislav Malyshev
a6cdefe043
Merge branch 'PHP-7.0.15' into PHP-7.0
...
* PHP-7.0.15:
Fix #73832 - leave the table in a safe state if the size is too big.
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2017-01-02 21:35:42 -08:00
Stanislav Malyshev
2075fb2b73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 21:07:01 -08:00
Stanislav Malyshev
7f0de1a138
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 21:01:35 -08:00
Stanislav Malyshev
fa2125df67
Merge branch 'PHP-5.6.30' into PHP-5.6
...
* PHP-5.6.30:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 20:56:32 -08:00
Stanislav Malyshev
4cc0286f2f
Fix #73832 - leave the table in a safe state if the size is too big.
2017-01-02 20:14:05 -08:00
Anatol Belski
ed8fdad72b
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
2017-01-03 02:24:23 +01:00
Nikita Popov
2a4d0a7a0f
Fix test after mail.log change
2017-01-03 02:18:00 +01:00
Anatol Belski
f44ef0ba3f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
set exclude AppVeyor branches and ignore builds on NEWS updates
2017-01-03 02:17:44 +01:00
Anatol Belski
d2298c3cec
set exclude AppVeyor branches and ignore builds on NEWS updates
2017-01-03 02:15:20 +01:00
Nikita Popov
a08747bb4c
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-03 02:13:04 +01:00
Nikita Popov
e1e5caf9d4
Fix early free
2017-01-03 02:12:28 +01:00
Anatol Belski
26c944a855
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Disable pdb generation for AppVeyor
2017-01-03 01:11:41 +01:00
Anatol Belski
f12f0b2bc2
Disable pdb generation for AppVeyor
...
It is not needed for the test runs and would speedup the compilation
phase.
2017-01-03 01:07:55 +01:00
Nikita Popov
43ed89ea31
Fix data_size decrement
...
We don't want to decrement the pointer...
2017-01-02 23:47:30 +01:00
Nikita Popov
737eb060db
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-02 23:39:35 +01:00
Nikita Popov
20c172d459
Add NEWS entries
2017-01-02 23:35:27 +01:00
Nikita Popov
593b6cd0a8
Optimize get_browser() using prefix and contains checks
...
Avoid expensive regex compilations by checking for prefix
and contained segments beforehand.
2017-01-02 23:31:27 +01:00
Nikita Popov
b06fb88cf9
Optimize browscap loading and representation
...
Avoid many string duplications, use interning (browscap-local, of
course), reduce pattern size, use more compact key-value
representation, build result array only on demand.
2017-01-02 23:30:56 +01:00
Nikita Popov
76a1d3f153
Add get_browser() test against larger corpus
...
Testing corpus provided by Anatol against current browscap.ini lite.
About 30% of all agents are not recognized by this browscap.ini,
but this should give us decent coverage.
2017-01-02 23:30:27 +01:00
Mitch Hagstrand
0acaa97a16
Fix for nowait.phpt failing intermittently
...
The parent process was releasing the child semaphore
after the child process continued execution. Now
the child semaphore is released before the child
process continues execution.
2017-01-02 16:45:52 +00:00
Mitch Hagstrand
c019d33267
Fix for nowait.phpt failing intermittently
...
The parent process was releasing the child semaphore
after the child process continued execution. Now
the child semaphore is released before the child
process continues execution.
2017-01-02 16:44:43 +00:00
vanviegen
abba56f605
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE
...
Fixes bug #73800
news entry for PR #2249
2017-01-02 14:56:41 +00:00
vanviegen
732f67ee6f
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE
...
Fixes bug #73800
news entry for PR #2250
2017-01-02 14:54:45 +00:00
Joe Watkins
156781baf5
news entry for PR #2267
2017-01-02 11:58:57 +00:00
Joe Watkins
243dff2057
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for PR #2267
Fixed #67474 (getElementsByTagNameNS and default namespace)
Add (failing) testcase for bug #67474
2017-01-02 11:58:14 +00:00
Joe Watkins
9f4d05acec
news entry for PR #2267
2017-01-02 11:57:45 +00:00
Arnout Boks
a8955926c2
Fixed #67474 (getElementsByTagNameNS and default namespace)
...
This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw
uses an empty string to filter on the default namespace (as NULL means
'no filter'), whereas in the node itself the default namespace is
signalled by nodep->ns being null.
2017-01-02 11:56:37 +00:00
Arnout Boks
19c4a2ef19
Add (failing) testcase for bug #67474
2017-01-02 11:56:33 +00:00
Joe Watkins
3e798c4a5f
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src: (146 commits)
Flush stderr on win32 in cli_log_message
Fixed bug #73154
FIx bug #70213
Fix dom class can't be inherited by the internal class
Another try at making concat_003 more reliable
Fix flaky openssl_pkey_new test
Make Opcache tests using the cli server more reliable
Revert "Fix #73530 : Unsetting result set may reset other result set"
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
Disable AppVeyor fast_finish
Makes the sapi web server and curl tests more reliable
Fixes the curl tests to be more reliable in Travis CI
Interpretation of curl_setopt values for boolean parameters
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
Fix alpn_ctx leaking in openssl
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
Fix IS_UNDEF comparisons in opcache
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
Increase timing quota for small string concat test
...
2017-01-02 09:44:02 +00:00
Mitch Hagstrand
e077735b03
Fix nowait.phpt to no longer depend on sleeping
...
In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.
2017-01-02 09:43:47 +00:00
Joe Watkins
532486569a
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Flush stderr on win32 in cli_log_message
Fixed bug #73154
2017-01-02 09:41:44 +00:00
Mitch Hagstrand
b4459af025
Fix nowait.phpt to no longer depend on sleeping
...
In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.
2017-01-02 09:40:46 +00:00
Nikita Popov
a5027d43dd
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 21:09:27 +01:00
Nikita Popov
935b5cb11e
Flush stderr on win32 in cli_log_message
...
This allows us to unfork a bunch of tests for Windows.
2017-01-01 21:09:02 +01:00
Nikita Popov
70ca40d30f
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 19:26:36 +01:00
Nikita Popov
4877641962
Fixed bug #73154
...
The object that is being serialized may be destroyed during the
execution of __sleep(), so operate on a copy instead.
2017-01-01 19:24:41 +01:00
Joe Watkins
876b7b177f
news entry for PR #1414
2017-01-01 14:41:20 +00:00
Joe Watkins
e7d4a8ce8b
Merge branch 'pull-request/1414' into PHP-7.1
...
* Add subject to mail.log
2017-01-01 14:39:35 +00:00
Nikita Popov
878b8f0465
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 14:13:29 +01:00
Nikita Popov
9f560baef5
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-01 14:12:26 +01:00
Nikita Popov
a65ad951ad
FIx bug #70213
2017-01-01 14:10:49 +01:00
Nikita Popov
2a34042323
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 12:20:46 +01:00
dreamszhu
3c977618e1
Fix dom class can't be inherited by the internal class
2017-01-01 12:20:04 +01:00
Nikita Popov
8467c5c9bf
Fix year dependent test
2017-01-01 12:15:52 +01:00
Joe Watkins
e51f284c78
Revert "news entry for PR #2263 "
...
This reverts commit 299e02c82a .
2017-01-01 06:52:59 +00:00
Joe Watkins
dbfbe6261d
Revert "Fix dom class can't be inherited by the internal class"
...
This reverts commit 705f60e481 .
2017-01-01 06:52:41 +00:00
Joe Watkins
299e02c82a
news entry for PR #2263
2017-01-01 06:49:42 +00:00
dreamszhu
705f60e481
Fix dom class can't be inherited by the internal class
2017-01-01 06:48:02 +00:00
Stanislav Malyshev
8d2539fa0f
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2016-12-31 20:14:20 -08:00
Stanislav Malyshev
1cda0d7c2f
Fix bug #73737 FPE when parsing a tag format
2016-12-31 19:31:49 -08:00
Stanislav Malyshev
e5246580a8
Fix bug #73773 - Seg fault when loading hostile phar
2016-12-31 18:47:50 -08:00
Nikita Popov
242d924e59
Fix bug #73847
2016-12-31 13:33:21 +01:00
Stanislav Malyshev
16b3003ffc
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
2016-12-30 16:59:46 -08:00
Stanislav Malyshev
b28b8b2fee
Fix bug #73768 - Memory corruption when loading hostile phar
2016-12-30 15:57:24 -08:00
Stanislav Malyshev
ca46d0acbc
Fix int overflows in phar (bug #73764 )
2016-12-30 15:39:48 -08:00
Adam Harvey
eb25e14962
Document the changes to lexical scoping in 7.1.
...
Fixes bug #73844 (Cannot use lexical variable $variable as a parameter
name inside array_walk()).
2016-12-30 11:39:45 -08:00
Christoph M. Becker
f5bf19ee3a
Update UPGRADING wrt. bug #72785
2016-12-30 14:17:38 +01:00
Christoph M. Becker
97e16ebbe2
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
...
* 'PHP-7.0' of https://git.php.net/repository/php-src :
Another try at making concat_003 more reliable
Fix flaky openssl_pkey_new test
Make Opcache tests using the cli server more reliable
2016-12-30 13:56:34 +01:00
Nikita Popov
2497ae031b
Don't check for precise length in ecc.phpt
...
Again, this can be off by one.
2016-12-29 22:05:38 +01:00
Nikita Popov
12922f2a58
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-29 21:41:21 +01:00
Nikita Popov
432660f73f
Another try at making concat_003 more reliable
...
Use array_fill() for the array population loop -- this isn't the
part that is being tested and on PHP 7.0 w/o opcache this duplicates
the inner array a lot.
2016-12-29 21:39:40 +01:00
David Walker
b09c2f899e
Fixed bug #73783
...
Bug #73783 raises an issue with signal handling when using SIG_IGN.
With PHP7.1 ZEND_SIGNALS is defaulted to on, which will for all
signals set the handler as zend_signal_handler_defer. This is
problematic for syscalls like sleep(), which will only return when the
requisite number of seconds have elapsed, or, a non-ignored signal is
raised. In this case we want to SIG_IGN SIGCHLD, however, SIG_IGN is
only stored in the SIGG(handlers) array, and the actual system level
handler is defined. This prevents proper signal ignoring when requeted.
2016-12-29 21:18:22 +01:00
Nikita Popov
7746ed9d5f
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-29 21:00:14 +01:00
Nikita Popov
78675ebd9a
Fix flaky openssl_pkey_new test
...
Public key size may vary by one bit... switch to using %d for
key sizes.
2016-12-29 20:59:28 +01:00
Mitch Hagstrand
d0fcc74110
Make Opcache tests using the cli server more reliable
...
Same fix already applied to ext/curl/tests/server.inc
and sapi/cli/tests/php_cli_server.inc
1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
2016-12-29 20:56:45 +01:00
Christoph M. Becker
f4d884dc6e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Fix #73530 : Unsetting result set may reset other result set"
2016-12-29 13:54:11 +01:00
Christoph M. Becker
88d1a2c5aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Revert "Fix #73530 : Unsetting result set may reset other result set"
# Conflicts:
# ext/sqlite3/sqlite3.c
2016-12-29 13:47:28 +01:00
Christoph M. Becker
2ba3b27594
Revert "Fix #73530 : Unsetting result set may reset other result set"
...
This reverts commit eb570294a2 .
That commit caused a regression, so it's probably best to revert it, and
to tackle the issue for the next minor release.
2016-12-29 12:59:04 +01:00
Xinchen Hui
716fa9c24d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
typo fixed
bug fixed #61471 in apache2handler
2016-12-29 15:56:26 +08:00
Xinchen Hui
a8931df672
Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0
...
* 'bugfix_timeout_61471' of https://github.com/axot/php-src :
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
typo fixed
bug fixed #61471 in apache2handler
2016-12-29 15:46:47 +08:00
Zheng SHAO
587497e3a9
define php_ap_map_http_request_error function for older httpd only
2016-12-29 16:07:05 +09:00
Zheng SHAO
d92606a4be
add old versions of httpd support
2016-12-29 00:41:56 +09:00
Nikita Popov
d82bd3696e
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-27 22:22:05 +01:00
Nikita Popov
f2f35a2b27
Disable AppVeyor fast_finish
...
As NTS and TS fail in different ways, we want to see both.
2016-12-27 22:20:40 +01:00
Nikita Popov
937115f8c5
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-27 21:52:33 +01:00
Mitch Hagstrand
2d51267c07
Makes the sapi web server and curl tests more reliable
...
1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
runs on Windows also.
2016-12-27 21:52:05 +01:00
Mitch Hagstrand
92678d1a83
Fixes the curl tests to be more reliable in Travis CI
...
1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
3. In bug48203_multi.phpt the test no longer starts and stops multiple PHP built-in servers
2016-12-27 21:52:05 +01:00
Sara Golemon
a49675faac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Interpretation of curl_setopt values for boolean parameters
2016-12-25 22:33:03 -08:00
dedal.qq
7f29e7c678
Interpretation of curl_setopt values for boolean parameters
2016-12-25 22:32:49 -08:00
Sébastien Santoro
5d7c774bea
Remove extraneous parentheses in conditions
...
The zend_vm_gen.php generator now checks if the condition is already
enclosed by parentheses, and them only if needed.
This fixes nine clang/llvm parentheses-equality warnings.
2016-12-25 22:17:46 -08:00
Sara Golemon
fcd4c34cb3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
2016-12-25 22:07:09 -08:00
Dorin Marcoci
e926bf6507
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
2016-12-25 22:06:20 -08:00
Bob Weinand
7b133e074c
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 23:34:51 +01:00
Bob Weinand
ac1372d811
Fix alpn_ctx leaking in openssl
2016-12-22 23:34:07 +01:00
Bob Weinand
898e439333
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 15:31:39 +01:00
Bob Weinand
8823b68c41
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
2016-12-22 15:29:36 +01:00
Nikita Popov
175b9f67f6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 12:47:29 +01:00
Sébastien Santoro
25c96f92f4
Fix IS_UNDEF comparisons in opcache
...
These conditions were formerly `!q->pData` and `!p->pData`, and should
now be detected as undefined variables, using the special type IS_UNDEF.
Incidentally, this syntax raised a logical-not-parentheses compiler
warning, now gone.
2016-12-22 12:46:14 +01:00
Bob Weinand
728502fc29
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 00:40:54 +01:00
Bob Weinand
3b2b080cbc
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
2016-12-22 00:39:24 +01:00
Nikita Popov
ed0602fe31
Fix string extension in negate_num_string
...
Forgot to actually assign the reallocated string...
2016-12-21 22:11:17 +01:00
Nikita Popov
06699abffb
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:28:29 +01:00
Nikita Popov
c41826d1e6
Increase timing quota for small string concat test
...
Test is regularly failing on Travis.
2016-12-21 21:27:47 +01:00
Nikita Popov
9afc61c214
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:19:10 +01:00
David Walker
5733fd1caf
Fix #73753 - Unpacked Arrays and Duplication
2016-12-21 21:18:20 +01:00
Anatol Belski
6ffa1d256f
add folds
2016-12-21 17:59:45 +01:00
Anatol Belski
637436628a
fix possible null dereference
2016-12-21 17:58:34 +01:00
Xinchen Hui
82988d3e41
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
...
This reverts commit a12f43ee2c .
2016-12-21 14:24:14 +08:00
Bob Weinand
7e2146293b
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 02:42:38 +01:00
Bob Weinand
becda86ae5
Fix issue with -- in phpdbg command line
2016-12-21 02:42:23 +01:00
Bob Weinand
8b06b7e266
Fixed bug #73794 (Crash (out of memory) when using run and # command separator)
2016-12-20 20:18:36 +01:00
Bob Weinand
3273f15412
Fix segfault in ZTS mode when just printing and exiting in phpdbg
2016-12-20 19:49:04 +01:00
Dmitry Stogov
43cc3d7d92
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:53:06 +03:00
Dmitry Stogov
3c6a2fb08c
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:48:57 +03:00
Xinchen Hui
6bd41a1d47
Fixed bug #73789 (Strange behavior of class constants in switch/case block)
2016-12-20 21:01:21 +08:00
Anatol Belski
21e2836473
deliver the real cp also if a constant is passed
2016-12-20 02:40:44 +01:00
Zheng SHAO
884e2a0519
Fixed NEWS conflicts
2016-12-20 09:48:47 +09:00
Dmitry Stogov
6ea44908fb
Fixed arginfo
2016-12-19 11:13:02 +03:00
Anatol Belski
8adc86a698
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
Compatibility with Firebird & Oracle select syntax.
2016-12-19 01:08:44 +01:00
Anatol Belski
7ef2e90197
update NEWS
2016-12-19 01:08:19 +01:00
Anatol Belski
9fb8ea58b5
update NEWS
2016-12-19 01:07:08 +01:00
Dorin Marcoci
eb33d08f1e
Compatibility with Firebird & Oracle select syntax.
2016-12-19 01:06:24 +01:00
Anatol Belski
680b813380
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-19 00:52:01 +01:00
Anatol Belski
88c1491c6d
fix proto
2016-12-19 00:50:29 +01:00
Anatol Belski
f077ada348
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Cursor is not opened on singleton selects.
fix arg spec and datatype, follow up on 73594
2016-12-18 21:55:30 +01:00
Dorin Marcoci
cf46ac1179
Cursor is not opened on singleton selects.
...
Test case for unregistered bug on FB3 singleton selects
Set error mode to warning instead of exception.
2016-12-18 21:53:51 +01:00
Anatol Belski
3e48baa49d
fix arg spec and datatype, follow up on 73594
2016-12-18 21:16:35 +01:00
Anatol Belski
7371c46518
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73594
2016-12-18 20:47:02 +01:00
Bruce Weirdan
c78fd4568e
Fixed bug #73594
...
Skip the tests when local resolver does not behave
* Added SKIPIF sections to check local resolver
* Added test to check $authns parameter
2016-12-18 20:44:33 +01:00
Nikita Popov
4ef4e34c2e
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-18 17:10:54 +01:00
Nikita Popov
c1af9f282f
Fix bug #46103
2016-12-18 17:10:19 +01:00
Nikita Popov
7d404bc3d6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-18 14:58:38 +01:00
Nikita Popov
eb636fcb56
Add test for get_browser() in object mode
...
All other tests only check array return values...
2016-12-18 13:16:25 +01:00
Anatol Belski
59bf7f907f
extend UPGRADING
2016-12-18 01:08:58 +01:00
Anatol Belski
e8512ed7db
update NEWS
2016-12-18 01:03:00 +01:00
Anatol Belski
f86e077ec8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix C89 compat
2016-12-17 20:46:09 +01:00
Anatol Belski
58a945cf68
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix C89 compat
2016-12-17 20:45:22 +01:00
Anatol Belski
79e47aae41
fix C89 compat
2016-12-17 20:43:32 +01:00
Anatol Belski
a9e0705b64
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
replace default appveyor build version
2016-12-17 13:14:12 +01:00
Anatol Belski
0cd1c18853
replace default appveyor build version
2016-12-17 13:12:34 +01:00
Xinchen Hui
aa84808e33
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
add Appveyor fast_fail
improve error check
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
Fix stack management in ini scanner
chance CLI codepage, only when SAPI is initialized
2016-12-17 20:09:34 +08:00
Xinchen Hui
a12f43ee2c
Reorder the oplines
...
1. we should only do the return type checking when it is really about to
return
2. for 029.php, actually, the exception threw should be discard while it
jmp into finally(it could be observed by change the return to return an array)
3. after this fix, the test 029.phpt behavior consistently with 7.0
4. good for optimizer too
2016-12-17 20:06:18 +08:00
Zheng SHAO
fb98907d2d
typo fixed
2016-12-17 20:26:09 +09:00
Anatol Belski
a3a8cc686a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add Appveyor fast_fail
improve error check
2016-12-17 11:27:17 +01:00
Anatol Belski
9afb05dcd1
add Appveyor fast_fail
2016-12-17 11:26:13 +01:00
Anatol Belski
158d11d53d
improve error check
2016-12-17 11:25:06 +01:00
Zheng SHAO
9b65a10256
bug fixed #61471 in apache2handler
2016-12-17 13:37:58 +09:00
Anatol Belski
c104f09d88
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
2016-12-17 00:14:50 +01:00
Anatol Belski
53c4c38878
turn mcrypt back on for Appveyor runs
...
(cherry picked from commit fca2312fbe )
2016-12-17 00:13:16 +01:00
Anatol Belski
576ed049c5
add build status badge
...
(cherry picked from commit 3a886c9d20 )
2016-12-17 00:13:01 +01:00
Anatol Belski
aeebae641e
add scripts for AppVeyor integration
...
(cherry picked from commit c737d6fb49 )
2016-12-17 00:12:49 +01:00
Sara Golemon
5004ae2b62
Silence warning from unhandled enum
...
(cherry picked from commit 57bbe2c140 )
2016-12-17 00:12:33 +01:00
Anatol Belski
2f9e928af8
fix leaking streams and memory mapped files
...
(cherry picked from commit f1ff23095b )
2016-12-17 00:12:19 +01:00
Anatol Belski
fca2312fbe
turn mcrypt back on for Appveyor runs
2016-12-16 22:59:47 +01:00
Anatol Belski
4377546d2f
add build status badge
...
(cherry picked from commit 3a886c9d20 )
2016-12-16 22:56:23 +01:00
Anatol Belski
4a69f450ff
add scripts for AppVeyor integration
...
(cherry picked from commit c737d6fb49 )
2016-12-16 22:56:08 +01:00
Sara Golemon
587f1b2427
Silence warning from unhandled enum
...
(cherry picked from commit 57bbe2c140 )
2016-12-16 22:55:13 +01:00
Anatol Belski
9cdf64c225
fix leaking streams and memory mapped files
...
(cherry picked from commit f1ff23095b )
2016-12-16 22:55:02 +01:00
Nikita Popov
a32829f909
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-16 20:55:08 +01:00
Nikita Popov
fa92a16e46
Fix stack management in ini scanner
2016-12-16 20:54:46 +01:00
Anatol Belski
b91d7f186a
chance CLI codepage, only when SAPI is initialized
...
This finally solves issues with DBSC console codepages, and in
general improves the console codepage switching. When
module_initialized, all the possible encoding INI settings with
regard to possible modifications are set, and that's the
right moment to switch the console codepage in regard to I/O.
CJK glyphs might take more than 1 cell, so then visual issues
can occur, when switching console codepage back and forth. Users
are free to use ini_set(), but any visual issues are then up to
the user responsibility.
2016-12-16 16:49:18 +01:00
Xinchen Hui
8ba7878f1b
Add an assertion
2016-12-16 11:09:22 +08:00
Xinchen Hui
7cef66c635
Fixed bug #73746 (Method that returns string returns UNKNOWN:0 instead)
2016-12-16 11:06:27 +08:00
Anatol Belski
b441ff6cf9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make timing check more forgiving in these tests
2016-12-15 12:32:35 +01:00
Anatol Belski
8bc3f179ce
make timing check more forgiving in these tests
...
Particularly on slower VMs, the sporadic fails can still happen.
The timing is kept in an uncritical range, but allows the tests
pass there. Mayby, it'd make sense to introduce a new group for
this kind of tests, so tests requiring exact time measurement
can be avoided on unsuitable environments.
2016-12-15 12:20:37 +01:00
Matteo Beccati
72fb941bd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip tests when secure_file_priv dir not writable
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 09:32:04 +01:00
Matteo Beccati
7c696fa886
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:54 +01:00
Matteo Beccati
0c9324ea9b
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:00 +01:00
Yasuo Ohgaki
577b081a20
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 16:16:45 +09:00
Anatol Belski
382ec5cf9e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
extend skip section
2016-12-14 19:56:19 +01:00
Anatol Belski
5136048064
extend skip section
...
The day light offset is calculated based on the system TZ, so with
an unsuitable one there's no way to workaround the false positives.
2016-12-14 19:53:55 +01:00
Nikita Popov
33e96c9d63
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-14 18:11:43 +01:00
Nikita Popov
f99bf70360
Partially fix bug #70492
...
The libmagic portion is missing.
2016-12-14 18:11:27 +01:00
Nikita Popov
2f438342ec
Fixed bug #73727
...
Error introduced when refactoring zend_alloc code into zend_bitset.
2016-12-14 17:56:31 +01:00
Anatol Belski
1820f4b9d1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
cleanup temporary data
2016-12-14 12:34:14 +01:00
Anatol Belski
d663296e3b
cleanup temporary data
2016-12-14 12:33:13 +01:00
Anatol Belski
e33ec61f9c
Care about intput and output encoding, as per default encoding RFC
...
If PHP CLI is used with programs with no Unicode support, the default
PHP console codepage might cause backward incompatible behaviors. This
is solved with this patch by separating the handling of I/O codepage.
As per https://wiki.php.net/rfc/default_encoding input_encodnig and
output_encoding are centralized INI settings, so they're used for the
purpose of adjusting the codepage. This gives user the ability to use
UTF-8 internally, while letting the system API to convert the output
to a compatible codepage. This also might solve the font issues on
systems without good true type support.
Note, that there no change to the default behavior - if input and
output encoding are not set, which is the default case, the default
charset applies to both console input and output. The patch is just
a compilment to the backward compatibility, not more and not less.
2016-12-14 02:51:29 +01:00
Nikita Popov
b344832b80
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-13 17:57:14 +01:00
Nikita Popov
4b2cc62e26
More fixes for bug #73089
...
Insert a lot more DEREFs. Some may not be necessary, but better
safe than sorry. I'm thinking the soap_hash_str_find_deref function
should become part of the zend_hash API -- we need this in many
places.
2016-12-13 17:56:38 +01:00
Andrey Hristov
9eca4dca73
Optimized memory handling of BIT fields. Less memory copies and less
...
memory usage.
2016-12-12 21:59:29 +02:00
Andrey Hristov
3836c2faac
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:52:59 +02:00
Andrey Hristov
13fc1b92ca
Add a bit more test cases (edge cases) to the BIT test case
2016-12-12 21:52:36 +02:00
Andrey Hristov
d494e19701
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:29:06 +02:00
Andrey Hristov
a881ea7d86
Add a test case to test fetching of multiple rows with bit values.
2016-12-12 21:28:33 +02:00
Andrey Hristov
2819a28ac3
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:12:44 +02:00
Andrey Hristov
e15c418c4c
Fix off by 1 problem.
...
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
2016-12-12 21:11:02 +02:00
Anatol Belski
d9fc5ea6ec
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
better way to get ACP
2016-12-12 01:56:44 +01:00
Anatol Belski
7a8774ade4
better way to get ACP
2016-12-12 01:54:22 +01:00
Anatol Belski
8199e5a7e9
adapt patch for 7.1
2016-12-12 01:50:15 +01:00
Anatol Belski
e53f967ed7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix datatype for zpp, yet a followup on bug #73679
2016-12-12 01:29:23 +01:00
Anatol Belski
3473b519c0
fix datatype for zpp, yet a followup on bug #73679
2016-12-12 01:26:06 +01:00
Anatol Belski
ae91cfacdb
update NEWS
2016-12-11 17:40:22 +01:00
Anatol Belski
8f6b975130
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-11 17:39:54 +01:00
Anatol Belski
ee2625e252
update NEWS
2016-12-11 17:39:08 +01:00
Anatol Belski
e6e5f06c78
improve fix for bug #73679 with new capabilities available
2016-12-11 17:25:48 +01:00
Anatol Belski
fb92116a5a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73679 DOTNET read access violation using invalid codepage
2016-12-11 17:07:57 +01:00
Anatol Belski
1d80fb2cdb
Fixed bug #73679 DOTNET read access violation using invalid codepage
2016-12-11 17:06:55 +01:00
Nikita Popov
2c70581338
Fix T_NUM_STRING negation
...
T_NUM_STRING follows the rules of symtable numeric string
conversion. If the offset isn't an integer under those rules, it
is treated as a string. This should apply to negated T_NUM_STRINGs
as well.
2016-12-11 13:33:25 +01:00
Anatol Belski
8b82e2c2fe
extend errno mapping
2016-12-10 11:17:07 +01:00
Xinchen Hui
0ad804ec9b
Fixed tests
2016-12-10 16:43:17 +08:00
Xinchen Hui
4eb4ec2cb1
Update NEWS
2016-12-09 22:39:42 +08:00
Xinchen Hui
09b36113b0
Fix the bug in ZEND_ASSIGN_DIM (as nikic suggest)
2016-12-09 22:30:24 +08:00
Xinchen Hui
6812721ef2
Revert "Refix bug #73686 "
...
This reverts commit 4589386026 .
2016-12-09 22:22:59 +08:00
Xinchen Hui
4589386026
Refix bug #73686
2016-12-09 16:37:22 +08:00
Xinchen Hui
6a43c61bcd
Fixed bug #73646 (mb_ereg_search_init null pointer dereference)
2016-12-09 15:55:07 +08:00
Xinchen Hui
4faa540b45
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
fix uninitialized member
2016-12-09 11:41:26 +08:00
Xinchen Hui
68bdd6d018
Fixed bug #73686 (Adding settype()ed values to ArrayObject results in references)
2016-12-09 11:41:08 +08:00
Anatol Belski
d46972b6ae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix uninitialized member
2016-12-08 17:16:48 +01:00
Anatol Belski
66ad7918b8
fix uninitialized member
2016-12-08 17:15:06 +01:00
Xinchen Hui
8250b3fca1
Fixed possible false assertion failure
2016-12-08 22:04:43 +08:00
Ferenc Kovacs
f8ea3e3e4c
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-08 07:11:11 +01:00
Ferenc Kovacs
a4d6d16b3b
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-08 07:09:41 +01:00
Ferenc Kovacs
60da307c61
update NEWS
2016-12-08 07:05:32 +01:00
Anatol Belski
394a3593cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
git clean section
2016-12-08 03:24:59 +01:00
Anatol Belski
ff6565462e
git clean section
2016-12-08 03:24:18 +01:00
Nikita Popov
60249f4390
Fix propagation of QM_ASSIGN into VERIFY_RETURN_TYPE
...
VERIFY_RETURN_TYPE uses different formats for the CONST/non-CONST
cases. If we progate a CONST operand into op1, op1 should be
moved to result.
2016-12-07 23:14:46 +01:00
Adam Baratz
5a20d83be8
Remove noop param hook
2016-12-07 17:09:09 -05:00
Adam Baratz
e133a2dd78
Clean up tabs and whitespace
2016-12-07 17:08:51 -05:00
Anatol Belski
8e40fdd37c
update NEWS
2016-12-07 21:24:16 +01:00
Anatol Belski
68d119bcdb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-07 21:23:37 +01:00
Anatol Belski
73fb2192d2
update NEWS
2016-12-07 21:22:34 +01:00
Anatol Belski
67b7c5055c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
2016-12-07 21:07:14 +01:00
Dorin Marcoci
13ffa88e1f
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
2016-12-07 21:06:11 +01:00
Johannes Schlüter
54f526be89
Install ext/json headers
2016-12-07 17:50:05 +01:00
Anatol Belski
5b3e36fe78
fix test compat with MySQL 5.7
2016-12-07 16:04:47 +01:00
Christoph M. Becker
00ee42e385
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-07 13:45:18 +01:00
Markus Staab
dd77116fb0
Fixed typo in skipif error message
2016-12-07 13:35:58 +01:00
Dmitry Stogov
ee15891c35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Check if PHP is in execution state.
2016-12-07 15:12:48 +03:00
Dmitry Stogov
3c8c347fa7
Check if PHP is in execution state.
2016-12-07 15:12:18 +03:00
Nikita Popov
76c4a3db08
Fix bug #73668
...
Not bothering to implement special handling to get an accurate
range for this case.
2016-12-06 22:25:35 +01:00
Nikita Popov
d7e7f74b24
Factor out common binary op code in range inference
...
Instead of repeating the same code for binary ops and their
compound assignment variants, factor the range computation out
into a separate function.
2016-12-06 22:09:44 +01:00
Anatol Belski
1c5c046d9a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-06 20:26:40 +01:00
Anatol Belski
991ca7f7d7
update NEWS
2016-12-06 20:25:27 +01:00
Bob Weinand
43f88f25bb
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-06 18:30:37 +01:00
Bob Weinand
7e12b5da71
Fixed issue getting executable lines from custom wrappers
...
See also krakjoe/phpdbg#161
2016-12-06 18:29:48 +01:00
Anatol Belski
308cc2e9d4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take 2
2016-12-06 16:18:54 +01:00
Anatol Belski
fee5c049a8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take 2
2016-12-06 16:17:28 +01:00
Anatol Belski
c89306ac52
fix leak, take 2
2016-12-06 16:12:39 +01:00
Anatol Belski
4e3f728701
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take on 7.x
2016-12-06 14:44:04 +01:00
Anatol Belski
9b1430140a
fix leak, take on 7.x
2016-12-06 14:42:59 +01:00
Anatol Belski
8f4c006ada
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take on 5.6
2016-12-06 14:37:58 +01:00
Anatol Belski
f2fc812b78
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take on 5.6
2016-12-06 14:36:52 +01:00
Anatol Belski
b04d60626d
fix leak, take on 5.6
2016-12-06 14:34:27 +01:00
Xinchen Hui
72891f385b
Update NEWS
2016-12-06 17:33:15 +08:00
Xinchen Hui
d7a759916d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:48 +08:00
Xinchen Hui
358bd77b23
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:32 +08:00
Dmitry Stogov
547b735d34
Micro optimizations
2016-12-06 10:01:18 +03:00
Stanislav Malyshev
28fc49a53f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:33:42 -08:00
Stanislav Malyshev
183b4d78aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:33:33 -08:00
Stanislav Malyshev
d7ce944cf1
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:32:59 -08:00
Stanislav Malyshev
619a691c7c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73645 - int/size_t confusion
2016-12-05 22:16:42 -08:00
Stanislav Malyshev
1d59ed7524
Fix bug #73645 - int/size_t confusion
2016-12-05 22:16:00 -08:00
Stanislav Malyshev
4ae4ca45aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:59:10 -08:00
Stanislav Malyshev
6292fe84d3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:58:55 -08:00
Stanislav Malyshev
266ecb6d0a
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:40:55 -08:00
Nikita Popov
3b79f8f408
Fix bug #73654
2016-12-05 20:41:14 +01:00
Dmitry Stogov
2f0e61f4b7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:49:09 +03:00
Dmitry Stogov
a983b728a7
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:45:08 +03:00
Anatol Belski
8ad9043aa3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 22:45:31 +01:00
Anatol Belski
eddca73ad2
fix test
...
This test depends on connection flags modifable from teh env,
that can affect the exact function called.
2016-12-04 22:42:39 +01:00
Anatol Belski
b6f5fcfc3a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 22:28:34 +01:00
Anatol Belski
1eb3f01c68
fix test
...
On Windows, either doubled backslashes or forward slashes are supported
on the server side.
2016-12-04 22:27:17 +01:00
Anatol Belski
69c3859368
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix ident
2016-12-04 20:59:56 +01:00
Anatol Belski
69fbc751ff
fix ident
2016-12-04 20:59:12 +01:00
Anatol Belski
2198ce2f28
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 17:29:22 +01:00
Anatol Belski
8e209d0435
fix test
2016-12-04 17:28:43 +01:00
Anatol Belski
dfd776b326
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
enforce the test ini usage for the child process
2016-12-04 14:02:37 +01:00
Anatol Belski
10a2ceef3b
enforce the test ini usage for the child process
2016-12-04 14:01:40 +01:00
Yasuo Ohgaki
e34c8281fa
Merge branch 'pull-request/2228' into PHP-7.1
...
* pull-request/2228:
Fix session upgrade documentation
2016-12-04 17:48:55 +09:00
Tobias Schultze
e15733f0b8
Fix session upgrade documentation
2016-12-04 07:33:29 +01:00
Bob Weinand
ca871aaba6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 23:44:23 +01:00
Bob Weinand
46d708a1b6
Fix PHP-7.0 build (wrong fix for the branch)
2016-12-03 23:39:54 +01:00
Bob Weinand
146b68e022
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 18:28:47 +01:00
Bob Weinand
ffc1ef1eed
Fix leak when using $this outside of object context
2016-12-03 18:28:08 +01:00
Christoph M. Becker
c20299ddc4
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 14:18:56 +01:00
Christoph M. Becker
a8ec79e27f
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-03 14:18:00 +01:00
Adrien Crivelli
cf2496140d
Fix minor typo
2016-12-03 14:15:52 +01:00
Yasuo Ohgaki
0b204d60a4
Fix typo in php.ini-* comment
2016-12-03 14:23:05 +09:00
Nikita Popov
91d365f805
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-02 17:03:59 +01:00
Nikita Popov
8f7325fc24
Fix leak in shift_right_function
2016-12-02 17:03:05 +01:00
Bob Weinand
7b5e89de82
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-02 15:42:19 +01:00
Bob Weinand
3c1a0d75bf
Fix test of wrong operator in self_xor.phpt
2016-12-02 15:41:47 +01:00
Dmitry Stogov
af2d47c9c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Eliminated useless exception check
2016-12-02 15:40:04 +03:00
Dmitry Stogov
68558ab71d
Eliminated useless exception check
2016-12-02 15:39:33 +03:00
Dmitry Stogov
b3a4de65cd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-02 15:14:37 +03:00
Dmitry Stogov
2b70d44b57
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-02 15:13:55 +03:00
Dmitry Stogov
5a57b3d6e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value).
2016-12-02 14:00:29 +03:00
Dmitry Stogov
dbf39cddd9
Fixed behavior of failing compound assignments (they shouldn't change the source value).
2016-12-02 13:58:44 +03:00
Davey Shafik
2f5090168f
Bump versions and NEWS for 7.1.1-dev
2016-12-02 02:24:54 -08:00
Dmitry Stogov
04500f1fe0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed possible memory leak in &=, |=, ^=.
2016-12-02 12:35:44 +03:00
Dmitry Stogov
67d90a4870
Fixed possible memory leak in &=, |=, ^=.
2016-12-02 12:34:46 +03:00
Bob Weinand
ad5038bfee
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-01 15:21:49 +01:00
Bob Weinand
fcaccbaa22
Fix valgrind issue when throwing due to yield from aborted generator
2016-12-01 15:21:28 +01:00
Anatol Belski
1c2333009f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fork tests
2016-12-01 14:53:22 +01:00
Anatol Belski
2252d4e59d
fork tests
2016-12-01 14:52:18 +01:00
Dmitry Stogov
96655ad01e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bad merge
2016-12-01 16:22:23 +03:00
Dmitry Stogov
7f22e3c879
Fixed bad merge
2016-12-01 16:21:57 +03:00
Dmitry Stogov
d149ba217f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
2016-12-01 15:50:19 +03:00
Dmitry Stogov
b7b7dd8cea
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
2016-12-01 15:50:05 +03:00
Dmitry Stogov
1cd566e13f
Workaround for GCC-4.9.2 bug
2016-12-01 15:46:52 +03:00
Anatol Belski
9c7540d357
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve skipif
2016-12-01 13:33:42 +01:00
Anatol Belski
615c9bfe5a
fix condition
2016-12-01 13:33:27 +01:00
Anatol Belski
043d8e2fe1
improve skipif
2016-12-01 13:32:10 +01:00
Anatol Belski
8ecbb660d0
improve skipif
2016-12-01 13:25:28 +01:00
Dmitry Stogov
54244ba565
Fixed access to uninitialized value
2016-12-01 13:25:50 +03:00
Dmitry Stogov
54f7abfe7d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Simpler overflow check
fix gcov coverage
2016-12-01 10:34:09 +03:00
Dmitry Stogov
003346c450
Simpler overflow check
2016-12-01 10:30:02 +03:00
Anatol Belski
60c875b072
fix dir separator
2016-12-01 01:36:29 +01:00
Davey Shafik
db456d91f4
Update NEWS for the build
2016-11-30 15:14:38 -08:00
Nuno Lopes
d5a2af6d1c
Merge branch 'PHP-7.0' of https://git.php.net/push/php-src into PHP-7.0
2016-11-30 14:41:26 -05:00
Bob Weinand
e37412e19c
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-30 11:45:18 +01:00
Bob Weinand
344ef050aa
Fix run-tests.php to always include TEST_PHPDBG_EXECUTABLE if phpdbg available
2016-11-30 11:44:10 +01:00
Bob Weinand
7aaa1a876e
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-30 02:57:16 +01:00
Bob Weinand
b73a3afff3
Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
2016-11-30 02:56:47 +01:00
Dmitry Stogov
cabcf8971f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on).
2016-11-28 12:57:02 +03:00
Dmitry Stogov
9a9ad56af0
Fixed bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on).
2016-11-28 12:54:47 +03:00
Dmitry Stogov
458c732ed4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed calling generators through magic __call()
2016-11-28 12:30:01 +03:00
Dmitry Stogov
970f21be97
Fixed calling generators through magic __call()
2016-11-28 12:20:19 +03:00
Stanislav Malyshev
c8778eb293
oops, changed in wrong place
2016-11-27 16:11:41 -08:00
Stanislav Malyshev
53655c5af1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add NEWS
Fix #68447 : grapheme_extract take an extra trailing character
2016-11-27 15:38:33 -08:00
Stanislav Malyshev
fe04f5494a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add NEWS
2016-11-27 15:38:22 -08:00
Stanislav Malyshev
36d02a36ae
add NEWS
2016-11-27 15:38:09 -08:00
Stanislav Malyshev
f1a9851c3e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #68447 : grapheme_extract take an extra trailing character
2016-11-27 15:36:29 -08:00
Stanislav Malyshev
8856b3a63c
Merge branch 'pull-request/1974' into PHP-5.6
...
* pull-request/1974:
Fix #68447 : grapheme_extract take an extra trailing character
2016-11-27 15:34:58 -08:00
Stanislav Malyshev
8cc42537d2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73549 : Use after free when stream is passed to imagepng
2016-11-27 14:53:39 -08:00
Stanislav Malyshev
1cb58ead70
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #73549 : Use after free when stream is passed to imagepng
2016-11-27 14:53:27 -08:00
Christoph M. Becker
5049ef2f1c
Fix #73549 : Use after free when stream is passed to imagepng
...
If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.
2016-11-27 14:51:02 -08:00
Jakub Zelenka
02cecc0fb5
Update UPGRADING with info about AEAD changes in openssl_(en|de)crypt
2016-11-27 19:05:49 +00:00
Jakub Zelenka
0ebdf3625e
Do not add extra timeval entropy when OpenSSL 1.1 used
...
It is already added by OpenSSL so it is not needed
2016-11-27 19:00:05 +00:00
Jakub Zelenka
0f4216298f
Clean up and fix php_openssl_dh_pub_from_priv
2016-11-27 18:54:28 +00:00
Matteo Beccati
461add8adf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix occasionaly failing test
2016-11-27 10:20:50 +01:00
Matteo Beccati
54c04befc2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix occasionaly failing test
2016-11-27 10:20:38 +01:00
Matteo Beccati
2a80758fd5
Fix occasionaly failing test
2016-11-27 10:20:13 +01:00
Matteo Beccati
8101024ad4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added missing array key to $JUNIT
2016-11-27 10:08:14 +01:00
Matteo Beccati
f9b158df07
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Added missing array key to $JUNIT
2016-11-27 10:08:04 +01:00
Matteo Beccati
28cf42568b
Added missing array key to $JUNIT
2016-11-27 10:07:05 +01:00
Stanislav Malyshev
8c61bd2e9a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Add more mbfl string size checks (bug #73505 )
2016-11-26 15:37:06 -08:00
Stanislav Malyshev
343c056772
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Add more mbfl string size checks (bug #73505 )
2016-11-26 15:36:57 -08:00
Michael Orlitzky
114277ed45
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
...
When building with kerberos support (--with-kerberos), a few libraries
and flags need to be added to various parts of the build system. The
most reliable way to get those flags is through the krb5-config
program that ships with both major implementations of kerberos. The
PHP_SETUP_KERBEROS macro in acinclude.m4 attempts to detect
krb5-config, and use it.
However, there's a bug in that macro. The --with-kerberos parameter
accepts a directory where the kerberos libraries can be found. When a
directory is given, it is stored in the PHP_KERBEROS variable. The
following test,
if test "$PHP_KERBEROS" = "yes" && test -x "$KRB5_CONFIG"; then
thus fails whenever a directory is passed to --with-kerberos, since it
compares a directory name against the string "yes". This causes
krb5-config to go unused, and some unreliable fallback logic is
attempted instead. One consequence of this is that the Heimdal
kerberos implementation cannot be substituted for the MIT one, at
least when a directory is passed to --with-kerberos.
This commit reverses the logic and checks for "$PHP_KERBEROS" != "no".
To confirm that this fixes the issue, one can inspect the "-l" library
flags that get appended to the command-line. On a machine with Heimdal
and the unmodified acinclude.m4, running
./configure --with-openssl --with-kerberos=/usr
will log (for example) to config.log,
configure:18082: checking for krb5-config
configure:18101: found /usr/bin/krb5-config
configure:18114: result: /usr/bin/krb5-config
configure:18450: checking for RAND_egd
configure:18450: cc ... conftest.c ... -lgssapi_krb5 -lkrb5 ...
which are the library names for the MIT implementation. After patching
acinclude.m4 to negate the logic, the same command on the same machine
outputs (to config.log):
configure:18450: cc ... conftest.c -lgssapi -lheimntlm ...
These are the correct library names for the Heimdal implementation.
PHP-Bug: 73214
2016-11-26 15:36:49 -08:00
Stanislav Malyshev
bc85678df3
Add more mbfl string size checks (bug #73505 )
2016-11-26 14:49:48 -08:00
Stanislav Malyshev
dd7eee0609
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add more mbfl string size checks (bug #73505 )
2016-11-26 14:48:50 -08:00
Stanislav Malyshev
58cdd03d92
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Add more mbfl string size checks (bug #73505 )
2016-11-26 14:48:40 -08:00
Stanislav Malyshev
5ee02b207d
Add more mbfl string size checks (bug #73505 )
2016-11-26 14:47:58 -08:00
Christoph M. Becker
09085ac02c
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-26 16:09:45 +01:00
Christoph M. Becker
003727d851
Fix #73612 : preg_*() may leak memory
...
We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
2016-11-26 15:34:27 +01:00
Stanislav Malyshev
1229b2be26
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix more size_t/int implicit conversions
Fix int/size_t confusion in isValidPharFilename (bug #73580 )
2016-11-25 18:57:06 -08:00
Stanislav Malyshev
f9a80a0a29
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix more size_t/int implicit conversions
2016-11-25 15:32:59 -08:00
Stanislav Malyshev
8be94d46f8
Fix more size_t/int implicit conversions
...
Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.
2016-11-25 15:31:50 -08:00
Stanislav Malyshev
bcc913fa8b
Fix int/size_t confusion in isValidPharFilename (bug #73580 )
2016-11-25 15:31:50 -08:00
Stanislav Malyshev
ffb65ba833
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
Fix #73582 : Failing ext/gd/tests/imagettftext_charmap_order.phpt
2016-11-25 15:31:22 -08:00
Stanislav Malyshev
7010547c4e
Fix more size_t/int implicit conversions
...
Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.
2016-11-25 15:30:20 -08:00
Christoph M. Becker
51ba53ed0f
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-25 23:27:13 +01:00
Christoph M. Becker
bc979aee6d
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-25 23:16:18 +01:00
Christoph M. Becker
7f529e3dee
Fix #73582 : Failing ext/gd/tests/imagettftext_charmap_order.phpt
...
This test is not supposed to work with JIS-mapped Japanese font support
enabled.
2016-11-25 23:14:08 +01:00
Stanislav Malyshev
2cc3df3252
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix int/size_t confusion in isValidPharFilename (bug #73580 )
2016-11-25 13:43:59 -08:00
Stanislav Malyshev
cb6bcaa61f
Fix int/size_t confusion in isValidPharFilename (bug #73580 )
2016-11-25 13:42:35 -08:00
Anatol Belski
c26e96a05d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add test for bug #57547
2016-11-24 19:27:50 +01:00
Anatol Belski
a36dd1dfd8
add test for bug #57547
2016-11-24 19:25:47 +01:00
Derick Rethans
ec366eac5f
Updated to version 2016.10 (2016j)
2016-11-24 10:40:15 +00:00
Derick Rethans
54b9cd5443
Empty merge
2016-11-24 10:40:15 +00:00
Derick Rethans
c38f2c2a6b
Updated to version 2016.10 (2016j)
2016-11-24 10:40:14 +00:00
Derick Rethans
0fcb39dbaa
Empty merge
2016-11-24 10:40:13 +00:00
Derick Rethans
6785ea2340
Updated to version 2016.10 (2016j)
2016-11-24 10:40:11 +00:00
Xinchen Hui
f6bbeab67f
Update NEWS
2016-11-24 12:04:03 +08:00
Xinchen Hui
c1c91c95a6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
2016-11-24 12:03:44 +08:00
Xinchen Hui
e19d263d81
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
...
Actually, I doubt how thing bug could be triggered
2016-11-24 12:02:02 +08:00
Ferenc Kovacs
0880f2d2f3
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-24 01:58:46 +01:00
Ferenc Kovacs
f8a7676fc8
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-24 01:57:42 +01:00
Ferenc Kovacs
e715dafae0
5.6.30 will be next
2016-11-24 01:54:23 +01:00
Remi Collet
b9f4100291
CS (no leading space in comment for config option)
2016-11-23 14:56:39 +01:00
Xinchen Hui
a0b28434cc
Fixed bug #73583 (Segfaults when conditionally declared class and function have the same name)
...
bug was introduced in rev 88eae43f , and the runtime defined key is not
merged-able
2016-11-23 14:24:46 +08:00
Nikita Popov
1c733a345f
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-22 19:25:53 +01:00
Nikita Popov
5b88c61580
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-22 19:25:31 +01:00
Nikita Popov
2d19c92fc2
Make php_url_parse_ex() respect length argument
...
This should fix all out-of-bounds reads that could previously
occur if the string passed to php_url_parse_ex() is not NUL
terminated.
2016-11-22 19:24:24 +01:00
Nikita Popov
f0f68c7274
Cleanup parse_url() query/fragment handling
...
The query/fragment handling was pretty convoluted, with many parts
being duplicated. Simplify by checking for fragment, then for query,
then for path.
2016-11-22 19:24:23 +01:00
Nikita Popov
9befad6fc2
Cleanup parse_url() gotos
...
Simplify some unnecessarily complicated code. In particular the
length updates are unnecessary (length is only used at the very
start) and we're goto'ing around a bit too much.
2016-11-22 19:24:21 +01:00
Anatol Belski
1208acfa1b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs_versions.txt
update libs versions.txt
2016-11-22 12:44:06 +01:00
Anatol Belski
13c45021dc
update libs_versions.txt
2016-11-22 12:42:57 +01:00
Anatol Belski
189deb9fa3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update libs versions.txt
2016-11-22 12:42:20 +01:00
Anatol Belski
3e45385903
update libs versions.txt
2016-11-22 12:36:51 +01:00
Anatol Belski
25b5c7c3ec
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to next
2016-11-22 11:56:16 +01:00
Anatol Belski
df902a7c28
move dev to next
2016-11-22 11:49:09 +01:00
Dmitry Stogov
cffa004240
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed use after free
2016-11-22 13:28:49 +03:00
Dmitry Stogov
0cf69234e9
Fixed use after free
2016-11-22 13:28:27 +03:00
Dmitry Stogov
4495ea4740
Micro-optimization
2016-11-22 12:06:39 +03:00
Dmitry Stogov
8d70b04a1c
Removed useless (double) checks for EG(exception). (Bob)
2016-11-22 11:50:48 +03:00
Dmitry Stogov
db5bbe94be
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed memory leak (Bob)
2016-11-22 11:22:55 +03:00
Dmitry Stogov
63ea4d194b
Fixed memory leak (Bob)
2016-11-22 11:22:10 +03:00
Anatol Belski
b10de2f5c2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "fix invalid read, follow up on 97b65cc9"
2016-11-22 02:59:17 +01:00
Anatol Belski
0da08fe595
Revert "fix invalid read, follow up on 97b65cc9"
...
This reverts commit b52fa5882a .
2016-11-22 02:52:23 +01:00
Anatol Belski
189df8e732
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix invalid read, follow up on 97b65cc9
2016-11-22 02:30:16 +01:00
Anatol Belski
b52fa5882a
fix invalid read, follow up on 97b65cc9
2016-11-22 02:28:45 +01:00
Anatol Belski
f574d78715
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
2016-11-22 01:01:18 +01:00
Anatol Belski
1549e0c208
update NEWS
2016-11-22 01:01:00 +01:00
Anatol Belski
d30b73a7d4
update NEWS
2016-11-22 00:59:40 +01:00
Anatol Belski
8c0227745b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-11-22 00:59:07 +01:00
Anatol Belski
0796db97d4
update NEWS
2016-11-22 00:57:18 +01:00
Anatol Belski
fc7d6e3ba5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73498
Add a test for bug 73498
2016-11-22 00:46:54 +01:00
Anatol Belski
58aa1a70a0
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73498
Add a test for bug 73498
2016-11-22 00:46:03 +01:00
Craig Duncan
644e290fcd
Fix bug #73498
...
Postgres uses the DELIMITER keyword since 7.3
And WITH is no longer required/used
2016-11-22 00:42:45 +01:00
Craig Duncan
d36d4c70d3
Add a test for bug 73498
2016-11-22 00:42:45 +01:00
Anatol Belski
d61db8d602
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove TSRMLS_*
2016-11-22 00:32:42 +01:00
Anatol Belski
5e9b4c26a5
remove TSRMLS_*
2016-11-21 23:53:37 +01:00
Anatol Belski
2f5e49bdeb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update php.ini-* for bug #69090
update php.ini-* according to changes for bug #69090
2016-11-21 22:59:30 +01:00
Anatol Belski
914ff56cff
update php.ini-* for bug #69090
2016-11-21 22:58:23 +01:00
Anatol Belski
d83ed9b588
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update php.ini-* according to changes for bug #69090
2016-11-21 22:56:46 +01:00
Anatol Belski
850c1095ab
update php.ini-* according to changes for bug #69090
2016-11-21 22:52:03 +01:00
Anatol Belski
285be2f92d
update NEWS
2016-11-21 20:01:07 +01:00
Anatol Belski
7b95441b72
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
2016-11-21 20:00:39 +01:00
Anatol Belski
35993dbb6f
update NEWS
2016-11-21 19:59:30 +01:00
Anatol Belski
0df6a32a35
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-11-21 19:58:54 +01:00
Anatol Belski
1d352645fc
update NEWS
2016-11-21 19:56:09 +01:00
Anatol Belski
86f9da4452
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add test for bug #73452
Backport 15ac4904 to 5.6
2016-11-21 15:31:34 +01:00
Anatol Belski
eb53865dfd
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add test for bug #73452
Backport 15ac4904 to 5.6
2016-11-21 15:29:44 +01:00
Anatol Belski
4805be1db6
add test for bug #73452
2016-11-21 15:25:46 +01:00
Anatol Belski
0da5cb5fb6
Backport 15ac4904 to 5.6
2016-11-21 15:20:03 +01:00
Dmitry Stogov
c2829dc628
Regenerated files
2016-11-21 10:38:08 +03:00
Xinchen Hui
50e60e85fe
Update NEWs
2016-11-21 11:46:37 +08:00
Xinchen Hui
270f9a0216
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update NEWS
Fix memory leak(null coalescing operator with Spl hash)
2016-11-21 11:46:03 +08:00
Xinchen Hui
a39d2f8ea1
Update NEWS
2016-11-21 11:45:49 +08:00
Tyson Andre
cdb7aafc23
Fix memory leak(null coalescing operator with Spl hash)
...
The SEPARATE_ARG_IF_REF macro increased the refcount of the object passed as a
key.
However, when the key did not exist in the ArrayAccess implementation,
the code returned early without trying to decrement the refcount.
Add a test of `??` succeeding+failing on a SplObjectStorage instance.
2016-11-20 15:46:13 -08:00
Jakub Zelenka
f284479734
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 20:38:34 +00:00
Jakub Zelenka
60574ea1ac
Fix bug #73526 (php_json_encode depth issue)
2016-11-20 20:36:03 +00:00
Nikita Popov
47252a1e74
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 21:19:20 +01:00
Craig Duncan
685b1292e9
Fix bug #73538
...
Remove any previous default headers and replace with the specified
ones, as documented, and as is the case when a single header is
passed.
2016-11-20 21:18:28 +01:00
Jakub Zelenka
ce4869f038
Fix bug #73478 (openssl_pkey_new() generates wrong pub/priv keys with Diffie Hellman)
2016-11-20 20:06:39 +00:00
Bob Weinand
110a6cc6c0
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 19:20:09 +01:00
Bob Weinand
bc30206b8a
Revert "Revert "Remove a few unused write warning""
...
This reverts commit ff5a65d26b .
(With zend_ prefix now)
2016-11-20 19:18:50 +01:00
Nikita Popov
c58378619b
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 19:10:03 +01:00
Nikita Popov
ff5a65d26b
Revert "Remove a few unused write warning (backport from master, oops)s"
...
This reverts commit c65d24eaa3 .
2016-11-20 19:09:05 +01:00
Bob Weinand
b7fee22e73
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 14:18:54 +01:00
Bob Weinand
c65d24eaa3
Remove a few unused write warning (backport from master, oops)s
2016-11-20 14:17:14 +01:00
Joe Watkins
40da843ab5
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
2016-11-20 08:34:16 +00:00
Joe Watkins
f67784907e
fix #72180 , #73219
2016-11-20 08:32:26 +00:00
Xinchen Hui
fcac0f23e0
Update NEWS
2016-11-20 15:47:39 +08:00
Xinchen Hui
0f5d03025f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73483 (Segmentation fault on pcre_replace_callback)
Fix #73219 (fix acinclude when / is present)
make it possible to show specific help pages without interactive session
Conflicts:
acinclude.m4
2016-11-20 15:46:53 +08:00
Xinchen Hui
ebfd93f725
Fixed bug #73483 (Segmentation fault on pcre_replace_callback)
2016-11-20 15:44:27 +08:00
Joe Watkins
274951a4a2
Fix #73219 (fix acinclude when / is present)
2016-11-20 05:34:08 +00:00
Joe Watkins
56f9a93939
make it possible to show specific help pages without interactive session
2016-11-20 05:25:42 +00:00
Joe Watkins
7753d10457
make it possible to show specific help pages without interactive session
2016-11-20 05:24:14 +00:00
Anatol Belski
c7d0571ef4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test portability
2016-11-18 22:11:25 +01:00
Anatol Belski
48191010d5
fix test portability
2016-11-18 22:10:41 +01:00
Nikita Popov
8bb3957270
Fixed bug #73303
2016-11-18 21:41:43 +01:00
Anatol Belski
828f866e47
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
don't fail miserably, when an unknown vc version is used
2016-11-18 18:21:28 +01:00
Anatol Belski
5b9d7160c5
don't fail miserably, when an unknown vc version is used
2016-11-18 18:19:47 +01:00
Nikita Popov
6c53fe3413
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-18 17:56:28 +01:00
Nikita Popov
c0b0e1b0c7
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-18 17:56:16 +01:00
Mitch Hagstrand
55980684f6
Fix the lchwon error test for Travis CI.
...
The E_WARNING message from the PHP function lchown is passed
from the system function lchown. The error message returned
from lchown can be filesystem dependent.
2016-11-18 17:55:44 +01:00
Christoph M. Becker
1c2f7fcce1
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-18 14:30:57 +01:00
Christoph M. Becker
583a273849
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-18 14:29:52 +01:00
Dmitry Stogov
2e3a4657ad
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Regenerated scanner
2016-11-18 16:20:09 +03:00
Dmitry Stogov
74b3e809d9
Regenerated scanner
2016-11-18 16:19:46 +03:00
Dmitry Stogov
d769a020df
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed memory leaks in parse_ini_file()
2016-11-18 16:18:22 +03:00
Dmitry Stogov
97b65cc9c2
Fixed memory leaks in parse_ini_file()
2016-11-18 16:17:52 +03:00
Christoph M. Becker
e44deba1e9
Fix #64526 : Add missing mysqlnd.* parameters to php.ini-*
2016-11-18 14:17:19 +01:00
Anatol Belski
9ab0db0813
extend skipif
2016-11-18 12:00:02 +01:00
Dmitry Stogov
6a647150ee
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Disabled PHP call tracing by default (it makes significant overhead). This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.
2016-11-18 13:21:22 +03:00
Dmitry Stogov
0c78fe4bb5
Disabled PHP call tracing by default (it makes significant overhead).
...
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.
2016-11-18 13:19:30 +03:00
Dmitry Stogov
a911df5d22
Revert "Introduced zend.enable_dtrace INI directive to enable/disable PHP call tracing"
...
This reverts commit 01239b0eff .
2016-11-18 12:52:46 +03:00
Dmitry Stogov
0e075d2f04
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
extend skipif
add vc15 to the list
2016-11-18 12:23:48 +03:00
Dmitry Stogov
01239b0eff
Introduced zend.enable_dtrace INI directive to enable/disable PHP call tracing
2016-11-18 12:23:10 +03:00
Anatol Belski
b2b63ce993
extend skipif
...
This test won't pass on Windows. The main reason is that the multiline
input is not really possible to create on cmd. But also, because of the
single quotes. And without multiline data piping, it doesn't make sense.
2016-11-18 02:23:17 +01:00
Anatol Belski
8806c54b00
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add vc15 to the list
2016-11-17 23:46:49 +01:00
Anatol Belski
5008acd1f6
add vc15 to the list
2016-11-17 23:43:32 +01:00
Dmitry Stogov
79d9c12bf9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
2016-11-17 15:59:35 +03:00
Dmitry Stogov
3817a2e6d5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed test
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
2016-11-17 15:58:38 +03:00
Dmitry Stogov
c2d6ffb85f
Fixed test
2016-11-17 15:57:40 +03:00
Nikita Popov
226b82b127
RC inference fixes
2016-11-17 13:47:36 +01:00
Dmitry Stogov
05d382e7ec
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:php-src:
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
2016-11-17 14:07:11 +03:00
Dmitry Stogov
087665e65d
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
Updated NEWS
Improvement for bug73297
Simplify ext/standard/tests/http/bug73297.phpt
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Add failing test for bug#73297
2016-11-17 14:06:56 +03:00
Dmitry Stogov
205c69939a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed 64-bit build
2016-11-17 14:05:48 +03:00
Dmitry Stogov
c2173c16d0
Fixed 64-bit build
2016-11-17 14:05:22 +03:00
Julien Pauli
0e03003db2
Updated NEWS
2016-11-17 11:51:53 +01:00
Julien Pauli
4b2cbc3f2f
Improvement for bug73297
2016-11-17 11:51:53 +01:00
Rowan Collins
66ac73bee8
Simplify ext/standard/tests/http/bug73297.phpt
2016-11-17 11:51:53 +01:00
Rowan Collins
94374c51e7
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
2016-11-17 11:51:53 +01:00
Rowan Collins
4683377dfa
Add failing test for bug#73297
2016-11-17 11:51:53 +01:00
Julien Pauli
344bc66b07
Updated NEWS
2016-11-17 11:51:31 +01:00
Julien Pauli
0f9225f893
Improvement for bug73297
2016-11-17 11:51:30 +01:00
Rowan Collins
773bc082ca
Simplify ext/standard/tests/http/bug73297.phpt
2016-11-17 11:51:29 +01:00
Rowan Collins
417162a9ba
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
2016-11-17 11:51:29 +01:00
Rowan Collins
12c4ff9b87
Add failing test for bug#73297
2016-11-17 11:51:29 +01:00
Dmitry Stogov
c8dc23e9ba
Fixed test
2016-11-17 13:43:45 +03:00
Julien Pauli
c4f1c20d80
Updated NEWS
2016-11-17 11:37:13 +01:00
Dmitry Stogov
a56bba14e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Prevent modification of immutable arrays (ext/mbstring/tests/bug26639.phpt failure with opcache.protect_memory=1)
2016-11-17 13:34:32 +03:00
Julien Pauli
49030f2a25
Improvement for bug73297
2016-11-17 11:33:36 +01:00
Dmitry Stogov
a67637039f
Prevent modification of immutable arrays (ext/mbstring/tests/bug26639.phpt failure with opcache.protect_memory=1)
2016-11-17 13:33:05 +03:00
Dmitry Stogov
365d613480
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Overflow check
2016-11-17 13:18:25 +03:00
Dmitry Stogov
d4b3f89c53
Overflow check
2016-11-17 13:17:34 +03:00
Rowan Collins
eba5e276c7
Simplify ext/standard/tests/http/bug73297.phpt
2016-11-17 11:04:57 +01:00
Rowan Collins
aec1a5eccc
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
2016-11-17 11:04:56 +01:00
Rowan Collins
6122526cea
Add failing test for bug#73297
2016-11-17 11:04:56 +01:00
Dmitry Stogov
ca27efd7b8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip 64-bit specific tests on 32-bit systems
2016-11-17 11:45:14 +03:00
Dmitry Stogov
5e001c34ec
Skip 64-bit specific tests on 32-bit systems
2016-11-17 11:44:28 +03:00
Dmitry Stogov
f8f35d0d4e
VERIFY_RETURN_TYPE on references can't be eliminated
2016-11-17 10:41:42 +03:00
Dmitry Stogov
429bfbd4c2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Accorate handling of too big inodes of chroot directories
2016-11-17 01:14:47 +03:00
Dmitry Stogov
27542d9c9d
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Accorate handling of too big inodes of chroot directories
2016-11-17 01:14:23 +03:00
Dmitry Stogov
9849c97b1b
Accorate handling of too big inodes of chroot directories
2016-11-17 01:08:42 +03:00
Nikita Popov
592c10d37c
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-16 21:33:05 +01:00
Mitch Hagstrand
1d8be7c044
Fix #73546 : Logging for opcache has an empty file name
2016-11-16 21:30:40 +01:00
Dmitry Stogov
09ac2bf752
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
"opcache.validate_root" is useless on Windows
2016-11-16 23:20:22 +03:00
Dmitry Stogov
71ee641327
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
"opcache.validate_root" is useless on Windows
2016-11-16 23:19:56 +03:00
Dmitry Stogov
935d922114
"opcache.validate_root" is useless on Windows
2016-11-16 23:15:14 +03:00
Nuno Lopes
d26b8804d0
fix gcov coverage
2016-11-16 15:11:07 -05:00
Dmitry Stogov
b3b2748ce9
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
fix gcov coverage
2016-11-16 23:10:59 +03:00
Dmitry Stogov
cd3527baee
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use full path
2016-11-16 23:09:13 +03:00
Nuno Lopes
7032ed37c0
fix gcov coverage
2016-11-16 15:08:42 -05:00
Dmitry Stogov
8e350a627a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Use full path
2016-11-16 23:05:00 +03:00
Dmitry Stogov
8202b97077
Use full path
2016-11-16 23:01:40 +03:00
Dmitry Stogov
a04d9e0f1b
Fixed type ingference
2016-11-16 20:49:00 +03:00
Dmitry Stogov
1f3a5b4501
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed ZTS build
2016-11-16 16:47:22 +03:00
Dmitry Stogov
99e5d6c4a5
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:php-src:
2016-11-16 16:47:05 +03:00
Dmitry Stogov
eb976b89c4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed ZTS build
Fix #73530 : Unsetting result set may reset other result set
2016-11-16 16:46:54 +03:00
Dmitry Stogov
a91f3d475e
Fixed ZTS build
2016-11-16 16:43:57 +03:00
Christoph M. Becker
c5abb87322
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-16 12:02:29 +01:00
Christoph M. Becker
936cafe33e
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-16 12:00:39 +01:00
Christoph M. Becker
eb570294a2
Fix #73530 : Unsetting result set may reset other result set
...
Calling sqlite3_reset() when a result set object is freed can cause
undesired and maybe even hard to track interference with other result
sets. Furthermore, there is no need to call sqlite3_reset(), because
that is implicitly called on SQLite3Stmt::execute(), and users are
encouraged to explicitly call either SQLite3Result::finalize() or
SQLite3Stmt::reset() anyway.
2016-11-16 11:49:04 +01:00
Anatol Belski
5eeec01bae
keep ABI
2016-11-16 11:21:32 +01:00
Dmitry Stogov
bffbff7dd0
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
Fixed bug #73512 Fails to find firebird headers
2016-11-16 12:59:28 +03:00
Dmitry Stogov
86460af56c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:56:15 +03:00
Dmitry Stogov
a1a5b52f3b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:49:50 +03:00
Remi Collet
397bedcc7c
Fixed bug #73512 Fails to find firebird headers
...
- use fb_config output instead of relying on hardoded path
2016-11-16 10:47:02 +01:00
Dmitry Stogov
ecba563f2f
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:43:10 +03:00
Xinchen Hui
5ae5ab83fd
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
new entry for #2196
Improve error message
Fix test
Refactor and cleanup implementation.
Revert "Fix Bug #73461 "
Revert "Protect class based session save handler"
Protect class based session save handler
Fix Bug #73461
2016-11-16 15:14:33 +08:00
Xinchen Hui
229024c725
Fixed bug #73532 (Null pointer dereference in mb_eregi)
2016-11-16 15:05:04 +08:00
Joe Watkins
0966c98eef
new entry for #2196
2016-11-16 05:12:04 +00:00
Yasuo Ohgaki
d990c54c83
Improve error message
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
3b45716e40
Fix test
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
3d6e922367
Refactor and cleanup implementation.
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
7b29c3fba6
Revert "Fix Bug #73461 "
...
This reverts commit 0383de14678e4c77e11ebf261530d4c1260825a1.
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
186ff85588
Revert "Protect class based session save handler"
...
This reverts commit d1be861aee1287e8ecb04b72d93b9749ab67706e.
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
46c64ac9f2
Protect class based session save handler
2016-11-16 05:08:28 +00:00
Yasuo Ohgaki
6230c2bad0
Fix Bug #73461
...
This patch disables any invalid save handler calls.
2016-11-16 05:08:28 +00:00
Christoph M. Becker
d6c36e9af7
Update to SQLite 3.15.1
2016-11-14 14:55:13 +01:00
Bob Weinand
6834b7344d
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-13 18:30:49 +01:00
Bob Weinand
22a43551a2
Fix passing of wrong values in bp export
2016-11-13 18:30:23 +01:00
Bob Weinand
ef657978b2
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-13 13:22:35 +01:00
Bob Weinand
ba75d4c50b
Properly escape all filenames when exporting breakpoints
2016-11-13 13:22:06 +01:00
Mitch Hagstrand
57c0773cd7
Fix phpdbg breakpoint restoring after execution completes
2016-11-13 12:44:25 +01:00
Bob Weinand
dbd504eaa9
Fix phpdbg ZTS shutdown with USE_ZEND_ALLOC
2016-11-13 12:25:43 +01:00
Joe Watkins
057ae377a0
news entry for #1787 in 7.1
2016-11-13 05:42:35 +00:00
Joe Watkins
77efe76bf7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for #1787
move declaration of vars to top
add test for #69587
fix bug #69587 DateInterval properties and isset
2016-11-13 05:34:11 +00:00
Joe Watkins
84e2904def
news entry for #1787
2016-11-13 05:33:59 +00:00
jhdxr
0bd63959c9
move declaration of vars to top
2016-11-13 05:32:24 +00:00
jhdxr
9ad2083773
add test for #69587
2016-11-13 05:32:24 +00:00
jhdxr
23f9e48273
fix bug #69587 DateInterval properties and isset
2016-11-13 05:32:24 +00:00
Joe Watkins
011afaf9c4
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
2016-11-12 17:57:20 +00:00
Nikita Popov
5f4f83220a
Don't inline if function has ref arguments
...
Otherwise we end up leaving opcodes like FETCH_DIM_W behind. The
test case demonstrates a leak in particular.
2016-11-12 18:49:41 +01:00
Joe Watkins
147f1f2e3b
fix news
2016-11-12 17:46:40 +00:00
Joe Watkins
beed682572
news entry for #2166
2016-11-12 17:45:16 +00:00
Edgar R. Sandi
72be8de39f
fixed bug generated by fixes bug #73135
2016-11-12 17:43:16 +00:00
Edgar R. Sandi
1631c61feb
phpt file to bug #73135
2016-11-12 17:43:16 +00:00
Edgar R. Sandi
319822b050
fixes bug #73135
2016-11-12 17:43:16 +00:00
Joe Watkins
2d865dfd35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for calendar overflow fix
Fix integer overflow in calender.
2016-11-12 17:35:24 +00:00
Joe Watkins
d2b03119e2
news entry for calendar overflow fix
2016-11-12 17:35:04 +00:00
Joshua Rogers
1b8cfaf23d
Fix integer overflow in calender.
...
Fix int overflows in conversation functions for calendar.
Add tests for the overflows.
2016-11-12 17:33:51 +00:00
Joe Watkins
d1910f66e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
added a test for date_interval_format function
Merge branch 'pull-request/2198'
2016-11-12 09:59:24 +00:00
Jean Carlo Machado
f578ce3a13
added a test for date_interval_format function
2016-11-12 09:57:50 +00:00
Joe Watkins
ff1986e4d7
Merge branch 'pull-request/2198'
2016-11-12 08:16:01 +00:00
Joe Watkins
41e04dbec0
Merge branch 'pull-request/2198'
2016-11-12 08:15:52 +00:00
Anatol Belski
8486e045db
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix erroneous line in confutils.js
2016-11-12 02:38:33 +01:00
Stricted
81fed37784
fix erroneous line in confutils.js
2016-11-12 02:35:41 +01:00
Nikita Popov
3c8beb16c4
Allow early-binding of ZEND_NEW args
2016-11-10 22:52:15 +01:00
Nikita Popov
8106c01afc
Fix block pass leaks
2016-11-10 22:28:32 +01:00
Nikita Popov
62af7e0db8
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-10 22:19:48 +01:00
Nikita Popov
bb3d0c0e17
Fcall optimization: Avoid FETCH_DIM_R with UNUSED op2
2016-11-10 21:36:46 +01:00
Joe Watkins
56e1807ef9
belated news entries
2016-11-10 17:11:24 +00:00
Nikita Popov
3048428cf0
Don't elide undef var notice
2016-11-10 14:58:54 +01:00
Nikita Popov
4f76073b6d
Set result of FREE to unused in block pass
2016-11-10 14:55:52 +01:00
Nikita Popov
570e7fa331
Fix ext/xml func info
2016-11-10 14:55:50 +01:00
Nikita Popov
0378121c64
Range inference cleanup
...
Replace inline #ifdefs with some macros. Fix build if NEG_RANGE is
disabled. Fix some typos. Add some comments.
2016-11-10 14:55:40 +01:00
Dmitry Stogov
0950550fb9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Don't update proprties inplace.
2016-11-10 12:34:09 +03:00
Dmitry Stogov
15ac490472
Don't update proprties inplace.
2016-11-10 12:32:07 +03:00
Anatol Belski
4a242b9feb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add missing NEWS entry
add missing NEWS entry
2016-11-09 21:37:41 +01:00
Anatol Belski
6c087f8551
add missing entry
2016-11-09 21:37:04 +01:00
Anatol Belski
f6be108574
add missing NEWS entry
2016-11-09 21:34:41 +01:00
Anatol Belski
cc1337bced
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add missing NEWS entry
2016-11-09 21:34:16 +01:00
Anatol Belski
e922d89f66
add missing NEWS entry
2016-11-09 21:32:44 +01:00
Anatol Belski
ddbac6d70d
improve lib name guessing for newer libtidy
...
FreeBSD calls it tidy5. Still, the check is not perfect, as both
old and new lib can coexist. ATM, the preference is to pick up the
old lib, still. In it's absense the new one will be looked up.
2016-11-09 11:28:50 +01:00
Anatol Belski
5445685591
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS
2016-11-09 11:20:20 +01:00
Anatol Belski
1beb5a74b1
sync NEWS
2016-11-09 11:19:13 +01:00
Pedro Magalhães
9b41591883
Remove binary casts from PHAR's default stub
2016-11-09 03:23:15 +00:00
Ferenc Kovacs
6cd7423706
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-09 02:18:18 +01:00
Ferenc Kovacs
723c7c6466
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-09 02:16:32 +01:00
Ferenc Kovacs
87673d6e99
add missing NEWS entries
2016-11-09 02:12:16 +01:00
Anatol Belski
59f2f14aea
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix memory leak
2016-11-08 12:17:39 +01:00
Anatol Belski
e87daf363b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix memory leak
2016-11-08 12:16:39 +01:00
Anatol Belski
d6d08f97cd
fix memory leak
2016-11-08 12:12:58 +01:00
Anatol Belski
9b81342352
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
Fix bug #73144 and bug #73341 - remove extra dtor
remove unreferenced var came in with merge
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
fix version
set versions
Fix bug #73144 and bug #73341 - remove extra dtor
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
2016-11-08 11:15:06 +01:00
Anatol Belski
2b30b54275
Merge remote-tracking branch 'phpsec/PHP-7.0.13' into PHP-7.0
...
* phpsec/PHP-7.0.13:
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
Fix bug #73144 and bug #73341 - remove extra dtor
remove unreferenced var came in with merge
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
fix version
set versions
2016-11-08 11:13:29 +01:00
Anatol Belski
5faaf76bd5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
Fix bug #73144 and bug #73341 - remove extra dtor
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
2016-11-08 11:11:22 +01:00
Anatol Belski
33766347cb
Merge remote-tracking branch 'phpsec/PHP-5.6.28' into PHP-5.6
2016-11-08 11:06:52 +01:00
Anatol Belski
ed12167edf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Enable FTS4 and FTS5 for bundled libsqlite
2016-11-08 02:35:33 +01:00
Anatol Belski
ef55a4b5b3
Enable FTS4 and FTS5 for bundled libsqlite
...
FTS3 is already enabled by default, and the other FTS versions
seems just to have been missed. Given that, the other FTS plugins
look like a low impact so worth a try. The current bundled libsqlite
versions in 7.x are proven stable already and support FTS5.
2016-11-08 02:26:43 +01:00
Anatol Belski
271a593198
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
avoid unneeded copying
2016-11-07 21:19:04 +01:00
Anatol Belski
0c2156d190
avoid unneeded copying
2016-11-07 21:09:03 +01:00
Anatol Belski
a6aa3edd73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-11-07 20:48:41 +01:00
Anatol Belski
054eafdc63
update NEWS
2016-11-07 20:48:13 +01:00
Anatol Belski
a67b894cc8
update NEWS
2016-11-07 20:47:06 +01:00
Anatol Belski
1257287dbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test for bug #73448
2016-11-07 20:40:46 +01:00
Anatol Belski
f0676cbe20
Add test for bug #73448
2016-11-07 20:39:51 +01:00
Anatol Belski
42925630a4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes
2016-11-07 20:21:56 +01:00
Anatol Belski
3558e70e58
Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes
2016-11-07 20:18:29 +01:00
Derick Rethans
69a3659d41
Add hint that naive DateTime comparisions now are more likely to fail
2016-11-07 16:40:42 +00:00
Jakub Zelenka
e161b0f755
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-06 20:44:40 +00:00
Jakub Zelenka
20587805f9
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-06 20:43:50 +00:00
Jakub Zelenka
493b2bff02
Fix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2)
2016-11-06 20:40:51 +00:00
Jakub Zelenka
e840071b76
Never return private part of the key from openssl_csr_get_public_key
...
This fixes ecc.phpt test when OpenSSL 1.1 linked.
2016-11-06 17:37:06 +00:00
Anatol Belski
43df063f9f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add missing RETURN_STRINGL_CHECK
2016-11-06 17:57:19 +01:00
Anatol Belski
8d1376ee4f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add missing RETURN_STRINGL_CHECK
2016-11-06 17:56:14 +01:00
Anatol Belski
b044a7429e
add missing RETURN_STRINGL_CHECK
...
As RETVAL_STRINGL_CHECK is already there, this one is needed for
completion. One place in ext/bz2 is missing that, so it will likely
be useful for other possible fixes.
2016-11-06 17:51:25 +01:00
Anatol Belski
71495d28a3
update NEWS
2016-11-06 17:12:46 +01:00
Anatol Belski
8519c05858
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-11-06 17:12:18 +01:00
Anatol Belski
b9200b4623
update NEWS
2016-11-06 17:11:19 +01:00
Nikita Popov
c0762bd8c8
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-05 23:10:19 +01:00
Nikita Popov
b2af4e8868
Complete the fix of bug #70172 for PHP 7
2016-11-05 23:06:27 +01:00
Anatol Belski
faae3122d2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix blob parameters binding. Fixes : #73087 , #61183 , #71494
2016-11-05 22:54:44 +01:00
Dorin Marcoci
3d73f718b2
Fix blob parameters binding. Fixes : #73087 , #61183 , #71494
...
Adjusted formatting according to requirements
Test case for bug #73087
2016-11-05 22:49:16 +01:00
Stanislav Malyshev
47d0993d2a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
More int->size_t and string overflow fixes
2016-11-05 14:00:53 -07:00
Stanislav Malyshev
3b78cabc88
More int->size_t and string overflow fixes
2016-11-05 14:00:47 -07:00
Stanislav Malyshev
f7f8aae33c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
More int->size_t and string overflow fixes
2016-11-05 13:59:35 -07:00
Stanislav Malyshev
669763d88a
More int->size_t and string overflow fixes
2016-11-05 13:22:17 -07:00
Anatol Belski
86ae78d7c6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
rename the tmp ini file, to keep it consistent with m4 variant
2016-11-04 18:43:56 +01:00
Anatol Belski
cf4f168d4c
rename the tmp ini file, to keep it consistent with m4 variant
2016-11-04 18:42:36 +01:00
Anatol Belski
d73af63ec9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix dir separator in test
2016-11-04 18:39:09 +01:00
Anatol Belski
3ec398f650
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix dir separator in test
2016-11-04 18:38:22 +01:00
Anatol Belski
617f38b0e0
fix dir separator in test
2016-11-04 18:29:54 +01:00
Anatol Belski
177bb79359
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix dir separator
2016-11-04 13:11:29 +01:00
Anatol Belski
a61eade827
fix dir separator
2016-11-04 13:10:52 +01:00
Stanislav Malyshev
25d04ad8e3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add length check for bzcompress too - fix for bug #73356
More string length checks & fixes
More string length checks & fixes
2016-11-03 22:53:05 -07:00
Stanislav Malyshev
d858b4c77f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Add length check for bzcompress too - fix for bug #73356
2016-11-03 22:30:46 -07:00
Stanislav Malyshev
40f7fea897
Add length check for bzcompress too - fix for bug #73356
2016-11-03 22:10:22 -07:00
Stanislav Malyshev
2fa455128c
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
More string length checks & fixes
2016-11-03 22:05:25 -07:00
Stanislav Malyshev
1fd18821e0
More string length checks & fixes
2016-11-03 21:35:09 -07:00
Stanislav Malyshev
6e12e49b5b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
More string length checks & fixes
2016-11-03 20:46:25 -07:00
Stanislav Malyshev
ea9fac94bb
More string length checks & fixes
2016-11-03 20:36:52 -07:00
Derick Rethans
0bc6592307
Updated to version 2016.9 (2016i)
2016-11-03 13:57:32 -04:00
Derick Rethans
9a1b912f0f
Empty merge
2016-11-03 13:57:32 -04:00
Derick Rethans
7f2b7a4950
Updated to version 2016.9 (2016i)
2016-11-03 13:57:31 -04:00
Derick Rethans
209202e4b5
Empty merge
2016-11-03 13:57:30 -04:00
Derick Rethans
ccb91cde94
Updated to version 2016.9 (2016i)
2016-11-03 13:57:28 -04:00
Anatol Belski
de643586de
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
...
(cherry picked from commit 99b242a6d0 )
2016-11-03 17:09:03 +01:00
Anatol Belski
99b242a6d0
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
2016-11-03 17:03:23 +01:00
Xinchen Hui
6838737f85
Update NEWS
2016-11-02 12:12:12 +08:00
Xinchen Hui
46ab107936
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73423 (Reproducible crash with GDB backtrace)
2016-11-02 12:11:48 +08:00
Xinchen Hui
1efb9fd32d
Fixed bug #73423 (Reproducible crash with GDB backtrace)
2016-11-02 12:11:30 +08:00
Dmitry Stogov
bdc1ba3e3a
Intriduced ZEND_ACC_INHERITED class flag.
...
It's going to be helpful for static optimisations, when "parent" is not known yet.
2016-11-01 22:56:25 +03:00
Christoph M. Becker
b281362681
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-01 20:29:11 +01:00
Christoph M. Becker
8957ff36b3
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-01 20:24:10 +01:00
Christoph M. Becker
2eacb53fc4
Fix #73436 : Setting allow_url_fopen to Off makes several tests fail
...
We make sure that these tests run with allow_url_fopen=1.
2016-11-01 20:13:53 +01:00
Sara Golemon
65d7bbaddc
Change Big Endian backup implementations to use signed indexes
...
load64() counted down from 7..0, but the decrement turned 0 into 255.
This means the loop would never terminate on Big Endian systems.
Just use signed char integers since we're only dealing with values from 0..7 anyway.
Closes https://bugs.php.net/bug.php?id=73282
2016-11-01 09:35:54 -07:00
Dmitry Stogov
a5458e7e8e
Fixed reference-counter inference
2016-11-01 19:04:10 +03:00
Anatol Belski
d7608d0d69
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add run target
2016-11-01 14:02:04 +01:00
Anatol Belski
197def7233
add run target
...
With this it is possible to run some code with the currently compiled
PHP and all the required environment included.
2016-11-01 13:50:46 +01:00
Christoph M. Becker
5693474997
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
...
We must not allow negative color values be passed to
gdImageFillToBorder(), because that can lead to infinite recursion
since the recursion termination condition will not necessarily be met.
(cherry picked from commit 863d37ea66 )
2016-11-01 13:07:37 +01:00
Christoph M. Becker
1b5543b8ab
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
...
Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.
(cherry picked from commit 6499581af7 )
2016-11-01 13:03:41 +01:00
Stanislav Malyshev
7cf7920055
Fix bug #73144 and bug #73341 - remove extra dtor
...
(cherry picked from commit f74d7d92c8 )
Conflicts:
ext/spl/spl_array.c
Merged the test only, in 7.0 tree the removed dtor call is already
not present.
2016-11-01 13:01:58 +01:00
Anatol Belski
6b21c28b0e
remove unreferenced var came in with merge
2016-11-01 12:55:05 +01:00
Stanislav Malyshev
8c67460a10
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
...
Proper soltion would be to call serialize/unserialize and deal with the result,
but this requires more work that should be done by wddx maintainer (not me).
(cherry picked from commit 6045de69c7 )
Conflicts:
ext/wddx/wddx.c
2016-11-01 12:50:33 +01:00
Dmitry Stogov
e88adddfd1
Fixed reference-counter inference
2016-11-01 00:18:12 +03:00
Dmitry Stogov
d3325ff771
typo
2016-10-31 21:39:34 +03:00
Dmitry Stogov
e696927e48
Fixed reference-counter inference
2016-10-31 19:51:19 +03:00
Derick Rethans
1d1a7feecf
- Fixed bug #73426 : createFromFormat with 'z' format char results in incorrect time.
2016-10-31 10:43:33 +00:00
Stanislav Malyshev
97fc6aa8df
Merge branch 'pull-request/2179' into PHP-7.1
...
* pull-request/2179:
Typo
2016-10-30 17:11:18 -07:00
Christoph M. Becker
863d37ea66
Fix #72696 : imagefilltoborder stackoverflow on truecolor images
...
We must not allow negative color values be passed to
gdImageFillToBorder(), because that can lead to infinite recursion
since the recursion termination condition will not necessarily be met.
2016-10-30 14:31:29 -07:00
Christoph M. Becker
6499581af7
Fix #72482 : Ilegal write/read access caused by gdImageAALine overflow
...
Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.
2016-10-30 14:28:23 -07:00
Anatol Belski
5c793bf2ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
prefer symbols read from the bin to those matching the naming scheme
2016-10-30 21:27:35 +01:00
Anatol Belski
4b472b0763
prefer symbols read from the bin to those matching the naming scheme
2016-10-30 21:26:19 +01:00
Anatol Belski
73afc03679
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove debug out
2016-10-30 21:13:55 +01:00
Anatol Belski
4dfd7de974
remove debug out
2016-10-30 21:12:50 +01:00
Anatol Belski
12571e4cfe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix link with deps pdb availability
2016-10-30 21:07:20 +01:00
Anatol Belski
c5a4a6f1f2
fix link with deps pdb availability
...
Unlike debugger, linker is currently not able to read the pdb files,
even if they're put onto path. As result, a lot of LNK4099 warnings
and in some cases also missing debug information in the end binaries.
This is solved by copying the relevant pdb into the build dir, which
then can be picked up on link time. This also leads to the inclusion
of those pdb files into the debug package, so symbols won't be missed
in crash dumps. As otherwise the debug info for dependencies is only
contained in the dependency packages.
2016-10-30 20:55:38 +01:00
Jakub Zelenka
1a13809bae
Define X509_get_signature_nid for LibreSSL
...
It should hopefully fix the LibreSSL build. Thanks to Alice Wonder!
2016-10-30 19:12:24 +00:00
Jakub Zelenka
72659f9597
Fix EC_KEY memory leaks
...
It was caused by using of EVP_PKEY_get1_EC_KEY which increments an EC_KEY
reference. The fix it we simply use EVP_PKEY_get0_EC_KEY.
2016-10-30 18:58:11 +00:00
Anatol Belski
d23aa74f07
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use rather the makefile var
rename the env setting target and reuse it for build-snap
2016-10-30 15:30:17 +01:00
Anatol Belski
cdea5eb941
use rather the makefile var
2016-10-30 15:29:13 +01:00
Anatol Belski
78a164bad5
rename the env setting target and reuse it for build-snap
2016-10-30 15:22:45 +01:00
Jakub Zelenka
c34de0b61c
Introduce json encoder to fix globals related issues
...
It fixes bugs #66025 and #73254 by replacing globals with
a passed structure holding depth and error code. In addition
it fixes #72069 in a more generic way.
2016-10-30 13:20:10 +00:00
Bob Weinand
be6bf71274
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-29 18:50:06 +02:00
Bob Weinand
36527eccbb
Fixed build failure introduced by PR #2158
...
Note: AC_TRY_LINK interprets the source as part of a main function, ending up with int main() { /* ... */ int main() { /* ... */ } ; return 0; } here - Using AC_LINK_IFELSE with AC_LANG_SOURCE directly instead.
2016-10-29 18:49:38 +02:00
Anatol Belski
87cb91ea7c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix condition
2016-10-29 17:57:33 +02:00
Anatol Belski
c7ec36d4fa
fix condition
2016-10-29 17:54:26 +02:00
Xinchen Hui
e6b7e6081e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
2016-10-29 23:44:37 +08:00
Xinchen Hui
af873d4788
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
Conflicts:
ext/opcache/Optimizer/zend_optimizer.c
2016-10-29 23:43:59 +08:00
Xinchen Hui
ef75ddd4f9
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
2016-10-29 23:41:51 +08:00
Nikita Popov
29bc6557c8
Optimize __get etc
...
Cheap 20% win by skipping the function name allocation if we don't
need it.
2016-10-29 14:38:34 +02:00
Xinchen Hui
6b671ca3ed
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip if no jit is built
2016-10-29 14:23:47 +08:00
Xinchen Hui
66caa61188
Skip if no jit is built
2016-10-29 14:23:25 +08:00
Anatol Belski
8e4ea7a188
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test run with autogenerated ini
2016-10-29 03:18:19 +02:00
Anatol Belski
ddbcb2084a
fix test run with autogenerated ini
2016-10-29 03:17:29 +02:00
Anatol Belski
3f35078857
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
generate test ini file, so shared exts are loaded for nmake test
additional env is generated for phpize, too
2016-10-29 02:12:05 +02:00
Anatol Belski
5b04a2187e
generate test ini file, so shared exts are loaded for nmake test
2016-10-29 02:08:48 +02:00
Anatol Belski
f5131c6c04
additional env is generated for phpize, too
2016-10-28 23:11:47 +02:00
Xinchen Hui
103f633092
Update NEWS
2016-10-28 21:21:48 +08:00
Xinchen Hui
7778bdcd04
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73392 (A use-after-free in zend allocator management)
2016-10-28 21:21:35 +08:00
Xinchen Hui
e5aa365147
Fixed bug #73392 (A use-after-free in zend allocator management)
2016-10-28 21:21:24 +08:00
Benjamin Morel
da22cfe032
Typo
2016-10-28 10:04:23 +02:00
Ferenc Kovacs
2e2433531b
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-27 23:40:41 +02:00
Ferenc Kovacs
09a224d702
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-27 23:37:51 +02:00
Ferenc Kovacs
9b3a1e00ab
5.6.29 will be next
2016-10-27 23:10:59 +02:00
Anatol Belski
3f12d852ec
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use rather the nmake var as it's evaluated on every run
2016-10-27 22:36:00 +02:00
Anatol Belski
a481291f02
use rather the nmake var as it's evaluated on every run
2016-10-27 22:34:34 +02:00
Anatol Belski
66f3fcee08
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
prepend known bin folders to the path for nmake test runs
2016-10-27 20:43:25 +02:00
Anatol Belski
1be8339891
prepend known bin folders to the path for nmake test runs
2016-10-27 20:41:41 +02:00
Anatol Belski
931ea5c872
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
yet another uninitialized pointer
2016-10-27 02:45:48 +02:00
Anatol Belski
e586c7c612
yet another uninitialized pointer
2016-10-27 02:42:30 +02:00
Anatol Belski
4e3eb4a5f8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix uninitialized pointer
2016-10-27 02:20:12 +02:00
Anatol Belski
b9993c8b6c
fix uninitialized pointer
2016-10-27 02:15:14 +02:00
Dmitry Stogov
4616441980
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)
2016-10-26 15:22:51 +03:00
Dmitry Stogov
3fb0a1a4e7
Fixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)
2016-10-26 15:17:09 +03:00
Anatol Belski
81f859b5ce
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make config.w32 compatible with ICU 58
2016-10-26 13:07:44 +02:00
Anatol Belski
0f9a4af90b
make config.w32 compatible with ICU 58
2016-10-26 13:05:03 +02:00
Dmitry Stogov
bdd3fec7f8
Fixed incorrec type usage
2016-10-25 22:12:34 +03:00
Yasuo Ohgaki
e893abda81
Revert "Update UPGRADING to reflect bug fix"
...
This change was made in 7.0. Sorry for the noise.
This reverts commit e9c8e50b66 .
2016-10-26 04:01:55 +09:00
Yasuo Ohgaki
e9c8e50b66
Update UPGRADING to reflect bug fix
2016-10-26 03:26:44 +09:00
Joe Watkins
0d2084b1ce
news for next rc
2016-10-25 16:22:23 +01:00
Dmitry Stogov
01bc515b4d
Export zend_analyze_calls() to allow building call trees.
2016-10-25 17:20:27 +03:00
Christoph M. Becker
c30e5a32c1
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-25 14:35:38 +02:00
Christoph M. Becker
af4bfe234c
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-25 14:31:41 +02:00
Christoph M. Becker
cd13d0260a
Fix #72494 : imagecropauto out-of-bounds access
...
This issue has actually already been fixed with commit 46f2c690. We're
adding a regression test and a NEWS entry, and also port the fix in
gdImageCropThreshold() from libgd:
* <https://github.com/libgd/libgd/commit/b347e034 >
* <https://github.com/libgd/libgd/commit/46f2c690 >
2016-10-25 14:29:48 +02:00
Anatol Belski
12bb3cd8d2
fix version
2016-10-25 11:18:07 +02:00
Anatol Belski
41923c1943
set versions
2016-10-25 10:40:23 +02:00
Anatol Belski
1fd3ab4fe9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to 7.0.14
2016-10-25 10:31:49 +02:00
Anatol Belski
277e829f10
move dev to 7.0.14
2016-10-25 10:29:51 +02:00
Derick Rethans
7b9a17d797
Updated to version 2016.8 (2016h)
2016-10-24 10:37:17 +01:00
Derick Rethans
4d2cc0149f
Empty merge
2016-10-24 10:37:16 +01:00
Derick Rethans
7544040469
Updated to version 2016.8 (2016h)
2016-10-24 10:37:13 +01:00
Derick Rethans
76293254cf
Empty merge
2016-10-24 10:37:12 +01:00
Derick Rethans
4f5a755b9d
Updated to version 2016.8 (2016h)
2016-10-24 10:37:07 +01:00
Stanislav Malyshev
f74d7d92c8
Fix bug #73144 and bug #73341 - remove extra dtor
2016-10-23 22:03:16 -07:00
Stanislav Malyshev
6045de69c7
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
...
Proper soltion would be to call serialize/unserialize and deal with the result,
but this requires more work that should be done by wddx maintainer (not me).
2016-10-23 20:09:23 -07:00
Nikita Popov
cbde0a6fc2
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-23 22:27:11 +02:00
Nikita Popov
89d3e234af
Fix test output
...
Changed due to eca84946a4 .
2016-10-23 22:26:25 +02:00
Nikita Popov
c3232c5903
Fix call graph construction
...
Travis build for 7.1+ has been failing for the past week...
2016-10-23 22:12:55 +02:00
Jakub Zelenka
820bca8ca3
Try to fix LibreSSL build
2016-10-23 19:55:22 +01:00
Jakub Zelenka
930ae4034e
Drop useless checks for DH and RSA
...
If DH or RSA was disabled, the build would fail already as
it's used already elsewhere without checking the OPENSSL_NO_DH
or OPENSSL_NO_RSA defines.
2016-10-23 19:37:07 +01:00
Xinchen Hui
7c8650fe81
Update NEWS
2016-10-22 14:51:11 +08:00
Xinchen Hui
788368ff1c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73350 (Exception::__toString() cause circular references)
2016-10-22 14:50:42 +08:00
Xinchen Hui
eca84946a4
Fixed bug #73350 (Exception::__toString() cause circular references)
2016-10-22 14:50:21 +08:00
Anatol Belski
2860fd40d6
Better fix for bug #73360
...
This also fixes the TS issue. And, it also reveals that there's an
issue in the VCWD_* API to be possibly addressed.
2016-10-21 21:29:35 +02:00
Anatol Belski
fbf46d36ca
Revert "Fixed bug #73360 Unable to work in root with unicode chars"
...
This reverts commit 64fee0aecb .
2016-10-21 20:15:16 +02:00
Anatol Belski
9ffc90baf8
update NEWS
...
The bug is currently not good testable, because the doc_root will be
blocked from the invoked test server process. This will prevent the
cleanup, which would be confusing.
2016-10-21 16:43:55 +02:00
Anatol Belski
64fee0aecb
Fixed bug #73360 Unable to work in root with unicode chars
2016-10-21 15:22:59 +02:00
Nikita Popov
736633310c
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-20 13:26:34 +02:00
Adam Saponara
55d17662cb
Fix bug #71241 : array_replace_recursive mutates ref params
...
`array_replace_recursive` can sometimes mutate its params if
references are nested within. This differs from the PHP 5 behavior.
2016-10-20 13:22:04 +02:00
Leigh
f5244f336a
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-20 10:18:16 +01:00
Leigh
c3361f16c7
Add php_random_int internal API
...
This is the internal API compliment to `php_random_bytes`
2016-10-20 10:18:07 +01:00
Joe Watkins
1752b44d15
news entry for #pr 2152
2016-10-20 05:23:40 +01:00
Joe Watkins
5de20ef3ae
Merge branch 'pull-request/2152' into PHP-7.1
2016-10-20 05:23:21 +01:00
Joe Watkins
9e480a1766
news entry for #pr 2152
2016-10-20 05:21:56 +01:00
Joe Watkins
295377630a
Merge branch 'pull-request/2152' into PHP-7.0
2016-10-20 05:19:10 +01:00
Dmitry Stogov
565ce0d41d
Fixed typo
2016-10-20 01:17:40 +03:00
Dmitry Stogov
9ded1b4edb
Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)
2016-10-19 23:10:42 +03:00
Anatol Belski
eaba20999b
update NEWS
2016-10-18 19:44:20 +02:00
Anatol Belski
744ea9721e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-10-18 19:43:57 +02:00
Anatol Belski
b754bc797c
update NEWS
2016-10-18 19:43:12 +02:00
Anatol Belski
671f647739
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73329 (Float)"Nano" == NAN
2016-10-18 19:14:14 +02:00
Anatol Belski
9f2ab75b10
Fixed bug #73329 (Float)"Nano" == NAN
...
The special cases (float)"inf", etc. were never intended and are
caused by the updated strtod lib. While it might be nice as an
easy way to produce Inf and NaN special values, it was never
documented and cause BC breaches.
2016-10-18 19:11:18 +02:00
Anatol Belski
1c7a53a3c0
sync NEWS
2016-10-18 18:24:42 +02:00
Anatol Belski
6d6616cc9d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS
2016-10-18 18:22:52 +02:00
Anatol Belski
b4371a4292
sync NEWS
...
48f1a178 is reverted
2016-10-18 18:18:04 +02:00
Bob Weinand
58f3b9c0ef
Merge remote-tracking branch 'origin/PHP-7.0' into PHP-7.1
2016-10-18 14:31:49 +02:00
Bob Weinand
8b177f6a2a
Fixed bug #73338 (Exception thrown from error handler may crash)
2016-10-18 14:14:24 +02:00
Dmitry Stogov
c31d66b3fd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)
Revert "Fix bug #47890 #73215 uniqid() should use better random source"
Update NEWS
2016-10-18 15:09:44 +03:00
Dmitry Stogov
7bd4e7208e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)
2016-10-18 15:04:49 +03:00
Dmitry Stogov
6558559bcc
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)
2016-10-18 14:48:01 +03:00
Joe Watkins
689cf8b266
Revert "Fix bug #47890 #73215 uniqid() should use better random source"
...
This reverts commit 48f1a17886 .
2016-10-18 11:30:33 +01:00
Joe Watkins
8c74be0c52
Revert "Fix bug #47890 #73215 uniqid() should use better random source"
...
This reverts commit 48f1a17886 .
2016-10-18 11:30:19 +01:00
Dmitry Stogov
ac6134fb64
Fixed type inference rules.
2016-10-18 12:39:33 +03:00
Yasuo Ohgaki
10a075fbd5
Update NEWS
2016-10-18 09:28:18 +09:00
Yasuo Ohgaki
14beea9a36
Update NEWS
2016-10-18 09:28:08 +09:00
Yasuo Ohgaki
235cb691e1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #47890 #73215 uniqid() should use better random source
2016-10-18 09:14:48 +09:00
Yasuo Ohgaki
48f1a17886
Fix bug #47890 #73215 uniqid() should use better random source
2016-10-18 09:13:42 +09:00
Christoph M. Becker
32123167d1
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-18 00:01:32 +02:00
Yasuo Ohgaki
70afe4c494
Simply return FALSE from session_gc(). Error could be annoying because internal save handlers may return -1 when GC cannot be performed for reasons
2016-10-18 06:53:13 +09:00
Christoph M. Becker
0b596f81b8
Merge branch 'PHP-5.6' into PHP-7.0
...
We also use ZEND_LONG_(MAX|MIN) now instead of LONG_(MAX|MIN).
2016-10-17 23:38:28 +02:00
Christoph M. Becker
86e603a664
Fix #73333 : 2147483647 is fetched as string
...
We return all integers that can be represented as such by PHP as
integers, and only those that exceed the possible range as strings.
On builds which represent integers with 64 bits, the range check is
unnecessary and might cause code checkers to complain, so we skip this
special casing via the preprocessor according to
<http://git.php.net/?p=php-src.git;a=commit;h=99d087e5 >.
2016-10-17 23:34:41 +02:00
Dmitry Stogov
ed3196ea35
Use simple "one-pass" algorithm.
2016-10-18 00:06:20 +03:00
Anatol Belski
faa2a43d4b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS
Merge branch 'pull-request/1817'
Merge branch 'pull-request/1816'
Merge branch 'pull-request/1814'
Merge branch 'pull-request/1808'
Merge branch 'pull-request/2097'
news entry for pr #2158
Merge branch 'pull-request/2158'
2016-10-17 21:27:32 +02:00
Anatol Belski
f85cc6aead
sync NEWS
2016-10-17 21:26:34 +02:00
Joe Watkins
dcae3ce1e6
Merge branch 'pull-request/1817'
2016-10-17 17:02:22 +01:00
Joe Watkins
4dfd5f4403
Merge branch 'pull-request/1816'
2016-10-17 17:02:19 +01:00
Joe Watkins
d6fb5a1f1e
Merge branch 'pull-request/1814'
2016-10-17 17:02:13 +01:00
Joe Watkins
b274be5d9d
Merge branch 'pull-request/1808'
2016-10-17 17:02:07 +01:00
Joe Watkins
39ee3184ee
Merge branch 'pull-request/1817'
2016-10-17 17:01:39 +01:00
Joe Watkins
5eb84337a6
Merge branch 'pull-request/1816'
2016-10-17 17:01:28 +01:00
Joe Watkins
522e4f1174
Merge branch 'pull-request/1814'
2016-10-17 17:01:10 +01:00
Joe Watkins
6806a41e7f
Merge branch 'pull-request/1808'
2016-10-17 17:00:50 +01:00
Joe Watkins
96ed946b2b
Merge branch 'pull-request/2097'
2016-10-17 16:03:12 +01:00
Joe Watkins
63166412a2
Merge branch 'pull-request/2097'
2016-10-17 16:02:51 +01:00
Joe Watkins
bd6bce888a
news entry for pr #2158
2016-10-17 15:50:59 +01:00
Joe Watkins
8d6cc00cbd
Merge branch 'pull-request/2158'
2016-10-17 15:48:32 +01:00
Joe Watkins
cc80ca9b84
news entry for pr #2158
2016-10-17 14:47:08 +01:00
Joe Watkins
ae6fc21f14
Merge branch 'pull-request/2158'
2016-10-17 14:46:03 +01:00
Joe Watkins
6091873d4a
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
...
This reverts commit 2d8ab51576 .
2016-10-17 14:22:55 +01:00
Joe Watkins
5fa76095bb
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
2016-10-17 14:12:15 +01:00
Joe Watkins
fe02227524
sync news from 7.1.0RC4
2016-10-17 14:11:39 +01:00
Remi Collet
0820c94382
also fix 32bits test for microsecond
2016-10-17 15:07:56 +02:00
Joe Watkins
6766a985eb
bump news version
2016-10-17 11:31:34 +01:00
Christopher Jones
72041580bd
Update 7.1 NEWS for bug #71148
2016-10-17 12:52:34 +11:00
Christopher Jones
23e2c356b7
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-17 12:40:54 +11:00
Christopher Jones
8be59a1301
Fixed bug #71148 (Bind reference overwritten on PHP 7)
2016-10-17 12:40:14 +11:00
Bob Weinand
f8c2089651
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-16 15:46:33 +02:00
Bob Weinand
d82da7de3a
Fixed bug #71234 (INI files are loaded even invoked as phpdbg -n --version)
2016-10-16 15:41:37 +02:00
Bob Weinand
47bd3d982e
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-16 13:48:13 +02:00
Bob Weinand
e93eaee164
Fixed bug #70776 (Simple SIGINT does not have any effect)
2016-10-16 13:47:49 +02:00
Bob Weinand
601ab6e9d0
Fix searching for catch blocks
...
Since PHP-7.1 catch blocks are addressed with relative byte difference between two catch blocks as opposed to absolute opcode number
2016-10-16 12:34:10 +02:00
Nikita Popov
9f472ba5e3
Various function info fixes
2016-10-15 23:58:31 +02:00
Nikita Popov
659cc278e2
Various RC inference fixes
2016-10-15 23:58:29 +02:00
Nikita Popov
1903fc6298
Fix SplFixedArray::offsetGet() invocation for NULL offset
2016-10-15 23:58:28 +02:00
Nikita Popov
b1fc1fb937
Normalize preg_replace_callback() return value
...
One particular error case was returning the argument without
casting to string.
2016-10-15 23:58:26 +02:00
Christoph M. Becker
663491b9ba
Update to SQLite 3.15.0
2016-10-15 19:46:00 +02:00
Anatol Belski
3d7cd272ef
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS
2016-10-14 19:52:52 +02:00
Anatol Belski
6d91772c2f
sync NEWS
2016-10-14 19:52:04 +02:00
Remi Collet
20b1029e4c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
bump ext/zip version
2016-10-14 17:31:26 +02:00
Remi Collet
f1cf340e19
bump ext/zip version
2016-10-14 17:31:07 +02:00
Christoph M. Becker
2cc3aeb4b9
Implement #72918 : negative offset inside a quoted string leads to parse error
...
We allow negative numeric offsets for the simple syntax inside
double-quoted and heredoc strings.
2016-10-14 14:14:08 +02:00
Christoph M. Becker
6e3ab61fa5
Update NEWS
...
This entry has been lost due to a bad merge.
2016-10-14 13:52:21 +02:00
Bob Weinand
386aff451b
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-14 12:25:16 +02:00
Bob Weinand
466870e2b0
Fix memory leak when compiling files in phpdbg
2016-10-14 12:24:28 +02:00
Remi Collet
aecd165b8f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use zend_error instead of zend_error_noreturn
2016-10-14 10:54:47 +02:00
Remi Collet
428ef50838
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
use zend_error instead of zend_error_noreturn
2016-10-14 10:54:09 +02:00
Remi Collet
e1f5b6d8df
use zend_error instead of zend_error_noreturn
2016-10-14 10:53:40 +02:00
Ferenc Kovacs
65e6f7e16f
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-14 08:09:29 +02:00
Ferenc Kovacs
d0b9d72da7
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-14 08:08:10 +02:00
Ferenc Kovacs
f7bf9650aa
add missing NEWS entries for 5.6.27
2016-10-14 08:06:14 +02:00
Keith Smiley
3b9ba6195d
soap #69137 - Invert logic to be correct
2016-10-13 23:56:24 -04:00
Anatol Belski
84a5821212
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0: (62 commits)
missed piece for renaming
rename publicly exposed symbol to avoid name conflicts
Ignore non-executable opcodes in line mode of phpdbg_end_oplog()
Fix #73280 : Stack Buffer Overflow in GD dynamicGetbuf
use already exported symbol
Revert "export symbol missing by phpdbg"
Fix outlen for openssl function
Syncronize with 5.6 - __toString should return ""
Fix potential overflows in php_pcre_replace_impl
Fixed bug #73237
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()
Update NEWS
Fix phpdbg tests after lineno change
Fix line number of implicit return in pseudo-main scope
export symbol missing by phpdbg
Fix accidental PHPDBG_ABI break
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
update len in fallback cases
Add stdin command and -s command line parameter to phpdbg
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
...
2016-10-14 04:19:16 +02:00
Anatol Belski
d35d9d1d0e
missed piece for renaming
...
(cherry picked from commit 5ba9eab436 )
2016-10-14 02:08:28 +02:00
Anatol Belski
dd604015be
rename publicly exposed symbol to avoid name conflicts
...
(cherry picked from commit 730288ae41 )
2016-10-14 02:08:14 +02:00
Bob Weinand
990e2ce2a0
Ignore non-executable opcodes in line mode of phpdbg_end_oplog()
...
(cherry picked from commit d14498a475 )
2016-10-14 02:03:46 +02:00
Anatol Belski
c79f9a4e49
fix gettimeofday proto availability
...
(cherry picked from commit 79f7d174d0 )
2016-10-14 02:03:02 +02:00
Christoph M. Becker
0864915550
Fix #73280 : Stack Buffer Overflow in GD dynamicGetbuf
...
We make sure to never pass a negative `rlen` as size to memcpy().
Cf. <https://github.com/libgd/libgd/commit/53110871 >.
(cherry picked from commit cc08cbc84d )
2016-10-14 02:02:42 +02:00
Anatol Belski
20b63996c0
fix test
...
(cherry picked from commit 57354e0313 )
2016-10-14 02:01:53 +02:00
Anatol Belski
5ce2230266
use already exported symbol
...
(cherry picked from commit ce3e792c2c )
2016-10-14 02:01:22 +02:00
Anatol Belski
ee42529750
Revert "export symbol missing by phpdbg"
...
This reverts commit 611ab7fe5b .
Overseen strpprintf is there
(cherry picked from commit 3104882cf8 )
2016-10-14 02:01:08 +02:00
Stanislav Malyshev
177e6adca7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix outlen for openssl function
Syncronize with 5.6 - __toString should return ""
Fix potential overflows in php_pcre_replace_impl
(cherry picked from commit ff75665663 )
2016-10-14 01:58:48 +02:00
Stanislav Malyshev
94b7ab185c
Syncronize with 5.6 - __toString should return ""
...
(cherry picked from commit 2301608736 )
2016-10-14 01:58:08 +02:00
Stanislav Malyshev
0362d61ab7
Fix potential overflows in php_pcre_replace_impl
...
(cherry picked from commit 9c50ba42d6 )
2016-10-14 01:57:55 +02:00
Keith Smiley
ddaf04053b
Fixed bug #73237
...
If the response includes both fields with simple types (which get
concatenated into an XML string) and a complex type (which is parsed
into an object), then the object will parsed into the same zval as the
simple types and will overwrite the string.
(cherry picked from commit 26287132c0 )
2016-10-14 01:57:04 +02:00
Anatol Belski
b4ddf4e575
fix another mistake
...
(cherry picked from commit bec0121733 )
2016-10-14 01:56:31 +02:00
Mitch Hagstrand
01a280a9c7
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()
...
1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log
2. Cleaned up kill_all_lockers function and fixed comments.
(cherry picked from commit bcee2fdbec )
2016-10-14 01:56:01 +02:00
Bob Weinand
f40c03168e
Merge remote-tracking branch 'origin/PHP-7.0' into PHP-7.1
...
(cherry picked from commit 457e686262 )
2016-10-14 01:54:18 +02:00
Nikita Popov
6baaccc9b6
Merge branch 'PHP-7.0' into PHP-7.1
...
(cherry picked from commit 9669ec707a )
2016-10-14 01:53:25 +02:00
Nikita Popov
0e4c173349
Merge branch 'PHP-7.0' into PHP-7.1
...
(cherry picked from commit 26964ccea0 )
2016-10-14 01:52:17 +02:00
Anatol Belski
4e338817d1
export symbol missing by phpdbg
...
(cherry picked from commit 611ab7fe5b )
2016-10-14 01:51:21 +02:00
Bob Weinand
06df34072e
Fix accidental PHPDBG_ABI break
...
(cherry picked from commit 671d8054f8 )
2016-10-14 01:50:48 +02:00
Stanislav Malyshev
f8be3ede4f
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
...
(cherry picked from commit da7e89cde8 )
(cherry picked from commit c4c2cce37d )
2016-10-14 01:50:22 +02:00
Anatol Belski
6f9c3b4558
update len in fallback cases
...
(cherry picked from commit 58b18892bf )
2016-10-14 01:49:55 +02:00
Anatol Belski
2c38f70a94
fix wrong merge
...
(cherry picked from commit 821a230f29 )
2016-10-14 01:49:39 +02:00
Bob Weinand
11e7447e04
Merge branch 'PHP-7.0' into PHP-7.1
...
(cherry picked from commit 37ae5f3931 )
2016-10-14 01:48:03 +02:00
Anatol Belski
a8a11b669d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
(cherry picked from commit af1bf873fe )
2016-10-14 01:46:18 +02:00
Anatol Belski
06e7c9983a
fix test
...
(cherry picked from commit fa9370db03 )
2016-10-14 01:44:45 +02:00
Anatol Belski
a6715786a7
finish 7.1 port
...
(cherry picked from commit f1fff032fc )
2016-10-14 01:44:31 +02:00
Stanislav Malyshev
54003ab663
Fix bug #73147 : Use After Free in PHP7 unserialize()
...
(cherry picked from commit 0e6fe3a4c9 )
(cherry picked from commit f42cbd749c )
2016-10-14 01:44:16 +02:00
Anatol Belski
a5e9a73db2
fix typo
...
(cherry picked from commit efc1f33b58 )
2016-10-14 01:43:54 +02:00
Anatol Belski
41ed9d1f9f
Revert "Fix for #73240 - Write out of bounds at number_format"
...
This reverts commit 01280f8deb .
The fix is already merged by Stas.
(cherry picked from commit 80eb013a92 )
2016-10-14 01:43:23 +02:00
Anatol Belski
7897e8cd6c
followup with #73276 merge
...
(cherry picked from commit b135ba3fa9 )
2016-10-14 01:43:02 +02:00
Anatol Belski
48f06ada89
fix test
...
(cherry picked from commit 7c6cb1282d )
2016-10-14 01:42:50 +02:00
Stanislav Malyshev
fe789b3f7c
Fix bug #73276 - crash in openssl_random_pseudo_bytes function
...
(cherry picked from commit 85a22a0af0 )
(cherry picked from commit 7dc8b5e7ae )
2016-10-14 01:42:19 +02:00
Stanislav Malyshev
e7e60851ae
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
...
(cherry picked from commit 96a8cf8e1b )
(cherry picked from commit 4ef79370a8 )
2016-10-14 01:42:05 +02:00
Stanislav Malyshev
8e2c9024a6
Fix for #73240 - Write out of bounds at number_format
...
(cherry picked from commit 8259130b6b )
(cherry picked from commit 01280f8deb )
2016-10-14 01:41:48 +02:00
Anatol Belski
0cf880e70c
avoid strlen
...
(cherry picked from commit aaa5d07365 )
2016-10-14 01:41:32 +02:00
Stanislav Malyshev
d25e427ab1
Bug #73218 : add mitigation for ICU int overflow
...
(cherry picked from commit d946d10293 )
(cherry picked from commit b26b02b2df )
2016-10-14 01:41:06 +02:00
Stanislav Malyshev
0d9d133cd6
Add more locale length checks, due to ICU bugs.
...
(cherry picked from commit d3eb58332a )
(cherry picked from commit 87a8240b5a )
2016-10-14 01:40:36 +02:00
Stanislav Malyshev
336322ce63
Fix bug #73150 : missing NULL check in dom_document_save_html
...
(cherry picked from commit 1c0e9126fb )
(cherry picked from commit d1e878f272 )
2016-10-14 01:40:12 +02:00
Stanislav Malyshev
6b2992f54c
Fix for #73240 - Write out of bounds at number_format
...
(cherry picked from commit 3b5262ec4c )
2016-10-14 01:37:13 +02:00
Stanislav Malyshev
f901dce575
Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
...
(cherry picked from commit 61cdd1255d )
2016-10-14 01:36:57 +02:00
Stanislav Malyshev
c4254588a9
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
...
(cherry picked from commit 1b29e4488e )
2016-10-14 01:36:38 +02:00
Xinchen Hui
c9274d20b7
Fixed bug #73288 (Segfault in __clone > Exception.toString > __get)
...
Actually this is caused by optimization(opcache)
(cherry picked from commit d19898b298 )
2016-10-14 01:35:39 +02:00
Sara Golemon
25d4943b44
Clear FG(user_stream_current_filename) when bailing out
...
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.
Catch the bailout, clear the variable, then continue bailing.
Closes https://bugs.php.net/bug.php?id=73188
(cherry picked from commit 9f86cdaf7f )
2016-10-14 01:34:51 +02:00
Dmitry Stogov
e92a18dcd5
Fixed referencecounter inference rules
...
(cherry picked from commit 6046a99b97 )
2016-10-14 01:24:46 +02:00
Dmitry Stogov
233992409b
Fixed referencecounter inference rules
...
(cherry picked from commit fae7d6b9bb )
2016-10-14 01:24:23 +02:00
Anatol Belski
5a2dd84314
add test for bug #73037
...
(cherry picked from commit 256b150a96 )
2016-10-14 01:21:18 +02:00
Yasuo Ohgaki
bccc1dd1e7
Update UPGRADING
2016-10-14 07:53:16 +09:00
Anatol Belski
5ba9eab436
missed piece for renaming
2016-10-13 15:39:02 +02:00
Anatol Belski
730288ae41
rename publicly exposed symbol to avoid name conflicts
2016-10-13 15:23:50 +02:00
Bob Weinand
d14498a475
Ignore non-executable opcodes in line mode of phpdbg_end_oplog()
2016-10-13 14:09:56 +02:00
Christoph M. Becker
b8fab503fe
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-13 11:25:11 +02:00
Christoph M. Becker
cc08cbc84d
Fix #73280 : Stack Buffer Overflow in GD dynamicGetbuf
...
We make sure to never pass a negative `rlen` as size to memcpy().
Cf. <https://github.com/libgd/libgd/commit/53110871 >.
2016-10-13 11:10:02 +02:00
Anatol Belski
ce3e792c2c
use already exported symbol
2016-10-13 09:55:37 +02:00
Anatol Belski
3104882cf8
Revert "export symbol missing by phpdbg"
...
This reverts commit 611ab7fe5b .
Overseen strpprintf is there
2016-10-13 09:50:32 +02:00
Stanislav Malyshev
cd8c9b0614
Fix outlen for openssl function
...
Even though datalen can't be over int, outlen can.
2016-10-12 23:19:07 -07:00
Stanislav Malyshev
2301608736
Syncronize with 5.6 - __toString should return ""
2016-10-12 23:09:49 -07:00
Stanislav Malyshev
9c50ba42d6
Fix potential overflows in php_pcre_replace_impl
2016-10-12 23:07:47 -07:00
Anatol Belski
0723a226c3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Clear FG(user_stream_current_filename) when bailing out
Fix tests
fix tsrm
Fix bug #73284 - heap overflow in php_ereg_replace function
Fix bug #73276 - crash in openssl_random_pseudo_bytes function
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
fix bug #73275 - crash in openssl_encrypt function
Fix for #73240 - Write out of bounds at number_format
Bug #73218 : add mitigation for ICU int overflow
Add more locale length checks, due to ICU bugs.
Fix bug #73208 - another missing length check
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
Fixed bug #73174 - heap overflow in php_pcre_replace_impl
Fix bug #73150 : missing NULL check in dom_document_save_html
Fix bug #73147 : Use After Free in PHP7 unserialize()
Fix bug #73082
Fix bug #73073 - CachingIterator null dereference when convert to string
2016-10-13 01:31:36 +02:00
Keith Smiley
26287132c0
Fixed bug #73237
...
If the response includes both fields with simple types (which get
concatenated into an XML string) and a complex type (which is parsed
into an object), then the object will parsed into the same zval as the
simple types and will overwrite the string.
2016-10-12 23:12:45 +02:00
Mitch Hagstrand
bcee2fdbec
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()
...
1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log
2. Cleaned up kill_all_lockers function and fixed comments.
2016-10-12 23:03:55 +02:00
Bob Weinand
fe49fd7dad
Update NEWS
...
Also add missing include.inc test file
2016-10-12 22:54:32 +02:00
Nikita Popov
fe378c27cc
Fix phpdbg tests after lineno change
2016-10-12 22:41:59 +02:00
Nikita Popov
5b429fef42
Fix line number of implicit return in pseudo-main scope
2016-10-12 22:25:41 +02:00
Anatol Belski
611ab7fe5b
export symbol missing by phpdbg
2016-10-12 22:18:41 +02:00
Bob Weinand
671d8054f8
Fix accidental PHPDBG_ABI break
2016-10-12 22:16:11 +02:00
Stanislav Malyshev
c4c2cce37d
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
...
(cherry picked from commit da7e89cde8 )
2016-10-12 21:31:37 +02:00
Anatol Belski
58b18892bf
update len in fallback cases
2016-10-12 20:52:46 +02:00
Bob Weinand
5aae01104f
Add stdin command and -s command line parameter to phpdbg
...
This allows reading the initial script file from stdin instead of being forced to put the script into a file in order to run it with phpdbg.
Especially important for programmatic execution of phpdbg.
Also adding tests/include_once.phpt and tests/set_exception_handler.phpt as I seem to have forgotten to git add them sometime long ago...
2016-10-12 20:15:49 +02:00
Stanislav Malyshev
74b5662536
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
...
(cherry picked from commit 40e7baab3c )
2016-10-12 19:48:25 +02:00
Stanislav Malyshev
f42cbd749c
Fix bug #73147 : Use After Free in PHP7 unserialize()
...
(cherry picked from commit 0e6fe3a4c9 )
2016-10-12 17:51:15 +02:00
Anatol Belski
efc1f33b58
fix typo
2016-10-12 17:12:38 +02:00
Anatol Belski
80eb013a92
Revert "Fix for #73240 - Write out of bounds at number_format"
...
This reverts commit 01280f8deb .
The fix is already merged by Stas.
2016-10-12 16:12:18 +02:00
Anatol Belski
b135ba3fa9
followup with #73276 merge
2016-10-12 16:03:35 +02:00
Anatol Belski
7c6cb1282d
fix test
2016-10-12 16:03:09 +02:00
Stanislav Malyshev
7dc8b5e7ae
Fix bug #73276 - crash in openssl_random_pseudo_bytes function
...
(cherry picked from commit 85a22a0af0 )
2016-10-12 15:55:42 +02:00
Stanislav Malyshev
4ef79370a8
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
...
(cherry picked from commit 96a8cf8e1b )
2016-10-12 15:40:21 +02:00
Stanislav Malyshev
01280f8deb
Fix for #73240 - Write out of bounds at number_format
...
(cherry picked from commit 8259130b6b )
2016-10-12 14:55:00 +02:00
Anatol Belski
aaa5d07365
avoid strlen
2016-10-12 13:28:23 +02:00
Stanislav Malyshev
b26b02b2df
Bug #73218 : add mitigation for ICU int overflow
...
(cherry picked from commit d946d10293 )
2016-10-12 13:22:51 +02:00
Stanislav Malyshev
87a8240b5a
Add more locale length checks, due to ICU bugs.
...
(cherry picked from commit d3eb58332a )
2016-10-12 13:11:16 +02:00
Stanislav Malyshev
d1e878f272
Fix bug #73150 : missing NULL check in dom_document_save_html
...
(cherry picked from commit 1c0e9126fb )
2016-10-12 12:19:41 +02:00
Sara Golemon
43ccf23d70
Clear FG(user_stream_current_filename) when bailing out
...
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.
Catch the bailout, clear the variable, then continue bailing.
Closes https://bugs.php.net/bug.php?id=73188
2016-10-11 21:55:01 -07:00
Sara Golemon
4d11a8eedf
Clear FG(user_stream_current_filename) when bailing out
...
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.
Catch the bailout, clear the variable, then continue bailing.
Closes https://bugs.php.net/bug.php?id=73188
2016-10-11 21:44:14 -07:00
Stanislav Malyshev
1bdb30a429
Merge branch 'PHP-7.0.12' into PHP-7.0
...
* PHP-7.0.12:
set versions and release date
sync NEWS
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
Fix for #73240 - Write out of bounds at number_format
Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
set versions
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
2016-10-11 16:46:51 -07:00
Stanislav Malyshev
9c675607e6
Merge remote-tracking branch 'origin/PHP-7.0.12' into PHP-7.0.12
...
* origin/PHP-7.0.12: (99 commits)
set versions and release date
sync NEWS
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
set versions
update NEWS
Ignore potentially misleading dberr values
update NEWS
Fixed bug #73172 parse error: Invalid numeric literal
Fix #53745 : cgi.discard_path option is missing from php.ini
update libs_versions.txt
update libs_versions.txt
Fixed bug #73156 (segfault on undefined function)
Add an include path for freetype which is relevant for cmake builds
Fix test_image_equals_file() wrt. palette images
Fixed bug #73163
Fix #73161 : imagecreatefromgd2() may leak memory
Fix #73159 : imagegd2(): unrecognized formats may result in corrupted files
Fix #73155 : imagegd2() writes wrong chunk sizes on boundaries
Fix #73157 (again): imagegd2() ignores 3rd param if 4 are given
Fix #73157 : imagegd2() ignores 3rd param if 4 are given
...
2016-10-11 16:27:13 -07:00
Stanislav Malyshev
689a9b8def
Merge branch 'PHP-5.6.27' into PHP-5.6
...
* PHP-5.6.27:
Fix tests
fix tsrm
Fix bug #73284 - heap overflow in php_ereg_replace function
Fix bug #73276 - crash in openssl_random_pseudo_bytes function
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
fix bug #73275 - crash in openssl_encrypt function
Fix for #73240 - Write out of bounds at number_format
Bug #73218 : add mitigation for ICU int overflow
Add more locale length checks, due to ICU bugs.
Fix bug #73208 - another missing length check
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
Fixed bug #73174 - heap overflow in php_pcre_replace_impl
Fix bug #73150 : missing NULL check in dom_document_save_html
Fix bug #73147 : Use After Free in PHP7 unserialize()
Fix bug #73082
Fix bug #73073 - CachingIterator null dereference when convert to string
2016-10-11 16:26:35 -07:00
Stanislav Malyshev
082d1f2375
Fix tests
2016-10-11 16:18:08 -07:00
Stanislav Malyshev
c1112ff323
fix tsrm
2016-10-11 14:39:16 -07:00
Stanislav Malyshev
21452a5401
Fix bug #73284 - heap overflow in php_ereg_replace function
2016-10-11 14:16:51 -07:00
Stanislav Malyshev
85a22a0af0
Fix bug #73276 - crash in openssl_random_pseudo_bytes function
2016-10-11 13:37:47 -07:00
Stanislav Malyshev
96a8cf8e1b
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
2016-10-11 13:30:52 -07:00
Stanislav Malyshev
8822f7c9f0
fix bug #73275 - crash in openssl_encrypt function
2016-10-11 13:19:20 -07:00
Anatol Belski
5899f76a7d
update NEWS
2016-10-11 11:41:45 +02:00
Anatol Belski
92c55f1580
set versions and release date
2016-10-11 11:26:32 +02:00
Anatol Belski
a5f40e2656
sync NEWS
2016-10-11 11:25:00 +02:00
Anatol Belski
8c9f639a1d
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
...
This reverts commit 2d8ab51576 .
2016-10-11 11:24:08 +02:00
Stanislav Malyshev
3b5262ec4c
Fix for #73240 - Write out of bounds at number_format
2016-10-10 23:49:28 -07:00
Stanislav Malyshev
8259130b6b
Fix for #73240 - Write out of bounds at number_format
2016-10-10 23:42:50 -07:00
Stanislav Malyshev
61cdd1255d
Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
2016-10-10 22:54:29 -07:00
Anatol Belski
29a089d3c9
update NEWS
2016-10-10 20:57:57 +02:00
Anatol Belski
bf400108d9
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-10-10 20:57:23 +02:00
Anatol Belski
4165d97606
update NEWS
2016-10-10 20:55:44 +02:00
Anatol Belski
62c68f7483
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add test for bug #73037
2016-10-10 16:02:30 +02:00
Anatol Belski
256b150a96
add test for bug #73037
2016-10-10 15:59:52 +02:00
Anatol Belski
4b8bdac8db
add zend_bailout to cppcheck conf
2016-10-10 13:11:45 +02:00
Nikita Popov
28edc971e7
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-10 12:21:15 +02:00
Nikita Popov
c91f652ddb
Fixed bug #73273
...
As well as a few other $_SESSION separation issues.
2016-10-10 12:20:44 +02:00
Christoph M. Becker
0f40ca989a
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-10 12:12:13 +02:00
Christoph M. Becker
fb08216b08
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-10 11:45:53 +02:00
Christoph M. Becker
fc989fc6e7
Fix #73279 : Integer overflow in gdImageScaleBilinearPalette()
...
The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.
Port of <https://github.com/libgd/libgd/commit/77c8d359 >.
2016-10-10 11:41:39 +02:00
Dmitry Stogov
3760bc5407
Removed deprecated flag
2016-10-10 11:48:29 +03:00
Dmitry Stogov
771600ee6b
Fixed information about possible return value
2016-10-10 11:46:43 +03:00
Christoph M. Becker
a16f0c5e01
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-09 15:21:40 +02:00
Christoph M. Becker
c930714cbe
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-09 15:14:17 +02:00
Christoph M. Becker
b92216b97d
Fix #73272 : imagescale() affects imagesetinterpolation()
...
We must not permanently change the interpolation method, but rather
have to restore the old method after we're done with scaling the image.
2016-10-09 15:10:34 +02:00
Christoph M. Becker
ed282f110b
Remove channels from getimagesize() results for WebP
...
Both lossless and lossy WebP can have an alpha channel, but this is
somewhat hard to detect. Furthermore, it is not clear whether an alpha
channel should be counted for getimagesize(). Therefore we remove the
`channel` element from the result array.
2016-10-08 19:47:32 +02:00
Anatol Belski
c43a54e4fe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak
2016-10-08 19:28:21 +02:00
Anatol Belski
6f84ac721b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak
2016-10-08 19:25:36 +02:00
Anatol Belski
3c5742ebd7
fix leak
2016-10-08 19:07:35 +02:00
Nikita Popov
f8a6df4706
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-08 17:00:56 +02:00
Nikita Popov
2a75f5026a
Fix bug #66773 , #66862
...
This a partial backport of 8754b19 . It
a) fixes the class/function/constant import table confusion in the
namespaced case, and
b) restricts conflict checks to a single file based on a filename
pointer comparison.
It does not fix the issues with filename reuse (e.g. due to eval)
and late-bound classes. This part of the change requires globals
changes.
2016-10-08 17:00:27 +02:00
Christoph M. Becker
1d977e55d9
Add VP8X support to getimagesize() and friends
...
This ammends commit 14d4ee93 to also add support for the extended
WebP format, according to
<https://developers.google.com/speed/webp/docs/riff_container >.
2016-10-08 15:06:07 +02:00
Christoph M. Becker
5540aba258
Fix WS
...
As discussed in
<https://github.com/php/php-src/commit/14d4ee93#commitcomment-19344508 >.
2016-10-08 11:22:12 +02:00
Christoph M. Becker
59cd8eb723
Add VP8L support to getimagesize() and friends
...
This ammends commit 14d4ee93 to also add support for simple lossless
WebP, according to
<https://chromium.googlesource.com/webm/libwebp/+/master/doc/webp-lossless-bitstream-spec.txt >
2016-10-08 10:22:04 +02:00
Nikita Popov
9c1c8be7a2
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-08 01:10:37 +02:00
Nikita Popov
159de7723e
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-08 01:06:02 +02:00
Nikita Popov
b061fa909d
Fix bug #73192
2016-10-08 01:04:22 +02:00
Nikita Popov
bc3a0b82b8
Revert "Fixed test"
...
This reverts commit a10d03ac16 .
2016-10-08 00:43:36 +02:00
Nikita Popov
1c468ee044
Revert "Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986"
...
This reverts commit 085dfca02b .
2016-10-08 00:43:17 +02:00
Christoph M. Becker
14d4ee93a8
Implement #65038 : IMAGETYPE_WEBP constant missing
...
We add WebP support for getimagesize(), getimagesizefromstring)(),
image_type_to_extension() and image_type_to_mime_type(). For now we
care only about the simple lossy WebP format (VP8) and ignore the
lossless (VP8L) and extended (VP8X) formats. We use image/webp as MIME
type as it appears to be pretty common, even though it is not yet
registered with IANA.
Relevant specifications:
* <https://developers.google.com/speed/webp/docs/riff_container >
* <https://tools.ietf.org/html/rfc6386 >
2016-10-08 00:02:21 +02:00
Derick Rethans
61bf62a7c0
Merge branch 'microseconds-modify' into PHP-7.1
2016-10-07 13:49:00 -04:00
Derick Rethans
e3271b1814
Fixed bug #64887 (Allow DateTime modification with subsecond items).
2016-10-07 13:40:06 -04:00
Christoph M. Becker
e2da66d361
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-07 16:36:13 +02:00
Christoph M. Becker
825e0fd430
Document that ext/shmop deals with resources as of PHP 7.0.0
...
Second attempt
2016-10-07 16:35:37 +02:00
Christoph M. Becker
3afdf9e439
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-07 16:21:52 +02:00
Christoph M. Becker
88d0201a89
Document that ext/shmop deals with resources as of PHP 7.0.0
2016-10-07 16:13:24 +02:00
Anatol Belski
bc5efe501e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix datatype
2016-10-06 11:03:09 +02:00
Anatol Belski
ea83e504e5
fix datatype
2016-10-06 11:01:27 +02:00
Bob Weinand
c9d3b9fb47
Use better fix for preventing too early freeing of interned strings
...
Works also with opcache now - just prevent zend_interned_strings_restore completely - zend_interned_strings_dtor will take care as phpdbg only ever uses one single request cycle per module cycle
2016-10-06 10:36:25 +02:00
Dmitry Stogov
b2d53e47ed
Updated reference-counting inferece rules.
...
The previous rules refected PHP-5 behavior and were completely wrong for PHP-7. (e.g. scalars don't have reference counters at all).
This change shouldn't affect anything, because results of this inference are not used yet.
2016-10-06 11:08:01 +03:00
Davey Shafik
50059639c8
Fix NEWS after re-roll of RC3
2016-10-05 13:07:47 -07:00
Derick Rethans
14087d3d16
Merge branch 'microseconds' into PHP-7.1
2016-10-05 15:32:11 -04:00
Derick Rethans
55626549d8
Improve support for microseconds with Date/Time
...
It fixes several bugs:
- Fixed bug #45554 (Inconsistent behavior of the u format char).
- Fixed bug #48225 (DateTime parser doesn't set microseconds for "now").
- Fixed bug #52514 (microseconds are missing in DateTime class).
- Fixed bug #52519 (microseconds in DateInterval are missing).
- Fixed bug #68506 (General DateTime improvments needed for microseconds to become useful).
- Fixed bug #73109 (timelib_meridian doesn't parse dots correctly).
- Fixed bug #73247 (DateTime constructor does not initialise microseconds property).
It also updates timelib to 2016.04, and updates a data mapping file, which
causes changes to the volatile abbreviations tests.
2016-10-05 15:03:06 -04:00
Anatol Belski
d5b77d6662
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73037 , second round
2016-10-05 15:04:55 +02:00
Anatol Belski
5b79e95f7b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73037 , second round
2016-10-05 15:03:38 +02:00
Anatol Belski
07546496b1
Fix bug #73037 , second round
2016-10-05 14:54:06 +02:00
Christoph M. Becker
31c32455d4
Merge branch 'pull-request/2155' into PHP-7.1
2016-10-05 13:07:39 +02:00
Bob Weinand
abfd811ea4
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-05 12:20:06 +02:00
Bob Weinand
4790da5475
Update run command for allowing STDIN
2016-10-05 12:14:02 +02:00
Bob Weinand
eaff72f31b
Remove phpdbg fix targeting 7.1 which landed in 7.0
2016-10-05 12:08:20 +02:00
Stanislav Malyshev
d946d10293
Bug #73218 : add mitigation for ICU int overflow
2016-10-04 22:40:43 -07:00
Stanislav Malyshev
cc2a0dd018
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
Apparently negative wordwrap is a thing and should work as length = 0.
2016-10-04 21:57:28 -07:00
Stanislav Malyshev
56e19b7c75
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed test
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
Apparently negative wordwrap is a thing and should work as length = 0.
2016-10-04 21:56:28 -07:00
Stanislav Malyshev
d3eb58332a
Add more locale length checks, due to ICU bugs.
2016-10-04 21:28:40 -07:00
Ilia Alshanetsky
a10d03ac16
Fixed test
2016-10-04 21:20:38 -07:00
Ilia Alshanetsky
085dfca02b
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
2016-10-04 21:20:31 -07:00
Craig Duncan
6e31aad8b8
Skip tests that rely on sessions if sessions aren't available
2016-10-04 20:51:18 +01:00
Stanislav Malyshev
8ea01d5f19
Apparently negative wordwrap is a thing and should work as length = 0.
...
I'll leave it as is for now.
2016-10-03 19:17:42 -07:00
Stanislav Malyshev
805580d15d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Really fix bug #73017
2016-10-03 18:39:05 -07:00
Stanislav Malyshev
49b45e5af1
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Really fix bug #73017
2016-10-03 18:38:46 -07:00
Stanislav Malyshev
631173aa5c
Really fix bug #73017
2016-10-03 18:07:21 -07:00
Keith Smiley
31cbce341c
soap #69137 - Fix SSL verify when using a proxy
...
Name verification was failing because the OpenSSL extension was picking
the proxy server's address when guessing which name to compare to the
SSL certificate. This scenario is already handled for stream wrappers
in http_fopen_wrapper.c. This patch applies the same fix to the SOAP
extension: when a proxy is used, set peer_name explicitly on the stream
context.
2016-10-03 14:02:34 -04:00
Christoph M. Becker
5b52d5acde
Fix #73207 : Array ordering is same between 5.6.21 and 7.1.0 RC3
2016-10-03 18:55:39 +02:00
Bob Weinand
8fcc938e56
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-03 12:55:23 +02:00
Bob Weinand
8908df690f
Fix crash on Linux due to double fclose()
2016-10-03 12:55:06 +02:00
Stanislav Malyshev
ef801b9bf9
Fix bug #73208 - another missing length check
2016-10-03 00:12:14 -07:00
Stanislav Malyshev
40e7baab3c
Fix bug #73190 : memcpy negative parameter _bc_new_num_ex
2016-10-03 00:09:02 -07:00
Bob Weinand
f58cf8b24d
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-02 12:46:22 +01:00
Bob Weinand
417a8ef6b4
Fix run command args passing when inmidst execution
2016-10-02 12:45:20 +01:00
Bob Weinand
3fe1010cee
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-01 19:14:26 +01:00
Bob Weinand
9d537951c5
Add proper escape sequences and reading stdin from file in phpdbg run command
2016-10-01 19:05:19 +01:00
Nikita Popov
5f69c929ea
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-01 19:06:05 +02:00
Nikita Popov
633b93817e
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-01 19:05:48 +02:00
Nikita Popov
f9d4b1a3f1
Fix leak in zend_exception_error
...
Only occurs if a non-fatal severity level is used, e.g. when using
interactive mode.
2016-10-01 19:04:31 +02:00
Bob Weinand
a5129bcb5b
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-01 10:47:31 +01:00
Bob Weinand
3280a29ee5
Fix invalid access to interned strings after they are freed in phpdbg
2016-10-01 10:46:21 +01:00
Christoph M. Becker
f6da70863f
Merge branch 'PHP-7.0' into PHP-7.1
2016-10-01 00:00:46 +02:00
Christoph M. Becker
12967bc346
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 23:54:18 +02:00
Christoph M. Becker
9acfb1a3a5
Fix #73213 : Integer overflow in imageline() with antialiasing
...
We port the respective fixes <https://github.com/libgd/libgd/commit/eca37d620 >
and <https://github.com/libgd/libgd/commit/837b7327 > to our bundled libgd.
2016-09-30 23:38:13 +02:00
Nikita Popov
02ba9d71ab
Unwrap reference returns in cufa etc
2016-09-30 22:10:01 +02:00
Derick Rethans
e63443d825
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-30 20:50:00 +01:00
Derick Rethans
6ad288ee23
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 20:49:53 +01:00
Derick Rethans
c0219b323e
Fixed tests due to changes in underlaying data
2016-09-30 20:49:44 +01:00
Derick Rethans
99b58896dc
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-30 20:31:16 +01:00
Derick Rethans
7deb32abc9
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 20:31:05 +01:00
Derick Rethans
91fd4bf000
Fixed parsing of AM/PM without all the expected dots in place
2016-09-30 20:21:48 +01:00
Christoph M. Becker
6656d32eb3
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-30 11:49:51 +02:00
Christoph M. Becker
dd93712911
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 11:40:55 +02:00
Christoph M. Becker
e72165bb86
Fix #73203 : passing additional_parameters causes mail to fail
...
We make sure that there's no unsigned underflow, which happened for `y==0`.
2016-09-30 11:38:09 +02:00
Xinchen Hui
68da84875e
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
fix user filter bug
2016-09-30 16:01:19 +08:00
Xinchen Hui
b28277db94
Cleanup exception handling after zend_fetch_class_by_name
2016-09-30 16:00:14 +08:00
Joe Watkins
e60620b974
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
2016-09-30 07:22:50 +01:00
Joe Watkins
98705148f0
fix user filter bug
2016-09-30 07:22:15 +01:00
Joe Watkins
a8d031fbd8
fix user filter bug
2016-09-30 07:21:01 +01:00
Xinchen Hui
f211614ba7
Use smart branch
2016-09-30 13:19:11 +08:00
Dmitry Stogov
c218c4f01e
Special handling for $php_errormsg and $http_response_header.
2016-09-30 02:41:08 +03:00
Christoph M. Becker
0edb16e768
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-29 14:41:12 +02:00
Christoph M. Becker
81cbbb68af
Merge branch 'pull-request/2128' into PHP-7.0
2016-09-29 14:39:39 +02:00
Anatol Belski
3828323290
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync win32 makefile with makedist zendparse exports
2016-09-29 13:02:03 +02:00
Anatol Belski
62bed405da
sync win32 makefile with makedist zendparse exports
...
With a newer bison this part is relevant. Whil bison 2.4.1 is still
used, this changes cater for the forward compatibility.
2016-09-29 12:56:49 +02:00
Dmitry Stogov
53c0a04185
zval_dtor_func_for_ptr() -> zval_dtor_func()
2016-09-29 10:59:54 +03:00
Dmitry Stogov
8863ca76e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Better fix for bug #72854 (avoid extra copy and creating reference to stack variable)
2016-09-29 10:57:09 +03:00
Dmitry Stogov
e7f4355d9b
Better fix for bug #72854 (avoid extra copy and creating reference to stack variable)
2016-09-29 10:56:01 +03:00
Stanislav Malyshev
da7e89cde8
Fix bug #73189 - Memcpy negative size parameter php_resolve_path
2016-09-28 23:30:48 -07:00
Stanislav Malyshev
29e2a204fb
Fixed bug #73174 - heap overflow in php_pcre_replace_impl
2016-09-28 22:29:59 -07:00
Ferenc Kovacs
36d5bed262
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-29 00:59:50 +02:00
Ferenc Kovacs
581e890483
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
configure.in
main/php_version.h
2016-09-29 00:58:02 +02:00
Ferenc Kovacs
703c247c7d
5.6.28 is next
2016-09-29 00:55:36 +02:00
Derick Rethans
1350c6431a
Updated to version 2016.7 (2016g)
2016-09-28 23:30:28 +01:00
Derick Rethans
9422de24d2
Empty merge
2016-09-28 23:30:28 +01:00
Derick Rethans
83780a6cd2
Updated to version 2016.7 (2016g)
2016-09-28 23:30:27 +01:00
Derick Rethans
03ac064b2e
Empty merge
2016-09-28 23:30:27 +01:00
Derick Rethans
6a544f2d1e
Updated to version 2016.7 (2016g)
2016-09-28 23:30:26 +01:00
Nikita Popov
56a7646ab2
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-28 23:22:48 +02:00
Nikita Popov
e520b9e127
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-28 23:22:11 +02:00
Nikita Popov
1f5412982c
Handle resource keys in constexpr arrays
2016-09-28 23:11:02 +02:00
Nikita Popov
40b8105cca
Fix the constant array case as well
2016-09-28 23:05:21 +02:00
Nikita Popov
97066792b7
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-28 22:38:47 +02:00
Nikita Popov
437942d972
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-28 22:36:58 +02:00
Nikita Popov
99bf19c177
Check next_index_insert failure in ADD_ARRAY_ELEMENT
2016-09-28 22:35:27 +02:00
Davey Shafik
a61bc294db
Prepare to Re-roll 7.1.0RC3
2016-09-28 13:02:02 -07:00
Nikita Popov
19f1ff5ad0
Combine code for keyed/unkeyed list()
2016-09-28 21:43:48 +02:00
Nikita Popov
6f9e5684a1
Fix segfault when empty entry in keyed array assignment
2016-09-28 21:43:48 +02:00
Anatol Belski
22a3d55e9a
fix exports which are now referenced by phpdbg
...
(cherry picked from commit cd0f1c8a5e )
2016-09-28 21:29:53 +02:00
Davey Shafik
94f7e4a5f4
Update UPGRADING to reflect new reality
2016-09-28 11:24:43 -07:00
Davey Shafik
a8c3174d51
Update NEWS for 7.1.0RC4
2016-09-28 18:07:19 +00:00
Davey Shafik
bc4e09f497
Update NEWS
2016-09-28 10:31:22 -07:00
Nikita Popov
f70fb05138
Don't mark ReflectionType::__toString() as deprecated for now
2016-09-28 19:21:53 +02:00
Nikita Popov
bf907b9961
Revert ReflectionType::__toString() behavior + deprecate
2016-09-28 19:21:51 +02:00
Nikita Popov
4c0804c07d
Ensure symtable exists before checking it
2016-09-28 19:20:17 +02:00
Bob Weinand
e5d75d7268
Add phpdbg generator command
2016-09-28 13:26:08 +02:00
Nikita Popov
21f0be4792
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-27 19:48:50 +02:00
Nikita Popov
b7cbaa7f43
Fix bug #73181
2016-09-27 19:47:48 +02:00
Anatol Belski
8a6b089408
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
prepare next
2016-09-27 12:51:24 +02:00
Anatol Belski
cb29c01ed6
prepare next
2016-09-27 12:49:52 +02:00
Anatol Belski
fcc232173e
set versions
2016-09-27 12:38:38 +02:00
Adam Baratz
228be4c39d
update NEWS
2016-09-26 17:13:50 -04:00
Adam Baratz
3d321a4aa4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
Ignore potentially misleading dberr values
2016-09-26 17:13:14 -04:00
Adam Baratz
6887c4a061
update NEWS
2016-09-26 17:09:11 -04:00
Chris Kings-Lynne
48b5a1f9b9
Ignore potentially misleading dberr values
...
FreeTDS had a buggy behavior where it would pass invalid values:
https://sourceforge.net/p/freetds/bugs/59/
The fix for this issue -- bc22b2ef817fb5d102bd758111ff3634b39a1319 on their
repo -- was to always use SYBESMSG for dberr. This makes it so the existing
pdo_dblib code would work as is. But by ignoring the dberr value in this
function, it will behave correctly, even with older versions of FreeTDS.
2016-09-26 17:07:46 -04:00
Anatol Belski
b4e90e9591
update NEWS
2016-09-26 19:55:43 +02:00
Anatol Belski
f324e5e628
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-09-26 19:55:05 +02:00
Anatol Belski
3a058e3817
update NEWS
2016-09-26 19:54:10 +02:00
Anatol Belski
5e4a93b28e
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
2016-09-26 18:55:08 +02:00
Anatol Belski
f36babf643
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
2016-09-26 18:54:43 +02:00
Anatol Belski
4e3746380a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73172 parse error: Invalid numeric literal
2016-09-26 18:49:40 +02:00
Anatol Belski
39e5991705
Fixed bug #73172 parse error: Invalid numeric literal
2016-09-26 18:47:30 +02:00
Christoph M. Becker
b3f4bc7592
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-26 18:45:05 +02:00
Christoph M. Becker
5e102d5685
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-26 18:43:03 +02:00
Christoph M. Becker
4f0960a800
Fix #53745 : cgi.discard_path option is missing from php.ini
...
Also cgi.check_shebang_line has been missing.
2016-09-26 18:41:09 +02:00
Anatol Belski
5e24fe9fde
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs_versions.txt
update libs_versions.txt
2016-09-26 15:42:32 +02:00
Anatol Belski
eaee65080e
update libs_versions.txt
2016-09-26 15:41:41 +02:00
Anatol Belski
5dd3ea1567
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update libs_versions.txt
2016-09-26 15:41:16 +02:00
Anatol Belski
66baefec44
update libs_versions.txt
2016-09-26 15:39:01 +02:00
Dmitry Stogov
6be2e79c2c
On PHP-7.1 and above we have to check CALL_INFO instead of symbol_table.
2016-09-26 16:16:07 +03:00
Dmitry Stogov
bca7f02933
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73156 (segfault on undefined function)
2016-09-26 14:17:27 +03:00
Dmitry Stogov
d279118422
Fixed bug #73156 (segfault on undefined function)
2016-09-26 14:14:57 +03:00
Stanislav Malyshev
1c0e9126fb
Fix bug #73150 : missing NULL check in dom_document_save_html
2016-09-25 21:25:01 -07:00
Stanislav Malyshev
0e6fe3a4c9
Fix bug #73147 : Use After Free in PHP7 unserialize()
2016-09-25 19:53:59 -07:00
Stanislav Malyshev
1b29e4488e
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
2016-09-25 16:43:24 -07:00
Stanislav Malyshev
e1709b7e58
Fix bug #73082
2016-09-25 16:07:14 -07:00
Anatol Belski
2b8024bb04
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add an include path for freetype which is relevant for cmake builds
2016-09-25 20:57:30 +02:00
Anatol Belski
4e7b5ca459
Add an include path for freetype which is relevant for cmake builds
2016-09-25 20:55:13 +02:00
Nikita Popov
bd893061d6
Use SEND_USER for CONST|TMP as well
...
Otherwise we're missing the "expected to be a reference, value
given" warning that appears for ordinary calls to call_user_func().
Also update an UPGRADING note with recent changes wrt
call_user_func().
2016-09-25 12:39:23 +02:00
Christoph M. Becker
daba342f57
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-25 10:49:43 +02:00
Christoph M. Becker
fa9d41f66c
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-25 10:46:44 +02:00
Christoph M. Becker
c696bc8cfa
Fix test_image_equals_file() wrt. palette images
...
The recently introduced test_image_equals_file() doesn't properly work for
palette images, because in this case only the palette indexes are compared,
what can lead to false positives and negatives as shown in the added test.
To fix that we convert palette images to truecolor, what is supposed to be
faster than calling imagecolorsforindex() for each pixel.
We furthermore rely on PHP's refcounting to free unused images; after all,
this is not C.
2016-09-25 10:34:03 +02:00
Nikita Popov
c7651c2396
Fix a couple of ASSIGN_DIM/OBJ inference bugs
...
Account for possible null return values better.
2016-09-24 22:43:27 +02:00
Nikita Popov
db801763e4
Add range inference for ZEND_STRLEN
...
On 32-bit systems we conservatively allow negative lengths.
On 64-bit systems, the range could additionally be restricted to
the canonical 48-bit size.
2016-09-24 22:43:27 +02:00
Christoph M. Becker
75a1384ebf
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 18:18:34 +02:00
Christoph M. Becker
bc22582cf7
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 18:05:21 +02:00
Christoph M. Becker
c596b02a5b
Merge branch 'pull-request/2120' into PHP-5.6
2016-09-24 17:52:15 +02:00
Nikita Popov
453102b4a0
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 13:22:00 +02:00
Nikita Popov
8831a12da1
Fixed bug #73163
2016-09-24 13:18:43 +02:00
Christoph M. Becker
c733f92d72
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 12:47:07 +02:00
Christoph M. Becker
5c81298597
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 12:41:48 +02:00
Christoph M. Becker
8f5eda4bf6
Fix #73161 : imagecreatefromgd2() may leak memory
2016-09-24 12:36:54 +02:00
Christoph M. Becker
394e9b3d15
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 11:37:23 +02:00
Christoph M. Becker
61722743f4
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 11:31:54 +02:00
Christoph M. Becker
709731797c
Fix #73159 : imagegd2(): unrecognized formats may result in corrupted files
...
We must not apply the format correction twice for truecolor images.
2016-09-24 11:28:20 +02:00
Christoph M. Becker
bc9efac0fe
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 10:58:39 +02:00
Christoph M. Becker
0a4b72fa94
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 10:48:24 +02:00
Christoph M. Becker
c7936ead8f
Fix #73155 : imagegd2() writes wrong chunk sizes on boundaries
2016-09-24 10:33:49 +02:00
Christoph M. Becker
20ebc108dc
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 00:37:37 +02:00
Christoph M. Becker
7028ba1d32
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 00:36:53 +02:00
Christoph M. Becker
1da79a6c6e
Fix #73157 (again): imagegd2() ignores 3rd param if 4 are given
...
Obviously, there was a bad merge.
2016-09-24 00:35:24 +02:00
Christoph M. Becker
bf66af1d60
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-24 00:07:50 +02:00
Adam Baratz
20f04b89a3
update NEWS
2016-09-23 17:53:24 -04:00
Christoph M. Becker
456be3ec37
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-23 23:46:22 +02:00
Christoph M. Becker
c240978067
Fix #73157 : imagegd2() ignores 3rd param if 4 are given
...
We must initialize `q` for *more* than three parameters, too.
2016-09-23 23:42:34 +02:00
Anatol Belski
90a3671c09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"
2016-09-23 18:48:14 +02:00
Anatol Belski
4685297f05
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"
2016-09-23 18:46:51 +02:00
Anatol Belski
075aa911ff
Revert "Fixed bug #73037 SoapServer reports Bad Request when gzipped"
...
This reverts commit f9a699f6c3 .
2016-09-23 18:45:03 +02:00
Anatol Belski
44b7ec35ba
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
skip this test for now as it seems to have issues running dev server
Fixed bug #73037 SoapServer reports Bad Request when gzipped
2016-09-23 18:10:55 +02:00
Anatol Belski
f9936000da
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
skip this test for now as it seems to have issues running dev server
Fixed bug #73037 SoapServer reports Bad Request when gzipped
2016-09-23 18:10:07 +02:00
Anatol Belski
28887fe41b
skip this test for now as it seems to have issues running dev server
2016-09-23 18:07:08 +02:00
Anatol Belski
f9a699f6c3
Fixed bug #73037 SoapServer reports Bad Request when gzipped
...
(cherry picked from commit 410c68788a )
2016-09-23 18:06:12 +02:00
Christoph M. Becker
f0a1188695
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-23 16:27:23 +02:00
Christoph M. Becker
be4489d488
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-23 16:26:05 +02:00
Christoph M. Becker
9a2a45c1df
Update NEWS
2016-09-23 16:23:58 +02:00
Anatol Belski
4b13f60278
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73037 SoapServer reports Bad Request when gzipped
2016-09-23 16:07:12 +02:00
Anatol Belski
410c68788a
Fixed bug #73037 SoapServer reports Bad Request when gzipped
2016-09-23 16:02:50 +02:00
Christoph M. Becker
bf35b31f56
Fix FreeType tests using UTF-8 font file names
...
UTF-8 font file names are not yet supported on Windows[1], so we're skipping
the respective tests on this platform, but enable them on other platforms.
[1] <http://news.php.net/php.internals.win/1142 >
2016-09-23 15:49:21 +02:00
Julien Pauli
974ba6be7a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Formatting. Fix possible memory corruption in FPM SHM management
fix every work call mmap
Conflicts:
sapi/fpm/fpm/fpm_scoreboard.c
2016-09-23 13:54:22 +02:00
Julien Pauli
fbf87a8082
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Formatting. Fix possible memory corruption in FPM SHM management
fix every work call mmap
2016-09-23 13:53:22 +02:00
Julien Pauli
a22175b06f
Formatting. Fix possible memory corruption in FPM SHM management
2016-09-23 13:52:58 +02:00
tom916
807004a446
fix every work call mmap
...
fix fpm_scoreboard_free
2016-09-23 13:52:58 +02:00
Christoph M. Becker
8dfee1a777
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-23 12:57:10 +02:00
Christoph M. Becker
deda058751
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-23 12:29:37 +02:00
Christoph M. Becker
726c5999eb
Rework FreeType related tests
...
Firstly, there is no fundamental difference between running the tests on
freetype before and after 2.4.10, so we re-join the respective test cases.
Secondly, there are some minor differences in the results depending on
architecture, freetype versions and config options, so we cater to that
by allowing small deviations from the expectations.
2016-09-23 12:00:41 +02:00
Anatol Belski
681d3148cd
update NEWS
2016-09-23 11:26:03 +02:00
Anatol Belski
8f256bebef
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
phpdbg next command must stop when leaving function
2016-09-23 11:25:33 +02:00
Anatol Belski
9ee913a773
update NEWS
2016-09-23 11:24:55 +02:00
Bob Weinand
cf35dae6e2
phpdbg next command must stop when leaving function
2016-09-23 03:29:37 +02:00
Anatol Belski
f7e5481a10
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390
2016-09-23 01:55:17 +02:00
Anatol Belski
54d8053ac5
Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390
2016-09-23 01:52:42 +02:00
Anatol Belski
5b46c2b67d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs versions
update libs versions
2016-09-22 17:03:49 +02:00
Anatol Belski
a95caa29bf
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update libs versions
2016-09-22 17:03:12 +02:00
Anatol Belski
11ff616d0f
update libs versions
2016-09-22 17:02:54 +02:00
Anatol Belski
49c3fa43ad
update libs versions
2016-09-22 17:01:02 +02:00
Nikita Popov
2205fadac5
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-22 12:50:29 +02:00
Nikita Popov
c38f88ddb0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-22 12:48:38 +02:00
Márcio Almada
4397306b32
fix bug related to #865
...
In case USE_KEY flag is active, RegexIterator->accept() should keep it's
old behavior which is to accept keys mapping arrays.
This broke after PHP 5.5 but was not noticed due to lack of tests for USE_KEY.
2016-09-22 12:46:19 +02:00
Nikita Popov
781d92c806
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-22 12:38:48 +02:00
John Boehr
68e602ff0a
Fix bug #69579
2016-09-22 12:38:07 +02:00
Nikita Popov
7cd2494bb8
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-22 12:34:55 +02:00
John Boehr
8e313becf4
Fix bug #69579
2016-09-22 12:32:37 +02:00
Anatol Belski
d4144a6ec9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-09-22 12:07:37 +02:00
Anatol Belski
220b88c541
update NEWS
2016-09-22 12:06:25 +02:00
Anatol Belski
adaf68c3b1
update NEWS
2016-09-22 12:04:37 +02:00
Anatol Belski
b370c2b87a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73126 Cannot pass parameter 1 by reference
2016-09-22 11:51:39 +02:00
Anatol Belski
579c8669c8
Fixed bug #73126 Cannot pass parameter 1 by reference
2016-09-22 11:49:35 +02:00
Adam Baratz
e14636f4bd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Limit size of result set for test query
2016-09-21 16:23:58 -04:00
Adam Baratz
d334d319f0
Limit size of result set for test query
...
This result set can be very large, depending on the database. This change
ensures this test won't be slow.
2016-09-21 16:21:33 -04:00
Adam Baratz
5ab064caed
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
PHP bug 67130: nextRowset should work with unfetched rows
2016-09-21 15:15:18 -04:00
Adam Baratz
4b9810b9bb
update NEWS
2016-09-21 14:29:42 -04:00
Peter LeBrun
dfd6baee0c
PHP bug 67130: nextRowset should work with unfetched rows
2016-09-21 14:27:23 -04:00
Adam Baratz
7726151aa8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move dtor before memory freed to avoid invalid read
2016-09-21 12:02:17 -04:00
Adam Baratz
b29ad29b91
Move dtor before memory freed to avoid invalid read
2016-09-21 12:00:19 -04:00
Xinchen Hui
6617e87700
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed skip
2016-09-21 17:20:35 +08:00
Xinchen Hui
56e3ec93a9
Fixed skip
2016-09-21 17:20:02 +08:00
Stanislav Malyshev
33a8af0510
Fix bug #73073 - CachingIterator null dereference when convert to string
2016-09-20 22:59:12 -07:00
Christoph M. Becker
7e21cb0c99
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-20 12:18:13 +02:00
Christoph M. Becker
eeb9113b6c
Skip failing FreeType tests for now
2016-09-20 12:16:16 +02:00
Dmitry Stogov
64a8048c53
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
2016-09-20 12:34:58 +03:00
Dmitry Stogov
3c16384ea2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
2016-09-20 12:34:40 +03:00
Dmitry Stogov
4dd70b6e2f
Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
2016-09-20 12:29:57 +03:00
Christoph M. Becker
474428943f
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-20 01:32:32 +02:00
Christoph M. Becker
ba2d9e1ff1
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-20 01:25:08 +02:00
Christoph M. Becker
fc2cadca2d
Merge branch 'pull-request/1845' into PHP-5.6
2016-09-20 01:05:57 +02:00
George Wang
248ef30abe
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-19 10:50:21 -04:00
George Wang
ca24c58e65
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-19 10:49:26 -04:00
George Wang
56fa36b0a8
Fix wrong year in previous commit.
2016-09-19 10:46:46 -04:00
Julien Pauli
7c7dc62c11
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Do not wrap user exception in case of custom JSON serialization
Conflicts:
ext/json/json_encoder.c
2016-09-19 16:42:53 +02:00
Julien Pauli
c4f3ea10e4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Do not wrap user exception in case of custom JSON serialization
Conflicts:
ext/json/json.c
2016-09-19 16:11:17 +02:00
Julien Pauli
1ed4b13fb6
Do not wrap user exception in case of custom JSON serialization
2016-09-19 16:06:12 +02:00
Julien Pauli
d8d4091357
Updated NEWS
2016-09-19 15:20:22 +02:00
Julien Pauli
b41abf7496
Fix 73113 - Segfault with throwing JsonSerializable
2016-09-19 15:16:14 +02:00
TAKEKOSHI Akishige
2efb131210
when needle is short, Sunday algorithm is slower than glibc memchr()
2016-09-18 16:35:09 +08:00
Nikita Popov
9e2df3b6b2
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-17 22:56:36 +02:00
Nikita Popov
01759c4346
Add test for bug #72489
2016-09-17 22:54:25 +02:00
Nikita Popov
896814e139
Make zval_ptr_dtor / _zval_dtor_func more robust
...
In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
Cherry-pick of ded69ee6e6 from
PHP-7.1.
2016-09-17 22:33:41 +02:00
Christoph M. Becker
eac277ed83
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-16 23:50:00 +02:00
Christoph M. Becker
48cf8dd9c3
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-16 23:43:18 +02:00
Christoph M. Becker
6682673070
Fix #73100 : session_destroy null dereference in ps_files_path_create
2016-09-16 23:41:10 +02:00
Nikita Popov
cab7bc7e07
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-16 21:06:11 +02:00
Michael Orlitzky
0e76cafaf1
Disable add/sub asm for gcc 4.9 pic/pie builds
2016-09-16 21:06:02 +02:00
Xinchen Hui
12755437cb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updte NEWS
Fixed bug #72505 (readfile() mangles files larger than 2G)
2016-09-16 20:56:29 +08:00
Xinchen Hui
0ad82e41f2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Updte NEWS
Fixed bug #72505 (readfile() mangles files larger than 2G)
2016-09-16 20:55:54 +08:00
Xinchen Hui
01c7c6b152
Updte NEWS
2016-09-16 20:55:37 +08:00
Xinchen Hui
ac07008bb7
Fixed bug #72505 (readfile() mangles files larger than 2G)
2016-09-16 20:53:51 +08:00
Dmitry Stogov
846441ab4b
Prevent optimization of huge functions.
2016-09-16 14:03:05 +03:00
Christoph M. Becker
a8a123e36c
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-16 11:48:53 +02:00
Christoph M. Becker
c18263e0e0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-16 11:41:42 +02:00
Christoph M. Becker
46df064261
Fix #73003 : Integer Overflow in gdImageWebpCtx of gd_webp.c
...
We add the missing integer overflow check to avoid potential buffer overflows.
2016-09-16 11:37:18 +02:00
Remi Collet
db795d4c02
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test (32bits)
2016-09-15 15:36:39 +02:00
Remi Collet
d2d77c028d
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test (32bits)
2016-09-15 15:36:26 +02:00
Remi Collet
3c117d4136
fix test (32bits)
2016-09-15 15:32:39 +02:00
Remi Collet
f5abe9ff57
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix ZTS build
2016-09-15 13:29:44 +02:00
Remi Collet
19e04784ac
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix ZTS build
2016-09-15 13:29:26 +02:00
Remi Collet
55237fe153
fix ZTS build
2016-09-15 13:27:20 +02:00
Christoph M. Becker
44968927d7
Add CURLE_SSL_PINNEDPUBKEYNOTMATCH
...
This error constant is returned on key mismatch when CURLOPT_PINNEDPUBLICKEY
is used. As the option had been introduced in PHP 7.0.7, it makes sense to
also add the related error constant to PHP 7.0+.
Cf. <https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html >.
2016-09-15 12:20:19 +02:00
Ferenc Kovacs
4b9ec20b0e
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-15 11:38:49 +02:00
Ferenc Kovacs
30b7f72300
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-15 11:37:30 +02:00
Ferenc Kovacs
1d7484077a
update NEWS
2016-09-15 11:35:46 +02:00
Christoph M. Becker
41001f8bb5
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-15 00:55:41 +02:00
Christoph M. Becker
cf9e2fbbf6
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-15 00:50:49 +02:00
Christoph M. Becker
7bfb7b62b1
Fix and reactivate regression test for bug #50194
...
Apparently, different FreeType versions render the string differently, so
we have to cater to these slight differences. Unfortunately, the testing
framework doesn't yet offer a clean API for this, so we work around the
limitations by parsing and checking the output of test_image_equals_file().
2016-09-15 00:46:00 +02:00
Adam Baratz
b424d9f270
Mark change with relevant bug number
2016-09-14 17:44:56 -04:00
Christoph M. Becker
1c8c61f142
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-14 20:03:00 +02:00
Christoph M. Becker
7a923c3afe
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-14 20:02:05 +02:00
Christoph M. Becker
36df4f8419
Skip ext/gd/tests/bug50194.phpt for now
...
There are apparently issues with the font rendering with different freetype
version; I'll have a look at this issue ASAP.
2016-09-14 20:00:30 +02:00
Adam Baratz
744d1b3c76
Add pdo_dblib changes
2016-09-14 11:19:31 -04:00
Adam Baratz
2f99f702b7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip test for early TDS versions
2016-09-14 11:07:26 -04:00
Adam Baratz
f559fb7556
Skip test for early TDS versions
2016-09-14 11:06:54 -04:00
Christoph M. Becker
b1a65452a1
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-14 16:01:02 +02:00
Christoph M. Becker
bc27ce98ee
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-14 15:50:09 +02:00
Christoph M. Becker
09eb6ed35e
Fix #50194 : imagettftext broken on transparent background w/o alphablending
...
We must not draw the background pixels of the character glyphs, what has
already been fixed in GD 2.0.26.
2016-09-14 15:47:32 +02:00
Davey Shafik
ad8e7747bf
Update NEWS for 7.1.0RC3
2016-09-14 12:26:18 +00:00
Jakub Zelenka
25b4bd1606
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-14 12:34:39 +01:00
Jakub Zelenka
cfc8522238
Sync NEWS for bug #73072
2016-09-14 12:31:45 +01:00
Christoph M. Becker
219d8599b0
Fix #72430 : [] operator not supported for strings
2016-09-14 12:43:22 +02:00
Anatol Belski
001fbbb94f
fix erroneous resource destruction
2016-09-14 12:07:38 +02:00
Davey Shafik
acc574d76b
Sync NEWS
2016-09-13 19:38:39 -07:00
Adam Baratz
f6b6e97b29
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add special case for earlier versions of TDS
Adjust error formatting so ext/pdo/tests/bug_43130.phpt passes with pdo_dblib
Free error and message strings when cleaning up PDO instances that use pdo_dblib
Add common suite
2016-09-13 17:02:53 -04:00
Adam Baratz
bcee34c649
Add special case for earlier versions of TDS
2016-09-13 17:01:51 -04:00
Adam Baratz
0de333bd62
Adjust error formatting so ext/pdo/tests/bug_43130.phpt passes with pdo_dblib
2016-09-13 16:43:33 -04:00
Adam Baratz
69eef8c361
Free error and message strings when cleaning up PDO instances that use pdo_dblib
2016-09-13 16:43:30 -04:00
Adam Baratz
efadcb0390
Add common suite
2016-09-13 16:43:25 -04:00
Adam Baratz
45850213bd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Explicitly allow NULL values for dblib compatibility
Add dblib-specific query
Remove test cases don't test distinct behavior
2016-09-13 16:38:56 -04:00
Adam Baratz
9fb94f03e7
Explicitly allow NULL values for dblib compatibility
...
MSSQL won't necessarily default columns to NULL, see:
https://msdn.microsoft.com/en-us/library/ms174979.aspx
2016-09-13 16:36:23 -04:00
Adam Baratz
69013f6b26
Add dblib-specific query
2016-09-13 16:36:23 -04:00
Adam Baratz
f0a12af65b
Remove test cases don't test distinct behavior
...
These cases are also incompatible with pdo_dblib. Removing is easier.
2016-09-13 16:36:23 -04:00
Adam Baratz
c02ff02953
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions
2016-09-13 16:33:18 -04:00
Adam Baratz
91c49c4ab0
Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions
2016-09-13 16:32:37 -04:00
Adam Baratz
421f654874
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Allow \PDO::setAttribute() to set pdo_dblib query timeouts
2016-09-13 16:14:55 -04:00
Adam Baratz
9cdf2042bd
Allow \PDO::setAttribute() to set pdo_dblib query timeouts
2016-09-13 16:13:26 -04:00
Jakub Zelenka
1b1b7f8809
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-13 18:27:55 +01:00
Jakub Zelenka
3a739c9f9f
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-13 18:19:20 +01:00
Jakub Zelenka
05baa92727
Fix bug #73072 (Invalid path SNI_server_certs causes segfault)
2016-09-13 18:15:34 +01:00
Christoph M. Becker
db95bd5807
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-13 16:00:01 +02:00
Christoph M. Becker
c8a9ad1527
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-13 15:59:12 +02:00
Christoph M. Becker
c43ecfd798
Merge branch 'pull-request/2126' into PHP-5.6
2016-09-13 15:57:39 +02:00
Anatol Belski
0492a05f97
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-09-13 15:56:16 +02:00
Anatol Belski
667d8d3522
update NEWS
2016-09-13 15:55:31 +02:00
Anatol Belski
252b28dbb6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
upgrade bundled sqlite to 3.14.2
2016-09-13 15:46:55 +02:00
Anatol Belski
598ed66f82
update NEWS
2016-09-13 15:45:18 +02:00
Anatol Belski
1382e88ac1
upgrade bundled sqlite to 3.14.2
2016-09-13 15:44:21 +02:00
Anatol Belski
86d6f29e8f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add test for bug #73068
2016-09-13 15:30:35 +02:00
Anatol Belski
5163925796
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add test for bug #73068
2016-09-13 15:29:46 +02:00
Anatol Belski
248f8c3a91
add test for bug #73068
2016-09-13 15:28:28 +02:00
Christoph M. Becker
07aab07ce5
Update to SQLite 3.14.2
2016-09-13 13:40:18 +02:00
Anatol Belski
128043babe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-09-13 12:34:55 +02:00
Anatol Belski
941b56dd4a
update NEWS
2016-09-13 12:34:03 +02:00
Anatol Belski
2820adcc7e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test portability
2016-09-13 12:09:50 +02:00
Anatol Belski
855b8e4f79
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test portability
2016-09-13 12:02:05 +02:00
Anatol Belski
fc31d6fed4
fix test portability
2016-09-13 12:00:29 +02:00
Anatol Belski
2088e3eb45
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
pick up the safe alloc pieces from 19866fb76c
2016-09-13 11:51:17 +02:00
Anatol Belski
c403b30291
pick up the safe alloc pieces from
...
19866fb76c
2016-09-13 11:50:18 +02:00
Anatol Belski
0dd2f072b1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
missed semicolon
fix C89 conformity
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Fix test
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860 : wddx_deserialize use-after-free
Also fix overflow in wordwrap
Fix bug #73007 : add locale length check
Add more checks for int overflow
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Fix various int size overflows.
2016-09-13 10:57:03 +02:00
Anatol Belski
01f6a0a860
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
missed semicolon
fix C89 conformity
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Fix test
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860 : wddx_deserialize use-after-free
Also fix overflow in wordwrap
Fix bug #73007 : add locale length check
Add more checks for int overflow
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Fix various int size overflows.
2016-09-13 10:54:54 +02:00
Anatol Belski
8fd0e0285f
missed semicolon
2016-09-13 10:50:44 +02:00
Anatol Belski
363c2524dd
fix C89 conformity
2016-09-13 10:43:51 +02:00
Stanislav Malyshev
dad0e9d1a3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0: (22 commits)
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
I don't think 8cceb012a7 is needed
Fix test
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860 : wddx_deserialize use-after-free
Fix bug #73007 : add locale length check
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
sync NEWS
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
Merge branch 'PHP-5.6' into PHP-7.0
Merge branch 'PHP-5.6' into PHP-7.0
Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
fix version
sync NEWS
Fix bug #72957
set versions
...
2016-09-12 21:10:34 -07:00
Stanislav Malyshev
07c6bdb85d
Merge branch 'PHP-7.0.11' into PHP-7.0
...
* PHP-7.0.11: (22 commits)
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
I don't think 8cceb012a7 is needed
Fix test
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860 : wddx_deserialize use-after-free
Fix bug #73007 : add locale length check
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
sync NEWS
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
Merge branch 'PHP-5.6' into PHP-7.0
Merge branch 'PHP-5.6' into PHP-7.0
Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
fix version
sync NEWS
Fix bug #72957
set versions
...
2016-09-12 21:09:30 -07:00
Stanislav Malyshev
caea2c876b
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
2016-09-12 21:07:44 -07:00
Stanislav Malyshev
28f80baf3c
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
33d0ef0fef
Fix test
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
c4cca4c20e
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
f5a9592ad8
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
6a7cc8ff85
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
7381d4c00e
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
ecb7f58a06
Fix bug #73029 - Missing type check when unserializing SplArray
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
b88393f08a
Fix bug #72860 : wddx_deserialize use-after-free
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
65c8caafa8
Also fix overflow in wordwrap
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
6d55ba2656
Fix bug #73007 : add locale length check
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
ba5ac0d360
Add more checks for int overflow
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
223266e4e4
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
19866fb76c
Fix various int size overflows.
...
Add function for detection of string zvals with length that does not fit
INT_MAX.
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
c984661d39
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
2016-09-12 20:28:50 -07:00
Stanislav Malyshev
32e0b46997
I don't think 8cceb012a7 is needed
2016-09-12 20:15:22 -07:00
Stanislav Malyshev
fab33740c5
Fix test
2016-09-12 20:15:18 -07:00
Xinchen Hui
339a865d87
Update NEWS
2016-09-13 10:59:30 +08:00
Xinchen Hui
a339523fe5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73067 (__debugInfo crashes when throwing an exception)
2016-09-13 10:59:09 +08:00
Xinchen Hui
2d8ab51576
Fixed bug #73067 (__debugInfo crashes when throwing an exception)
2016-09-13 10:58:57 +08:00
Adam Baratz
76af2def79
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Never quote values as raw binary data
2016-09-12 17:44:33 -04:00
Adam Baratz
2302eef5c9
Never quote values as raw binary data
...
This reverts a1a18fca6e which was intended to fix
bug #52885 . That commit introduced a BC break which wasn't universally
desirable. The issue of quoting binary data (or NVARCHAR strings, or other
nonstandard types) will have to be addressed separately.
2016-09-12 17:32:50 -04:00
Anatol Belski
8cceb012a7
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
...
(cherry picked from commit 99ac11222cb2a4e9aa6a865f908b28def349c049)
Conflicts:
ext/standard/file.c
2016-09-12 18:59:38 +02:00
Adam Baratz
39f45e208c
Add myself as pdo_dblib maintainer
2016-09-12 12:43:39 -04:00
Stanislav Malyshev
9528ce7315
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
...
(cherry picked from commit bbaf784f8d213e201baf67e861f20b38c6e87d3b)
Conflicts:
ext/wddx/wddx.c
2016-09-12 18:13:04 +02:00
Stanislav Malyshev
c5f34c9eca
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
...
(cherry picked from commit 75ebf471ff46ec6e5ee279b3650c11d51ebaf9e3)
2016-09-12 17:54:32 +02:00
Stanislav Malyshev
27876d22ef
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
...
(cherry picked from commit b6e1e5e0b3e6221c7b14fa10cba30f5c5e719e1b)
Conflicts:
Zend/zend_objects_API.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
2016-09-12 17:53:44 +02:00
Stanislav Malyshev
022e75cba1
Fix bug #73029 - Missing type check when unserializing SplArray
...
(cherry picked from commit 6d16288150be33392a3249e417a0929881feb9a2)
Conflicts:
ext/spl/spl_array.c
2016-09-12 17:42:23 +02:00
Stanislav Malyshev
060ab26cfe
Fix bug #72860 : wddx_deserialize use-after-free
...
(cherry picked from commit ee552853ff4d72f626102025133e2cd1575043ee)
Conflicts:
ext/wddx/wddx.c
2016-09-12 17:33:32 +02:00
Stanislav Malyshev
92db16e456
Fix bug #73007 : add locale length check
...
(cherry picked from commit 9e07089626f373d0e7b24b7aeb8b8459aae5f5f8)
Conflicts:
ext/intl/msgformat/msgformat_format.c
2016-09-12 17:19:47 +02:00
Stanislav Malyshev
0bfb970f43
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
...
(cherry picked from commit 19484ab77466f99c78fc0e677f7e03da0584d6a2)
2016-09-12 17:04:19 +02:00
Christoph M. Becker
c7adfeb6c6
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-12 13:36:24 +02:00
Christoph M. Becker
82fa85fd08
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-12 13:27:57 +02:00
Christoph M. Becker
0cbf634657
Skip regression test for issue that has not yet been released in libgd
...
<https://github.com/libgd/libgd/issues/177 > has been assessed as enhancement,
so most likely it will be released with GD 2.3.
2016-09-12 13:21:34 +02:00
Christoph M. Becker
6ef0b09948
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-12 12:44:49 +02:00
Christoph M. Becker
c2044e60f3
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-12 12:39:14 +02:00
Christoph M. Becker
fcdc30b347
Skip test for external GD because of not yet published bugfix
2016-09-12 12:34:11 +02:00
Christoph M. Becker
6c3f90cab9
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-12 00:03:56 +02:00
Christoph M. Becker
c02cfd4e25
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 23:51:32 +02:00
Christoph M. Becker
6d0e773292
Skip tests for unpatched external libgd regarding libvpx
...
Some issues have never been fixed in the external libgd's libvpx binding,
so we skip the respective tests.
2016-09-11 23:49:09 +02:00
Andrea Faulds
fc5497cb92
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-11 22:46:20 +01:00
Andrea Faulds
d690014bf3
Remove zpp fallback code (always use Fast ZPP)
...
Squashed commit of the following:
commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me >
Date: Sun Sep 11 19:14:37 2016 +0100
Keep dummy FAST_ZPP macro for compatibility
commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me >
Date: Mon Sep 5 22:36:03 2016 +0100
Remove FAST_ZPP macro and plain zpp fallback code
2016-09-11 22:44:46 +01:00
Christoph M. Becker
c90f7f66ea
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-11 23:03:58 +02:00
Christoph M. Becker
529811cfb0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 19:32:54 +02:00
Christoph M. Becker
6ef987e012
Split test for bundled vs. external libgd
...
The behavior of imagecropauto($im, IMG_CROP_DEFAULT) is rather different
for the bundled and an external libgd, see
<https://github.com/libgd/libgd/issues/298 >.
Therefore we split the test for now.
2016-09-11 19:30:55 +02:00
Christoph M. Becker
c911aa9def
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-11 18:40:46 +02:00
Christoph M. Becker
225478bccf
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 18:35:11 +02:00
Christoph M. Becker
38455293f7
Make test case more resilient
...
This test case fails with external libgd, because libgd < 2.2.4 converts
palette images to truecolor (<https://github.com/libgd/libgd/issues/297 >).
However, even if there happens no truecolor conversion, it is not guaranteed
that the palette indexes of the original and the cropped image are identical
(this is, for instance, not the case with current libgd master where the bug
has been fixed). Therefore we check for the expected RGBA value instead of
the palette index.
2016-09-11 18:29:27 +02:00
Christoph M. Becker
29cb3c89e5
Replace md5 image comparision with test_image_equals_file()
2016-09-11 14:56:11 +02:00
Christoph M. Becker
b843d65599
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-11 14:05:19 +02:00
Christoph M. Becker
cd16b64f01
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 13:26:30 +02:00
Anatol Belski
c300fdfa36
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug category
update NEWS
2016-09-11 13:21:15 +02:00
Anatol Belski
95e4e6a3ce
fix bug category
2016-09-11 13:20:25 +02:00
Anatol Belski
1b2007dada
sync NEWS
2016-09-11 13:19:17 +02:00
Anatol Belski
0fdf2ffae1
update NEWS
2016-09-11 13:05:07 +02:00
Anatol Belski
65bf5e88c7
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
...
This reverts commit 946335ba70 , reversing
changes made to 3437dbfa00 .
2016-09-11 12:59:43 +02:00
Christoph M. Becker
2970630133
Merge branch 'PHP-5.6' into PHP-7.0
...
(cherry picked from commit f93fd8ce32 )
2016-09-11 12:59:43 +02:00
Christoph M. Becker
874697e30a
Merge branch 'PHP-5.6' into PHP-7.0
...
(cherry picked from commit 8f32d609c5 )
2016-09-11 12:59:43 +02:00
Anatol Belski
d947d974d5
Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
...
This reverts commit 62d5bfb527 .
2016-09-11 12:59:43 +02:00
Christoph M. Becker
dc09f30933
A picture is worth a thousand message digests
...
The bundled GD test suites makes heavy use of md5() to verify the result
of drawing operations. This leads to fragile tests (even a slight change
in a PNG header would cause failure, and of course there is the
possibility of collisions), and even worse, eventual test failures are
rather unrevealing.
Therefore we replace all md5() verification with a simplistic
test_image_equals_file(), which is basically a simplified port of libgd's
gdTestImageCompareToFile(), adapted to the needs of PHPTs.
In the long run better tests helpers should be introduced (see also
<http://news.php.net/php.internals/94081 >), but for now this solution
is preferable over the former.
(cherry picked from commit 24f9e96792518ec2a75f26b1eb2471dd7694f2b7)
2016-09-11 12:56:53 +02:00
Christoph M. Becker
625e43caa8
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-11 00:14:49 +02:00
Christoph M. Becker
8753356eb0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 00:09:23 +02:00
Christoph M. Becker
326a4e38fb
Add regression test for bug #73053
...
The test succeeds with libxml < 2.9.4, and is supposed to succeed with
libxml > 2.9.4. Unfortunately, we can't conditionally mark a test case
as XFAIL, so we're simply skipping the test for libxml 2.9.4 instead.
2016-09-11 00:06:45 +02:00
Anatol Belski
aa5abe113b
update NEWS
2016-09-10 11:04:57 +02:00
Anatol Belski
6e1d8d9c71
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
2016-09-10 11:04:38 +02:00
Anatol Belski
1ed07676e6
update NEWS
2016-09-10 11:04:00 +02:00
Anatol Belski
1c789dba7b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-09-10 11:03:39 +02:00
Anatol Belski
6c9d37d059
update NEWS
2016-09-10 11:02:17 +02:00
Anatol Belski
435048935e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bug #73058 crypt broken when salt is 'too' long
2016-09-10 02:49:30 +02:00
Anatol Belski
e539ea439b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Bug #73058 crypt broken when salt is 'too' long
2016-09-10 02:44:21 +02:00
Anatol Belski
669fda00b7
Bug #73058 crypt broken when salt is 'too' long
2016-09-10 02:39:28 +02:00
Xinchen Hui
a90e438af3
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Don't optimize (string) cast on arrays
2016-09-09 22:40:53 +08:00
Xinchen Hui
2a3b75a0eb
Fixed function info
2016-09-09 22:40:08 +08:00
Nikita Popov
1d4b831d63
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-09 16:38:42 +02:00
Nikita Popov
e3c08de08a
Don't optimize (string) cast on arrays
...
Otherwise we throw a notice during pass1_5 optimization.
2016-09-09 16:38:26 +02:00
Christoph M. Becker
7d80b64ac8
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-09 16:32:27 +02:00
Christoph M. Becker
7a90fc96d8
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-09 16:30:26 +02:00
Christoph M. Becker
c42a7f2f3f
Remove ignored --FAIL-- section from test case
...
This is just confusing.
2016-09-09 16:27:50 +02:00
Nikita Popov
766264f8d2
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-09 16:02:59 +02:00
Nikita Popov
bbcf77c309
Fix some block_pass bugs
2016-09-09 15:58:36 +02:00
Nikita Popov
30af80610e
Compile intval() etc to casts
2016-09-09 15:45:46 +02:00
Nikita Popov
b4213f0d0b
Add fast paths for bitwise operators
2016-09-09 15:30:41 +02:00
Christoph M. Becker
e8e41aa8cd
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-09 14:43:16 +02:00
Christoph M. Becker
1a30a7a422
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-09 14:34:11 +02:00
Christoph M. Becker
23e721fc93
Fix #73054 : default option ignored when object passed to int filter
...
If an object that can't be converted to string is validated, we must not
bail out early, but rather check for a requested default value.
2016-09-09 14:30:24 +02:00
Christoph M. Becker
e5ff8b2f31
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-09 12:53:35 +02:00
Christoph M. Becker
807c49e6be
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-09 12:49:02 +02:00
Levi Morrison
cb91a51b00
Partially fix bug #67167 - Wrong return value...
...
...from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE
The remainer of the fix would require the filter functions to only
convert to string when it makes sense for that particular filter.
(cherry picked from commit 432dc527ad )
2016-09-09 12:45:46 +02:00
Yasuo Ohgaki
17dbb916fc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update NEWS
Fixed Bug #68015 Session does not report invalid uid for files save handler
2016-09-09 11:39:40 +09:00
Yasuo Ohgaki
fb9444e053
Update NEWS
2016-09-09 11:34:34 +09:00
Yasuo Ohgaki
0e3b30fad1
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed Bug #68015 Session does not report invalid uid for files save handler
2016-09-09 11:32:20 +09:00
Yasuo Ohgaki
38553e853b
Fixed Bug #68015 Session does not report invalid uid for files save handler
2016-09-09 11:31:54 +09:00
Anatol Belski
1cf0a2c9ae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
backport 59444347 and 3d7343f6
2016-09-08 17:50:46 +02:00
Anatol Belski
4fda0a9479
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
backport 59444347 and 3d7343f6
2016-09-08 17:49:47 +02:00
Anatol Belski
b1f33db39f
backport 59444347 and 3d7343f6
2016-09-08 17:46:53 +02:00
Yasuo Ohgaki
71ff5cd3c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug26639.phpt
2016-09-08 14:10:55 +09:00
Yasuo Ohgaki
963454b93f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug26639.phpt
2016-09-08 14:10:21 +09:00
Yasuo Ohgaki
8c700076d7
Fix bug26639.phpt
2016-09-08 14:07:57 +09:00
Yasuo Ohgaki
2c3bc4eb55
Update NEWS
2016-09-08 13:35:38 +09:00
Yasuo Ohgaki
c50ae8fda7
Update NEWS
2016-09-08 13:35:35 +09:00
Yasuo Ohgaki
fb1c46f013
Update NEWS
2016-09-08 13:35:30 +09:00
Yasuo Ohgaki
1ecf361c15
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset
2016-09-08 13:32:47 +09:00
Yasuo Ohgaki
379d9a1cfc
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset
2016-09-08 13:32:31 +09:00
Yasuo Ohgaki
8bbd0952e5
Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset
2016-09-08 13:17:10 +09:00
Christoph M. Becker
5880428dac
Fix potential memory issue with USE_ZEND_ALLOC=0
...
The PHP core and extensions are written with the assumption that memory
allocation either succeeds, or the allocator bails out (i.e. the allocator
is infallible). Therefore the result of emalloc() and friends are not checked
for NULL values.
However, with USE_ZEND_ALLOC=0, malloc() and friends are used as allocators,
but these are fallible, i.e. they return NULL instead of bailing out if they
fail. This easily leads to invalid memory accesses in the following, such as
in <https://bugs.php.net/73032 >. Some of these cases may constitute
exploitable vulnerabilities.
Therefore we make the infallible __zend_alloc() and friends the default for
USE_ZEND_ALLOC=0.
2016-09-07 22:50:53 +02:00
Dmitry Stogov
6aa07c9083
Fixed type inference bug
2016-09-07 11:36:14 +03:00
Nikita Popov
135f275836
Add ISSET_ISEMPTY_STATIC_PROP to smart branch list
2016-09-06 22:19:34 +02:00
Christoph M. Becker
68d3501381
Merge branch 'pull-request/2115' into PHP-7.1
2016-09-06 14:14:23 +02:00
Nikita Popov
09f7bb2082
Followup for bug #72785
...
Fix incorrect handling of nesting ... need to reset to the old
value afterwards.
2016-09-06 12:59:35 +02:00
Christoph M. Becker
5d394b3bb4
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-06 12:16:42 +02:00
Christoph M. Becker
af3031d755
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-06 12:11:24 +02:00
Christoph M. Becker
dad793630d
Fix #73025 : Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c
...
`command_length` is retrieved via strlen() and later passed to emalloc()
and memcpy(), so the appropriate type is `size_t`.
We don't add a regression test, because that would need to allocate a string
of at least 2 GiB.
2016-09-06 12:05:58 +02:00
Yasuo Ohgaki
3a35d43ad9
Update NEWS
2016-09-06 18:29:20 +09:00
Yasuo Ohgaki
0adf9191ad
Update NEWS
2016-09-06 18:29:00 +09:00
Yasuo Ohgaki
a58e6d4e34
Update NEWS
2016-09-06 18:28:45 +09:00
Yasuo Ohgaki
012232b9a4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed Bug #66964 mb_convert_variables() cannot detect recursion
2016-09-06 16:42:07 +09:00
Yasuo Ohgaki
6f1a52bfbb
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed Bug #66964 mb_convert_variables() cannot detect recursion
2016-09-06 16:41:52 +09:00
Yasuo Ohgaki
608decfd3f
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src: (53 commits)
Fix bug #72785 - allowed_classes only applies to outermost unserialize()
Fix #70752 : Depacking with wrong password leaves 0 length files
Unbreak FAST_ZPP dead code
Updated NEWS
Fixes #72590 : Opcache restart with kill_all_lockers does not work
Limit editorconfig to C code
Updated NEWS
Updated NEWS
Updated NEWS
Fix #72972 , Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE
Change the name of the second parameter of image writer functions
Added editorconfig file
Implement #47456 : Missing PCRE option 'J'
Use integer placeholders, since values can vary with the TDS version
phpdbg: couple of network function return checks. Possible overflow when copy the socket_path configuration.
Same issue as #72926 in another place.
Sync fix for bug #72910 with current upstream
Fix #72994 : mbc_to_code() out of bounds read
Bump PHP_API_VERSION
Fix bug #72996
...
2016-09-06 16:41:09 +09:00
Yasuo Ohgaki
a25f6f89cd
Fixed Bug #66964 mb_convert_variables() cannot detect recursion
2016-09-06 16:05:34 +09:00
Stanislav Malyshev
747d21cfd2
Fix bug #72785 - allowed_classes only applies to outermost unserialize()
2016-09-05 19:56:36 -07:00
Christoph M. Becker
1928cdcacb
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-06 01:18:22 +02:00
Christoph M. Becker
81ec843d0e
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-06 01:15:36 +02:00
Christoph M. Becker
8aad3131a1
Fix #70752 : Depacking with wrong password leaves 0 length files
...
We should not open the output stream before we have tried to open the
archive entry, as failing the latter could leave an empty file behind.
2016-09-06 01:03:46 +02:00
Andrea Faulds
cfc83af978
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-05 22:13:20 +01:00
Andrea Faulds
009ee6e503
Unbreak FAST_ZPP dead code
2016-09-05 22:12:26 +01:00
Julien Pauli
b86e15849e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Fixes #72590 : Opcache restart with kill_all_lockers does not work
2016-09-05 17:04:15 +02:00
Julien Pauli
4fa52b42c7
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Updated NEWS
Fixes #72590 : Opcache restart with kill_all_lockers does not work
2016-09-05 17:03:51 +02:00
Julien Pauli
dd6da58fac
Updated NEWS
2016-09-05 17:03:29 +02:00
Keyur
0045d16863
Fixes #72590 : Opcache restart with kill_all_lockers does not work
...
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-09-05 16:59:28 +02:00
Nikita Popov
a463da7204
Merge branch 'PHP-7.0' into PHP-7.1
...
[ci skip]
2016-09-05 14:22:45 +02:00
Nikita Popov
1cd0c80acf
Merge branch 'PHP-5.6' into PHP-7.0
...
[ci skip]
2016-09-05 14:22:29 +02:00
Nikita Popov
b92cb6b238
Limit editorconfig to C code
...
PHPT files do not follow this.
[ci skip]
2016-09-05 14:22:13 +02:00
Julien Pauli
5f9fe06555
Updated NEWS
2016-09-05 10:19:21 +02:00
Julien Pauli
51de65c20e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Updated NEWS
2016-09-05 10:18:57 +02:00
Julien Pauli
d185c2f13a
Updated NEWS
2016-09-05 10:18:39 +02:00
Julien Pauli
14d754d6fd
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Updated NEWS
2016-09-05 10:18:08 +02:00
Julien Pauli
1abbcc8cc5
Updated NEWS
2016-09-05 10:17:56 +02:00
Julien Pauli
376dcaa39a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #72972 , Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE
2016-09-05 10:13:19 +02:00
Julien Pauli
e5047ac2d2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #72972 , Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE
2016-09-05 10:12:49 +02:00
Julien Pauli
9834978a8b
Fix #72972 , Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE
2016-09-05 10:08:42 +02:00
Christoph M. Becker
f203de0748
Change the name of the second parameter of image writer functions
...
As of PHP 5.4.0 the second parameter of all image writer functions (except
imagexbm) accepts also a stream resource. Therefore the parameter name
`filename` is inappropriate. We change it to `to` according to what it's
already called in _php_image_output_ctx().
We consider the reflection only related BC break acceptable for a minor version.
2016-09-05 00:43:30 -07:00
Stanislav Malyshev
0d4411d7c8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added editorconfig file
2016-09-05 00:41:26 -07:00
Stanislav Malyshev
4e0605044a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Added editorconfig file
2016-09-05 00:41:23 -07:00
Richard Fussenegger
5c38fbe543
Added editorconfig file
2016-09-05 00:40:58 -07:00
Stanislav Malyshev
9650b8e241
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Implement #47456 : Missing PCRE option 'J'
2016-09-05 00:39:01 -07:00
Stanislav Malyshev
92db92c620
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Implement #47456 : Missing PCRE option 'J'
2016-09-05 00:38:57 -07:00
Christoph M. Becker
39423e425d
Implement #47456 : Missing PCRE option 'J'
...
While it is possible to force the same behavior by setting the internal
option (?J), having a dedicated modifier appears to be useful. After all,
J is even listed on the "Pattern Modifiers" man page[1], but the description
referrs to (?J).
[1] <http://php.net/manual/en/reference.pcre.pattern.modifiers.php >
2016-09-05 00:30:48 -07:00
Stanislav Malyshev
f57c059b96
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Recognize TDS versions 7.3 and 7.4
2016-09-05 00:29:21 -07:00
Stanislav Malyshev
b5f9427ca9
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Recognize TDS versions 7.3 and 7.4
2016-09-05 00:29:18 -07:00
Stanislav Malyshev
cee363d609
Merge branch 'pull-request/2061' into PHP-5.6
...
* pull-request/2061:
Recognize TDS versions 7.3 and 7.4
2016-09-05 00:29:11 -07:00
Stanislav Malyshev
498e36294e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use integer placeholders, since values can vary with the TDS version
2016-09-05 00:19:34 -07:00
Stanislav Malyshev
54f6c8d6df
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Use integer placeholders, since values can vary with the TDS version
2016-09-05 00:19:26 -07:00
Adam Baratz
84d495055d
Use integer placeholders, since values can vary with the TDS version
2016-09-05 00:17:59 -07:00
Stanislav Malyshev
8c16f2262f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
phpdbg: couple of network function return checks. Possible overflow when copy the socket_path configuration.
2016-09-04 23:24:31 -07:00
David Carlier
19350b6b73
phpdbg: couple of network function return checks. Possible
...
overflow when copy the socket_path configuration.
2016-09-04 23:18:51 -07:00
Stanislav Malyshev
defa47b94d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Same issue as #72926 in another place.
2016-09-04 20:58:09 -07:00
Stanislav Malyshev
a2fdf0f413
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Same issue as #72926 in another place.
2016-09-04 20:57:46 -07:00
Stanislav Malyshev
b578580e88
Same issue as #72926 in another place.
2016-09-04 20:49:34 -07:00
Stanislav Malyshev
3bfd06061e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Sync fix for bug #72910 with current upstream
2016-09-04 19:15:45 -07:00
Stanislav Malyshev
c3dfe57c23
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Sync fix for bug #72910 with current upstream
2016-09-04 19:15:30 -07:00
Stanislav Malyshev
d1fbc98ff6
Sync fix for bug #72910 with current upstream
2016-09-04 19:13:48 -07:00
Christoph M. Becker
94b66b8793
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-04 16:47:55 +02:00
Christoph M. Becker
7f97d63130
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-04 16:39:45 +02:00
Christoph M. Becker
b7259b71b4
Fix #72994 : mbc_to_code() out of bounds read
...
We're backporting commit 999a3553 to the still supported PHP 5.6.
2016-09-04 16:37:06 +02:00
Nikita Popov
69f0d3df60
Bump PHP_API_VERSION
2016-09-04 14:27:28 +02:00
Nikita Popov
f1bfd7fe00
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-03 23:31:05 +02:00
Nikita Popov
1ae2d074f8
Fix bug #72996
2016-09-03 23:30:23 +02:00
Christoph M. Becker
85824eda36
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-03 20:09:50 +02:00
Christoph M. Becker
8cc9570f53
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-03 19:59:44 +02:00
Christoph M. Becker
d582241368
Fix #67325 : imagetruecolortopalette: white is duplicated in palette
...
gdImageTrueColorToPalette() is sometimes wasteful by putting multiple white
color entries into the palette. This is caused by an obvious typo, where
to avoid a division by zero when `total` is zero, `count` is checked instead
of `total`.
We fix this issue to improve the quality of the color quantization.
Cf. <https://github.com/libgd/libgd/commit/24b4550f >
2016-09-03 19:50:42 +02:00
Anatol Belski
1b2a06fe64
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak and error check order
2016-09-03 17:04:43 +02:00
Anatol Belski
c9040d43a8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak and error check order
2016-09-03 17:03:55 +02:00
Anatol Belski
9513187dee
fix leak and error check order
2016-09-03 16:59:17 +02:00
Christoph M. Becker
9eeb705eca
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-03 13:53:07 +02:00
Christoph M. Becker
0bc7e0c0ce
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-03 13:46:03 +02:00
Christoph M. Becker
bca913d70a
Fix proto comment
...
While we're at it, we also change a related comment to use American English
consistently.
2016-09-03 13:41:29 +02:00
Christoph M. Becker
727b422ad9
Fix #72948 : Uncatchable "Catchable" fatal error for class to string conversions
...
E_RECOVERABLE errors are reported as "Catchable fatal error". This is
misleading, because they actually can't be caught via try-catch statements.
Therefore we change the wording to "Recoverable fatal error" as suggested by
Nikita.
2016-09-03 13:05:37 +02:00
Christoph M. Becker
5bdf2fa345
Merge branch 'pull-request/2114' into PHP-7.1
2016-09-03 12:00:46 +02:00
Christoph M. Becker
b8d26ebb9a
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-03 00:40:05 +02:00
Christoph M. Becker
f3dc00fdfb
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-03 00:30:05 +02:00
Christoph M. Becker
c83bdb8e6a
Make test case more resilient
...
When ran from a root directory the test case failed, because the open_basedir
restriction for "../[…]" won't kick in. Therefore we change the current
working directory to the test case's directory, as discussed on internals,
see <http://news.php.net/php.internals/95585 >.
2016-09-03 00:24:30 +02:00
Anatol Belski
e89c09ba29
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix double free
2016-09-03 00:06:16 +02:00
Anatol Belski
7483acf511
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix double free
2016-09-03 00:05:02 +02:00
Anatol Belski
5efd2a33df
fix double free
2016-09-03 00:01:04 +02:00
Anatol Belski
e4564e4b98
improve fix
2016-09-02 23:33:43 +02:00
Anatol Belski
93bb779433
fix leak
2016-09-02 23:31:26 +02:00
Anatol Belski
0b5faa4461
fix leak
2016-09-02 20:20:37 +02:00
Anatol Belski
596f488e06
Add skipifs to some mb path tests
...
These were invented primarily to test the multibyte path handling
patch on Windows. How it turns out by PR #2105 , some test issues
on some filesystems are possible. Particularly HFS is configurable
to use different ways to save filenames, see
https://developer.apple.com/library/mac/qa/qa1173/_index.html
This makes it impossible to test the filenames byte wise, while
the results are still correct. There are still several other tests
using UTF-8 file names spread over other extensions. So far no
false positives are to see, they don't need to be touched.
2016-09-02 19:46:32 +02:00
Anatol Belski
2c02e93e69
fix leak
2016-09-02 19:46:32 +02:00
Anatol Belski
44e43a4738
fix mem leak
2016-09-02 19:46:32 +02:00
Christoph M. Becker
8f110ee4dc
Update to SQLite 3.14.1
2016-09-02 17:58:16 +02:00
Stephan Muggli
9c69d98614
Fix typo in UPGRADING
2016-09-02 15:04:58 +00:00
Julien Pauli
e681b8771b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix warning about sign-mismatch comparisons
2016-09-02 17:02:25 +02:00
Julien Pauli
e14b14d026
Fix warning about sign-mismatch comparisons
2016-09-02 17:01:52 +02:00
Stanislav Malyshev
01f4a52aaa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #72910
5.6.27 will be next
2016-09-01 23:29:17 -07:00
Stanislav Malyshev
2adc335eb5
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src: (134 commits)
fix useless assignment
avoid needless function call
remove useless assignment
remove unused assignment
rewrite the getcwd part
fix leak
fix unused assignment
remove duplicated symbol
Revert 39587c4817 8b7f594a2b Because of 24fdffdacb
add extra test to protected behavior of compact and array string key order
fix unintentional bc break with compact('this') behavior
Fix some grammatical errors in PHP 7.1 Upgrade Notes
Update NEWS
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
Update NEWS and UPGRADING
Revert "Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc ""
Revert "Revert "Merge RFC https://wiki.php.net/rfc/session-create-id ""
Revert "Revert "Add tests""
Revert "Fix NEWS"
Fix bug #72940 properly. Reduce needless branches
...
2016-09-01 23:28:56 -07:00
Stanislav Malyshev
ccc8d92d3d
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #72910
5.6.27 will be next
2016-09-01 23:28:44 -07:00
Stanislav Malyshev
e576714f6b
Fix bug #72910
...
Merge upstream patch from https://github.com/kkos/oniguruma/commit/65bdf2a0d160d06556415e5f396a75f6b11bad5c
2016-09-01 23:27:06 -07:00
Anatol Belski
f1cf26ea4f
fix useless assignment
2016-09-01 23:45:31 +02:00
Anatol Belski
1d64b4c71e
avoid needless function call
2016-09-01 23:45:31 +02:00
Anatol Belski
a989091880
remove useless assignment
2016-09-01 23:45:31 +02:00
Anatol Belski
0382a64fdf
remove unused assignment
2016-09-01 23:45:31 +02:00
Anatol Belski
ac82a34185
rewrite the getcwd part
...
Also fixes a possible memory leak. Still not ideal, as seems CWD
longer than MAX_PATH is still not supported. But a heap allocation
is not needed anyway, as MAXPATHLEN value is the maximum supported.
2016-09-01 23:45:31 +02:00
Anatol Belski
7020e6f9ae
fix leak
2016-09-01 23:45:31 +02:00
Anatol Belski
0a50cbabf6
fix unused assignment
2016-09-01 23:45:31 +02:00
Anatol Belski
cd7853b455
remove duplicated symbol
2016-09-01 23:45:31 +02:00
Ferenc Kovacs
fbb81dd755
5.6.27 will be next
2016-09-01 20:27:19 +02:00
Remi Collet
5a9691bf08
Revert
...
39587c4817
8b7f594a2b
Because of
24fdffdacb
2016-09-01 15:21:45 +02:00
Márcio Almada
cba560e67f
add extra test to protected behavior of compact and array string key order
2016-09-01 13:01:42 +02:00
Márcio Almada
00c2c3a476
fix unintentional bc break with compact('this') behavior
2016-09-01 13:01:38 +02:00
Teoh Han Hui
2c3408f5cb
Fix some grammatical errors in PHP 7.1 Upgrade Notes
...
[skip ci]
2016-09-01 12:58:32 +02:00
Xinchen Hui
06e4a03e01
Update NEWS
2016-09-01 12:11:24 +08:00
Xinchen Hui
5f3a26c741
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:54 +08:00
Xinchen Hui
1ee41683dc
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:38 +08:00
Yasuo Ohgaki
4f07f0e93f
Update NEWS and UPGRADING
2016-09-01 10:32:34 +09:00
Yasuo Ohgaki
a4a2f66e75
Revert "Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc ""
...
This reverts commit 355c7e7d1c .
2016-09-01 10:12:26 +09:00
Yasuo Ohgaki
b36ae7467e
Revert "Revert "Merge RFC https://wiki.php.net/rfc/session-create-id ""
...
This reverts commit 663f1c8fb0 .
2016-09-01 10:12:23 +09:00
Yasuo Ohgaki
7505eaf6fa
Revert "Revert "Add tests""
...
This reverts commit 4f11dedc43 .
2016-09-01 10:12:19 +09:00
Yasuo Ohgaki
5366df75b4
Revert "Fix NEWS"
...
This reverts commit abc2271b8d .
2016-09-01 10:12:16 +09:00
Yasuo Ohgaki
90352bb4a2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #72940 properly. Reduce needless branches
2016-09-01 07:47:27 +09:00
Yasuo Ohgaki
cc797d4fc3
Fix bug #72940 properly. Reduce needless branches
2016-09-01 07:47:13 +09:00
Yasuo Ohgaki
355c7e7d1c
Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc "
...
This reverts commit 1cf179e415 .
2016-09-01 05:54:55 +09:00
Yasuo Ohgaki
663f1c8fb0
Revert "Merge RFC https://wiki.php.net/rfc/session-create-id "
...
This reverts commit 7ee9f81c54 .
2016-09-01 05:54:30 +09:00
Yasuo Ohgaki
4f11dedc43
Revert "Add tests"
...
This reverts commit aff4c7d826 .
2016-09-01 05:54:19 +09:00
Yasuo Ohgaki
abc2271b8d
Fix NEWS
2016-09-01 05:53:26 +09:00
Yasuo Ohgaki
80d514d294
Update UPGRADING
2016-09-01 03:24:50 +09:00
Davey Shafik
f17d67123f
Update NEWS for 7.1.0RC2
2016-08-31 17:01:42 +00:00
Christoph M. Becker
9cc11dbded
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-31 16:45:15 +02:00
Christoph M. Becker
f93fd8ce32
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-31 16:38:38 +02:00
Christoph M. Becker
b2d267d9ee
Fix #71882 amendment 2: Negative ftruncate() on php://memory exhausts memory
2016-08-31 16:33:14 +02:00
Christoph M. Becker
cb78ea9cc3
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-31 14:55:37 +02:00
Christoph M. Becker
8f32d609c5
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-31 14:53:53 +02:00
Christoph M. Becker
314a9f8553
Fix #71882 amendment: Negative ftruncate() on php://memory exhausts memory
...
To avoid BC breaks, we do not raise a warning for now.
2016-08-31 14:51:37 +02:00
Christoph M. Becker
56ed966bc6
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-31 14:32:24 +02:00
Yasuo Ohgaki
97f2bb894a
Update NEWS
2016-08-31 21:10:57 +09:00
Yasuo Ohgaki
e385b05ebe
Update NEWS
2016-08-31 21:08:23 +09:00
Yasuo Ohgaki
747b61808b
Update NEWS
2016-08-31 21:06:19 +09:00
Yasuo Ohgaki
aff4c7d826
Add tests
2016-08-31 21:03:10 +09:00
Yasuo Ohgaki
7ee9f81c54
Merge RFC https://wiki.php.net/rfc/session-create-id
2016-08-31 20:34:20 +09:00
Christoph M. Becker
08a71df612
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-31 13:27:23 +02:00
Christoph M. Becker
f215fb874f
Fix #71882 amendment: Negative ftruncate() on php://memory exhausts memory
...
To avoid BC breaks, we do not raise a warning for now.
2016-08-31 13:24:37 +02:00
Anatol Belski
aeb7b4094a
sync tests
2016-08-31 12:26:51 +02:00
Anatol Belski
e446ec14e5
add more defs for resource alloc/dealloc
2016-08-31 12:10:40 +02:00
Anatol Belski
4c8e6a2c95
add yet one define
2016-08-31 12:10:40 +02:00
Davey Shafik
11f0f97160
Update NEWS
2016-08-30 19:47:50 -07:00
Davey Shafik
12ee17d5e0
Implement \ArgumentCountError exception
2016-08-30 19:35:56 -07:00
Anatol Belski
ed51f34795
fix version
2016-08-30 18:37:43 +02:00
Nikita Popov
02fb46e17c
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 18:07:21 +02:00
Nikita Popov
3317287ce1
Fix bug #71711
...
Also handle another case of bug #71996 .
2016-08-30 18:06:18 +02:00
Nikita Popov
b218eb916f
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 17:21:33 +02:00
Nikita Popov
8e487aefaa
Fixed bug #71996
2016-08-30 17:20:55 +02:00
Christoph M. Becker
ecdef60d00
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 15:12:49 +02:00
Christoph M. Becker
972302d2f0
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 15:01:12 +02:00
Christoph M. Becker
2f10db36af
Fix #66797 : mb_substr only takes 32-bit signed integer
...
`from` and `len` are `long`, but get passed to mbfl_substr() which expects
`int`s. Therefore we clamp the values to avoid the undefined conversion
behavior.
2016-08-30 14:52:47 +02:00
Anatol Belski
3d66d56c1d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix typo
prepare for next
2016-08-30 14:16:48 +02:00
Anatol Belski
52afd8b744
fix typo
2016-08-30 14:11:47 +02:00
Anatol Belski
bc7460260b
prepare for next
2016-08-30 14:11:22 +02:00
Nikita Popov
c361020f04
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 13:45:49 +02:00
Nikita Popov
2c12a5f0a8
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 13:44:59 +02:00
Ville Hukkamäki
af7828a20f
Test case for bug #72771
2016-08-30 13:44:34 +02:00
Anatol Belski
119744fc22
sync NEWS
2016-08-30 13:39:27 +02:00
Nikita Popov
345b96c4a3
Fix bug #72957
...
(cherry picked from commit bfd4277008 )
2016-08-30 13:38:54 +02:00
Nikita Popov
d49024c6de
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 13:06:32 +02:00
Nikita Popov
bfd4277008
Fix bug #72957
2016-08-30 13:05:53 +02:00
Nikita Popov
6adb7e0b7a
Followup for bug #72971
...
Property writes did not respect the namespace either. This is an
incomplete fix in that it only handles the case where an existing
child element is modified, not when a new one is created.
2016-08-30 12:53:50 +02:00
Anatol Belski
f6d02733fd
set versions
2016-08-30 12:11:22 +02:00
Anatol Belski
191ff3d995
sync NEWS
2016-08-30 12:07:51 +02:00
Anatol Belski
62d5bfb527
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
...
This reverts commit 65f0c163f9 , reversing
changes made to 4b45c0a9a7 .
2016-08-30 12:06:46 +02:00
Nikita Popov
51a564e505
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 10:56:06 +02:00
Nikita Popov
07cc6a6ba2
Fix bug #72971
2016-08-30 10:54:31 +02:00
Yasuo Ohgaki
4a12450de2
Update NEWS
2016-08-30 16:05:49 +09:00
Yasuo Ohgaki
f5cd6e5710
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72940 SID always return "name=ID", even if session cookie exist
2016-08-30 15:58:55 +09:00
Yasuo Ohgaki
b5f2f6fbd8
Fixed bug #72940 SID always return "name=ID", even if session cookie exist
2016-08-30 15:58:25 +09:00
Christoph M. Becker
38a7c0e0f7
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 02:24:43 +02:00
Christoph M. Becker
65f0c163f9
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 02:13:48 +02:00
Christoph M. Becker
207dab585a
Fix #71882 : Negative ftruncate() on php://memory exhausts memory
...
We must not pass negative sizes to a size_t parameter.
2016-08-30 02:05:45 +02:00
Christoph M. Becker
ec8bbba9c6
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-30 01:18:59 +02:00
Christoph M. Becker
4b45c0a9a7
Merge branch 'pull-request/2043' into PHP-7.0
2016-08-30 01:16:45 +02:00
Anatol Belski
2bfe926eb1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix HANDLE leak
2016-08-29 21:48:50 +02:00
Anatol Belski
1b227de970
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix HANDLE leak
2016-08-29 21:47:54 +02:00
Anatol Belski
c7b4cd1a51
fix HANDLE leak
2016-08-29 21:45:39 +02:00
Anatol Belski
6bb5b6e8a3
update NEWS
2016-08-29 21:26:13 +02:00
Anatol Belski
2b9670512b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
2016-08-29 21:24:08 +02:00
Anatol Belski
5bcae9d586
update NEWS
2016-08-29 21:23:20 +02:00
Anatol Belski
b6b7696114
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-08-29 21:22:43 +02:00
Anatol Belski
ae81e8fc32
update NEWS
2016-08-29 21:20:36 +02:00
Anatol Belski
c560678c14
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
ensure null termination
2016-08-29 21:15:55 +02:00
Anatol Belski
2004585d03
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
ensure null termination
2016-08-29 21:13:39 +02:00
Anatol Belski
d787b0ea13
ensure null termination
2016-08-29 21:03:03 +02:00
Anatol Belski
22a825db85
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72703 Out of bounds global memory read in BF_crypt triggered by password_verify
2016-08-29 20:34:44 +02:00
Anatol Belski
946335ba70
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72703 Out of bounds global memory read in BF_crypt triggered by password_verify
2016-08-29 20:32:55 +02:00
Anatol Belski
295303b590
Fixed bug #72703 Out of bounds global memory read in BF_crypt triggered by password_verify
2016-08-29 20:25:34 +02:00
Dmitry Stogov
722783c2c6
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
fix double free
2016-08-29 20:37:01 +03:00
Dmitry Stogov
94fbcbe172
Allow optional splitting of basic blocks at RECV/RECV_INIT opcodes.
2016-08-29 20:35:17 +03:00
Anatol Belski
a349afd26b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix double free
2016-08-29 19:34:19 +02:00
Anatol Belski
3437dbfa00
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix double free
2016-08-29 19:33:22 +02:00
Anatol Belski
1a840b9af0
fix double free
2016-08-29 19:27:47 +02:00
Anatol Belski
5c8aa478da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix double free
2016-08-29 18:57:50 +02:00
Anatol Belski
1d93086937
fix double free
2016-08-29 18:56:25 +02:00
Anatol Belski
3196ea195b
add note to UPGRADING.INTERNALS
2016-08-29 18:37:35 +02:00
Anatol Belski
78401a7f01
extend help message
2016-08-29 18:25:00 +02:00
Anatol Belski
78c15e2744
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak
2016-08-29 18:08:17 +02:00
Anatol Belski
ca4eeedd36
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak
2016-08-29 18:05:47 +02:00
Anatol Belski
e2609a38d9
fix leak
2016-08-29 18:01:21 +02:00
Anatol Belski
faccbeb588
fix search path
2016-08-29 17:44:37 +02:00
Anatol Belski
3ab2a58753
support also cppcheck for static analyze
2016-08-29 17:44:37 +02:00
Anatol Belski
201f90a8cc
add error check and fix leak
2016-08-29 17:25:46 +02:00
Anatol Belski
7ecfb4b954
fix leak
2016-08-29 17:25:13 +02:00
Jakub Zelenka
c4961fa8b6
Bump PHP_JSON_VERSION to 1.5.0
2016-08-29 15:18:00 +01:00
Jakub Zelenka
ab65665a0e
Merge branch 'json_encode_fail_return' into PHP-7.1
2016-08-29 15:01:00 +01:00
Jakub Zelenka
f5b4aae7ac
Update NEWS with info about a json_encode fail return
2016-08-29 14:59:44 +01:00
Jakub Zelenka
27acbcf4df
Add test for fixed bug #68992
2016-08-29 14:49:40 +01:00
Jakub Zelenka
df05dbb3df
Fix recursion and protection in the failed JSON encoding
2016-08-29 14:49:40 +01:00
Jakub Zelenka
12a8c3f6e7
Add initial failure checking for json_encode
2016-08-29 14:49:40 +01:00
Anatol Belski
50c5d13d26
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak
2016-08-29 15:44:13 +02:00
Anatol Belski
d80a317c0b
fix leak
2016-08-29 15:43:10 +02:00
Anatol Belski
a747578497
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix possible memory leak
2016-08-29 15:29:52 +02:00
Anatol Belski
1d7ec685c1
fix possible memory leak
2016-08-29 15:28:09 +02:00
Anatol Belski
0e709fe42d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix dealloc mismatch
2016-08-29 13:43:08 +02:00
Anatol Belski
eac7f4b670
fix dealloc mismatch
2016-08-29 12:46:23 +02:00
Dmitry Stogov
b5bab0fce8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:07:54 +03:00
Dmitry Stogov
b66039db33
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:02:50 +03:00
George Wang
0a09eecfcc
code cleanup.
2016-08-28 22:31:08 -04:00
George Wang
413bd261ec
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-28 22:29:38 -04:00
George Wang
ca1eb585ee
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
sapi/litespeed/lsapi_main.c
2016-08-28 22:23:28 -04:00
George Wang
c73bcbefbd
Added .user.ini support.
...
Added LSPHPRC support.
update LiteSpeed SAPI version to 6.10 .
2016-08-28 21:49:30 -04:00
Yasuo Ohgaki
1cf179e415
Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc
2016-08-29 05:57:37 +09:00
Anatol Belski
be0958d291
extend help msg
2016-08-28 20:18:11 +02:00
Anatol Belski
b415290c92
fix leak
2016-08-28 19:42:41 +02:00
Anatol Belski
48b1cb2f12
extend clang vs compat options
2016-08-28 19:42:41 +02:00
Anatol Belski
378ed99424
fix leak
2016-08-28 19:42:41 +02:00
Anatol Belski
10c2ac8c81
integrate clang analyzer
2016-08-28 19:42:41 +02:00
Xinchen Hui
01701912c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0')
2016-08-29 00:10:57 +08:00
Xinchen Hui
986d0f87ec
Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0')
2016-08-29 00:10:31 +08:00
Anatol Belski
92a60a67cf
fix leak
2016-08-27 22:28:13 +02:00
Anatol Belski
b6440a74c1
add parentheses
2016-08-27 22:26:18 +02:00
Anatol Belski
8a8a441972
fix clang compat
2016-08-27 22:25:02 +02:00
Anatol Belski
d58202853d
fix leak
2016-08-27 22:24:24 +02:00
Christoph M. Becker
3a78530b8a
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-27 01:23:36 +02:00
Christoph M. Becker
8fcfacf746
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-27 01:18:10 +02:00
Christoph M. Becker
2139918ea6
Fix #65550 : get_browser() incorrectly parsers entries with "+" sign
...
+ signs in the browscap patterns are meant to be literal characters, so we
have to escape them for the regex matching.
2016-08-27 01:12:01 +02:00
Anatol Belski
88f6706656
fix leak
2016-08-26 22:05:06 +02:00
Christoph M. Becker
14cd14ddaf
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-26 18:52:06 +02:00
Christoph M. Becker
c4c3eb55a7
Fix #72949 : Typo in opcache error message
2016-08-26 18:50:30 +02:00
Xinchen Hui
557f1ccf0c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72943 (assign_dim on string doesn't reset hval)
Conflicts:
Zend/zend_execute.c
2016-08-26 18:32:54 +08:00
Xinchen Hui
c67fa3c91d
Fixed bug #72943 (assign_dim on string doesn't reset hval)
2016-08-26 18:30:08 +08:00
Anatol Belski
726e3b8ff0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
pdo_dblib: stringify uniqidentifier field
2016-08-25 19:46:01 +02:00
Anatol Belski
9f6d2c05b4
update NEWS
2016-08-25 19:44:55 +02:00
Anatol Belski
57509fb969
update NEWS
2016-08-25 19:43:39 +02:00
Alexander Zhuravlev
a000bff2c3
pdo_dblib: stringify uniqidentifier field
...
Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary),
when PDO::ATTR_STRINGIFY_FETCHES is TRUE
pdo_dblib: Stringify uniqidentifier field
Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary),
when PDO::ATTR_STRINGIFY_FETCHES is TRUE
Tests added.
pdo_dblib: Stringify uniqidentifier field
Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary),
when PDO::ATTR_STRINGIFY_FETCHES is TRUE
Tests fix.
pdo_dblib: Stringify uniqueidentifier field Added separate PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER attribute instead of PDO::ATTR_STRINGIFY_FETCHES.
pdo_dblib: Stringify uniqueidentifier field Added `getAttribute` support for PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER.
Simplify storage of stringify_uniqueidentifier attribute
2016-08-25 19:37:21 +02:00
Christoph M. Becker
3f53814ca7
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-25 18:41:45 +02:00
Christoph M. Becker
433976f931
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-25 18:29:23 +02:00
Christoph M. Becker
84512a1177
Fix #70825 : Cannot fetch multiple values with group in ini file
...
If we have the position already from the last fetch, we also have to preset
the current group, because it won't be read again.
2016-08-25 18:18:10 +02:00
Anatol Belski
9f0f7c0336
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix check for args by ref
2016-08-25 18:09:37 +02:00
Anatol Belski
51d19c12a5
fix check for args by ref
2016-08-25 18:06:47 +02:00
Christoph M. Becker
96ea8de591
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-25 16:31:03 +02:00
Christoph M. Becker
5f6a1d1472
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-25 16:22:57 +02:00
Christoph M. Becker
bd8112afe0
Fix #71514 : Bad dba_replace condition because of wrong API usage
...
We're backporting commit 9e309a2d to PHP-5.6, because it is a bugfix.
2016-08-25 16:20:30 +02:00
Anatol Belski
2e1bb5ee22
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
backport relevant part from bug #72858 patch in 7.0
2016-08-25 12:53:37 +02:00
Anatol Belski
d3058a69d8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
backport relevant part from bug #72858 patch in 7.0
2016-08-25 12:52:29 +02:00
Anatol Belski
a1ff39ffe5
backport relevant part from bug #72858 patch in 7.0
2016-08-25 12:46:28 +02:00
Anatol Belski
cd5cab6288
update NEWS
2016-08-25 12:14:33 +02:00
Anatol Belski
fe4fa1fadf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72922 COM called from PHP does not return out parameters
2016-08-25 12:13:55 +02:00
Anatol Belski
392c5ea472
Fixed bug #72922 COM called from PHP does not return out parameters
2016-08-25 12:12:45 +02:00
Xinchen Hui
38f7d595c0
Remove redundant \t
2016-08-25 13:29:22 +08:00
Levi Morrison
f4e68a3968
Revert "Do not prepend ? on nullables in ReflectionType::__toString()"
...
This reverts commit 8855a2ce76 .
2016-08-23 09:43:31 -06:00
Dmitry Stogov
129e8dadf4
op_arrays may be optimized independetly and "script" might be NULL
2016-08-23 13:17:53 +03:00
Dmitry Stogov
76707dc204
Don't keep dangling pointers.
2016-08-23 12:58:46 +03:00
Dmitry Stogov
62ab40bc96
Added tests and NEWS entry
...
Fixed bug #72598 (Reference is lost after array_slice())
2016-08-23 12:14:31 +03:00
Dmitry Stogov
0cc8ff2b41
Run ext/opcache/tests/*.phpt by default
2016-08-23 11:51:08 +03:00
Nikita Popov
906456c410
call_user_func(_array): Don't abort on reference warning
...
Change zend_call_function() to not abort the call if a non-reference
is passed to a reference argument. The usual warning will still be
thrown, but the call will proceed as usual.
2016-08-23 10:29:15 +03:00
Xinchen Hui
26d74a0420
Fixed tests
2016-08-23 11:32:21 +08:00
Xinchen Hui
434ae90e85
Fixed bug #72920 (Accessing a private constant using constant() creates an exception AND warning)
2016-08-22 23:44:38 +08:00
Dmitry Stogov
caf890b291
Fixed CFG construction for stackless execution (split basic blocks after calls)
2016-08-22 16:48:26 +03:00
Yasuo Ohgaki
7d703a0060
Adjust test so that it passes on more restrictive filesystems
2016-08-22 17:01:07 +09:00
Jakub Zelenka
21c72827c7
Do not expect error 0407006A in openssl_private_(en|de)crypt
...
It makes the test work with OpenSSL 1.1
2016-08-21 20:29:03 +01:00
Christoph M. Becker
5347246f56
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-21 19:55:09 +02:00
Christoph M. Becker
4c13a7f5c4
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-21 19:48:38 +02:00
Christoph M. Becker
6a232c3604
Fix #68716 : possible resource leaks in _php_image_convert()
...
We properly clean up after ourselves wrt. to closing opened file pointers
and created images.
2016-08-21 19:39:58 +02:00
Anatol Belski
096b0a556c
extend readdir utf-8 name test
2016-08-21 18:21:49 +02:00
Christoph M. Becker
3dc6c4b329
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-21 17:51:53 +02:00
Christoph M. Becker
4c68fc5392
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-21 17:45:49 +02:00
Christoph M. Becker
d65adac2be
Fix #72913 : imagecopy() loses single-color transparency on palette images
...
The proper code to handle true-color to palette copies is already contained
in gdImageCopy(), so we can simply remove the buggy duplicated code.
2016-08-21 17:39:23 +02:00
Christoph M. Becker
15f1b04198
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-21 16:21:13 +02:00
Christoph M. Becker
7a36056d6c
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-21 16:15:22 +02:00
Christoph M. Becker
9eb5bbd8bd
Fix #66005 : imagecopy does not support 1bit transparency on truecolor images
...
We must not copy transparent pixels, see
<https://github.com/libgd/libgd/commit/daac285c >.
2016-08-21 16:08:57 +02:00
Xinchen Hui
e849e65d89
This is unecessary for 7.1 (IS_ERROR is an internal type)
2016-08-21 17:40:10 +08:00
Xinchen Hui
e572035ecf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72911 (Memleak in zend_binary_assign_op_obj_helper)
Fixed bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260))
2016-08-21 17:39:52 +08:00
Xinchen Hui
0476bb1de5
Fixed bug #72911 (Memleak in zend_binary_assign_op_obj_helper)
2016-08-21 17:38:03 +08:00
Xinchen Hui
17e8a3df13
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260))
2016-08-21 17:19:36 +08:00
Xinchen Hui
226e21b0fe
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
...
* 'PHP-5.6' of git.php.net:/php-src:
Improvements to fix #72714 , suggested by nikic
Fix #65732 : grapheme_*() is not Unicode compliant on CR LF sequence
Fix #72714 : _xml_startElementHandler() segmentation fault
update NEWS
Fixed bug #72852 imap_mail null dereference
Revert "Fix dba configuration for Windows"
Fix dba configuration for Windows
Fix broken test include
fix NEWS
Add myself as PDO_OCI maintainer
2016-08-21 17:19:24 +08:00
Xinchen Hui
b740bb3987
Fixed bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260))
2016-08-21 17:10:10 +08:00
Aaron Piotrowski
8855a2ce76
Do not prepend ? on nullables in ReflectionType::__toString()
...
Better BC with 7.0.
2016-08-21 00:12:47 -05:00
Aaron Piotrowski
08c5d77027
Revert "Fix closure tests using ReflectionType::__toString()"
...
This reverts commit 6fcedc96fb .
2016-08-20 23:26:01 -05:00
Aaron Piotrowski
c9ee0cb202
Revert "Append \ to class name returned from ReflectionType::__toString()"
...
This reverts commit 20fdd47921 .
2016-08-20 23:26:01 -05:00
Anatol Belski
872028de20
fix TS issues with url rewrite globals
2016-08-20 22:41:06 +02:00
Nikita Popov
dfed09afca
Fix off-by-one in ReflectionType::__toString()
...
Review mistake...
2016-08-20 19:00:03 +02:00
Christoph M. Becker
9988863d37
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-20 12:50:48 +02:00
Christoph M. Becker
39172d44d8
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-20 12:46:08 +02:00
Christoph M. Becker
52793c14d9
Improvements to fix #72714 , suggested by nikic
2016-08-20 12:44:20 +02:00
Christoph M. Becker
29849e5ba1
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-20 03:11:05 +02:00
Christoph M. Becker
078f674212
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-20 03:04:08 +02:00
Christoph M. Becker
e4a006cd3e
Fix #65732 : grapheme_*() is not Unicode compliant on CR LF sequence
...
According to the Unicode specification (at least as of 5.1), CRLF sequences
are considered to be a single grapheme. We cater to that special case by
letting grapheme_ascii_check() fail. While it would be trivial to fix
grapheme_ascii_check() wrt. grapheme_strlen(), grapheme_substr() and
grapheme_strrpos() would be much harder to handle, so we accept the slight
performance penalty if CRLF is involved.
2016-08-20 03:01:35 +02:00
Christoph M. Becker
76c796fb27
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-20 02:28:18 +02:00
Christoph M. Becker
db1ef5cb00
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-20 02:14:49 +02:00
Christoph M. Becker
9164dc11e2
Fix #72714 : _xml_startElementHandler() segmentation fault
...
The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.
However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.
2016-08-20 01:58:08 +02:00
Anatol Belski
98a155f336
update NEWS
2016-08-20 01:38:56 +02:00
Anatol Belski
f613582898
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
Fixed bug #72852 imap_mail null dereference
2016-08-20 01:38:30 +02:00
Anatol Belski
a556543a3f
update NEWS
2016-08-20 01:38:01 +02:00
Anatol Belski
a569b8816b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
Fixed bug #72852 imap_mail null dereference
2016-08-20 01:37:26 +02:00
Anatol Belski
f682193609
update NEWS
2016-08-20 01:36:37 +02:00
Anatol Belski
21f08a7488
Fixed bug #72852 imap_mail null dereference
2016-08-20 01:34:46 +02:00
Stanislav Malyshev
52cef90fde
Revert "Fix closure tests using ReflectionType::__toString()"
...
This reverts commit 6fcedc96fb .
2016-08-19 11:37:02 -07:00
Stanislav Malyshev
6e6e81c402
Revert "Append \ to class name returned from ReflectionType::__toString()"
...
This reverts commit 20fdd47921 .
2016-08-19 11:36:49 -07:00
Christoph M. Becker
ae92977191
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-19 16:39:56 +02:00
Christoph M. Becker
61344c6d66
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-19 16:38:53 +02:00
Christoph M. Becker
057278b759
Revert "Fix dba configuration for Windows"
...
This reverts commit ad76e8a529 .
After a discussion with Anatol it seems to be better QA wise to not make
this change in stable versions or betas.
2016-08-19 16:35:31 +02:00
Anatol Belski
83255b1e8c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Improve fix for bug #72837
2016-08-19 12:52:13 +02:00
Anatol Belski
2d123a916d
Improve fix for bug #72837
2016-08-19 12:50:32 +02:00
Christoph M. Becker
9fcee1e656
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-19 11:49:07 +02:00
Christoph M. Becker
4df85466b6
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-19 11:47:42 +02:00
Christoph M. Becker
ad76e8a529
Fix dba configuration for Windows
...
To be able to build the dba extension on Windows, libdb was required. This
is contrary to *nix where each handler can be configured individually. To
avoid BC breaks, we only do minimal modifications, instead of adjusting the
Windows configuration to match the *nix configuration, for now.
2016-08-19 11:42:16 +02:00
Davey Shafik
0880bd1bb6
Update NEWS for 7.1.0RC1
2016-08-19 06:51:53 +00:00
Xinchen Hui
566d65d222
Fixed bug #72888 (Segfault on clone on splFileObject)
2016-08-19 11:28:36 +08:00
Davey Shafik
0b1c8178ab
Sync NEWS
2016-08-19 09:00:34 +10:00
Nikita Popov
37b0dcc8e0
Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG
...
Enabling ZEND_DEBUG should not result in intrusive program
behavior changes.
2016-08-19 00:34:13 +02:00
Christoph M. Becker
cf40f999ba
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-18 18:03:15 +02:00
Christoph M. Becker
caf0ad403d
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-18 17:56:16 +02:00
Christoph M. Becker
bc1214f25e
Fix broken test include
...
To avoid that the test stalls, we must always use `t` mode.
2016-08-18 17:53:57 +02:00
Anatol Belski
2a1d35ec6c
update NEWS
2016-08-18 17:53:08 +02:00
Anatol Belski
b4b8d0887a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-08-18 17:51:18 +02:00
Anatol Belski
e6d3221766
update NEWS
2016-08-18 17:50:17 +02:00
Anatol Belski
74cfb2284e
fix format
2016-08-18 16:29:46 +02:00
Anatol Belski
2f430a4b6c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
avoid other efforts if memory mapping fails
2016-08-18 16:01:23 +02:00
Anatol Belski
98d8794eae
avoid other efforts if memory mapping fails
2016-08-18 15:58:33 +02:00
Julien Pauli
5818b09a45
Updated UPGRADING about function call args
2016-08-18 15:46:02 +02:00
Anatol Belski
ecdd24f0fc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-08-18 15:36:07 +02:00
Anatol Belski
91cd55e32a
fix test
2016-08-18 15:35:26 +02:00
Anatol Belski
20aae1caa3
map ell the err code
2016-08-18 15:28:15 +02:00
Anatol Belski
b81a073b85
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72858 shm_attach null dereference
2016-08-18 14:40:20 +02:00
Anatol Belski
67f8c14c29
Fixed bug #72858 shm_attach null dereference
2016-08-18 14:15:10 +02:00
Ferenc Kovacs
a2ee13b5ea
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-18 13:04:43 +02:00
Ferenc Kovacs
7ecd4bb0a4
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-18 13:03:14 +02:00
Ferenc Kovacs
761d2f629b
fix NEWS
2016-08-18 13:01:53 +02:00
Xinchen Hui
1eb4851fa2
Remove leftover of previous change
2016-08-18 15:44:33 +08:00
Xinchen Hui
66a527b8c1
Fixed segfault introduced in 447e57a1e1
2016-08-18 15:37:39 +08:00
Xinchen Hui
a3740dadec
Remove outdate checks
2016-08-18 15:37:15 +08:00
Christopher Jones
1685282a15
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-18 15:47:47 +10:00
Christopher Jones
127b42f9b3
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-18 15:47:36 +10:00
Christopher Jones
f2d5305097
Add myself as PDO_OCI maintainer
2016-08-18 15:47:25 +10:00
Christopher Jones
cb34882e61
Prepare for OCI8 PECL release
2016-08-18 13:58:24 +10:00
Christopher Jones
fe3e330c2e
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-18 13:52:56 +10:00
Christopher Jones
7ed2602af8
Prepare for OCI8 PECL release
2016-08-18 13:52:50 +10:00
Christopher Jones
b12ac316eb
Prepare for OCI8 PECL release
2016-08-18 13:50:36 +10:00
Anatol Belski
2103e9f21f
fix test
...
The improvements to the base64 functionality allows now to loosen
strictness. Strict mode still can be activated later, if there are
any issues.
2016-08-18 00:18:26 +02:00
Anatol Belski
fc1b69888e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS
2016-08-18 00:16:50 +02:00
Anatol Belski
52787e902f
sync NEWS
2016-08-18 00:15:54 +02:00
Christoph M. Becker
38f2c6262f
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-17 22:13:57 +02:00
Christoph M. Becker
9fa0009702
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-17 22:12:01 +02:00
Christoph M. Becker
54293d21cb
Skip tests that are supposed to fail due to bugs in old external libgd
2016-08-17 21:36:26 +02:00
Kalle Sommer Nielsen
d85fd07923
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
2016-08-17 20:27:46 +02:00
Kalle Sommer Nielsen
447e57a1e1
Fixed 7.1 build, decls first please!
2016-08-17 20:26:32 +02:00
Christoph M. Becker
09898f91a3
Make this test also a little more resilient
...
See <http://git.php.net/?p=php-src.git;a=commit;h=a3159d29bb24d5c946c14b7aa33e96bebcd56e59 >.
2016-08-17 19:09:31 +02:00
Christoph M. Becker
7f47dcf31b
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-17 18:25:45 +02:00
Christoph M. Becker
1bc9ea4f10
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-17 18:13:41 +02:00
Christoph M. Becker
a3159d29bb
Make tests a little more resilient
...
PNG allows identical images to be stored differently what makes nearly all
tests checking the MD5 hash of the PNG representation fail with external
libgd. For now, we use the GD format instead, which doesn't allow for such
differences.
Of course, this md5() checking should be replaced by a image diffing feature
in the long run.
2016-08-17 17:59:33 +02:00
Kalle Sommer Nielsen
1e4cae28b2
Seems like I did a bad merge earlier, this should make PHP-7.0 sync with 7.1/master properly now
2016-08-17 16:34:22 +02:00
Kalle Sommer Nielsen
27ceb6ffb5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix build as done in master in commit 040331c364
Fixed C89 build
2016-08-17 14:15:09 +02:00
Kalle Sommer Nielsen
9b783107e5
Fix build as done in master in commit 040331c364
...
The reason why we cannot use round() here, is that it does not come with the standard C library on Windows, I don't think this affects other systems.
At the same time, also expose _php_math_round()
2016-08-17 14:10:24 +02:00
Kalle Sommer Nielsen
8a1fbdda43
Fixed C89 build
2016-08-17 13:43:50 +02:00
Anatol Belski
f7231acadf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix char * vs zend_string *
2016-08-17 13:23:31 +02:00
Anatol Belski
06c0540b90
fix char * vs zend_string *
2016-08-17 13:22:02 +02:00
Christoph M. Becker
f7d4733b2e
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-17 12:49:00 +02:00
Christoph M. Becker
356b586ec1
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-17 12:47:06 +02:00
Christoph M. Becker
48198e4c25
Fix #68302 : impossible to compile php with zip support
...
We should not let configure succeed, if SIZEOF_OFF_T == 0, just to let the
compilation fail later. Instead we bail out early, giving a hint regarding
the potential issue, namely misconfigured libraries.
2016-08-17 12:43:29 +02:00
Anatol Belski
526e6bf818
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix tests
2016-08-17 12:41:38 +02:00
Anatol Belski
05c8a0771d
fix tests
...
The 70436 test is just a bonus for the hardening in 72633.
2016-08-17 12:39:35 +02:00
Xinchen Hui
0fd0328933
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Avoid duplicating string
2016-08-17 18:19:59 +08:00
Xinchen Hui
195d7618e7
Avoid duplicating string
2016-08-17 18:19:14 +08:00
Anatol Belski
afa832b5a6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "fix tests"
2016-08-17 12:07:39 +02:00
Anatol Belski
7d4c5a0dc9
Revert "fix tests"
...
This reverts commit a47df5be19 .
Looks like some environment issue, as some system throws the notice,
some don't. Revert for now.
2016-08-17 12:04:03 +02:00
Anatol Belski
60f1ec1c32
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak
2016-08-17 11:53:00 +02:00
Anatol Belski
a5d00fc908
fix leak
2016-08-17 11:51:56 +02:00
Xinchen Hui
30e751fe5b
Update NEWs
2016-08-17 17:14:53 +08:00
Xinchen Hui
ce6ad9bdd9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0: (48 commits)
Update NEWs
Unused label
Fixed bug #72853 (stream_set_blocking doesn't work)
fix test
Bug #72663 - part 3
Bug #72663 - part 2
Bug #72663 - part 1
Update NEWS
BLock test with memory leak
fix tests
Fix TSRM build
Fix bug #72850 - integer overflow in uuencode
Fixed bug #72849 - integer overflow in urlencode
Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption
Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
Fix bug #72836 - integer overflow in base64_decode caused heap corruption
Fix for bug #72807 - do not produce strings with negative length
Fix for bug #72790 and bug #72799
Fix bug #72730 - imagegammacorrect allows arbitrary write access
...
Conflicts:
ext/standard/var_unserializer.c
2016-08-17 17:14:30 +08:00
Xinchen Hui
1dab8e07f2
Update NEWs
2016-08-17 16:56:58 +08:00
Xinchen Hui
b172f43caa
Unused label
2016-08-17 16:56:20 +08:00
Xinchen Hui
3956deb1b2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72853 (stream_set_blocking doesn't work)
Conflicts:
main/streams/plain_wrapper.c
2016-08-17 16:56:02 +08:00
Xinchen Hui
abe00908af
Fixed bug #72853 (stream_set_blocking doesn't work)
...
Implemented PHP_STREAM_OPTION_META_DATA_API for plain_wrappers
2016-08-17 16:54:21 +08:00
Stanislav Malyshev
ed9d916c28
fix test
2016-08-17 01:12:33 -07:00
Nikita Popov
e0f9fbdfa6
Bug #72663 - part 3
...
When using the php_serialize session serialization handler, do
not use the result of the unserialization if it failed.
2016-08-17 01:01:03 -07:00
Nikita Popov
61f2f5a0f7
Bug #72663 - part 2
...
If a (nested) unserialize() call fails, we remove all the values
that were inserted into var_hash during that call. This prevents
their use in other unserializations in the same context.
2016-08-17 00:47:02 -07:00
Nikita Popov
2135fdef9b
Bug #72663 - part 1
...
Don't call __destruct() on an unserialized object that has a
__wakeup() method if either
a) unserialization of its properties fails or
b) the __wakeup() call fails (e.g. by throwing).
This basically treats __wakeup() as a form of constructor and
aligns us with the usual behavior that if the constructor call
fails the destructor should not be called.
The security aspect here is that people use __wakeup() to prevent
unserialization of objects with dangerous __destruct() methods,
but this is ineffective if __destruct() can still be called while
__wakeup() was skipped.
2016-08-17 00:45:57 -07:00
Stanislav Malyshev
0d13325b66
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6: (24 commits)
Update NEWS
BLock test with memory leak
fix tests
Fix TSRM build
Fix bug #72850 - integer overflow in uuencode
Fixed bug #72849 - integer overflow in urlencode
Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption
Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
Fix bug #72836 - integer overflow in base64_decode caused heap corruption
Fix for bug #72807 - do not produce strings with negative length
Fix for bug #72790 and bug #72799
Fix bug #72730 - imagegammacorrect allows arbitrary write access
Fix bug#72697 - select_colors write out-of-bounds
Fixed bug #72627 : Memory Leakage In exif_process_IFD_in_TIFF
Fix bug #72750 : wddx_deserialize null dereference
Fix bug #72771 : ftps:// opendir wrapper is vulnerable to protocol downgrade attack
Improve fix for #72663
Fix bug #70436 : Use After Free Vulnerability in unserialize()
Fix bug #72749 : wddx_deserialize allows illegal memory access
...
Conflicts:
Zend/zend_API.h
ext/bz2/bz2.c
ext/curl/interface.c
ext/ereg/ereg.c
ext/exif/exif.c
ext/gd/gd.c
ext/gd/tests/imagetruecolortopalette_error3.phpt
ext/gd/tests/imagetruecolortopalette_error4.phpt
ext/session/session.c
ext/snmp/snmp.c
ext/standard/base64.c
ext/standard/ftp_fopen_wrapper.c
ext/standard/quot_print.c
ext/standard/url.c
ext/standard/uuencode.c
ext/standard/var.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
ext/wddx/tests/bug72790.phpt
ext/wddx/tests/bug72799.phpt
ext/wddx/wddx.c
sapi/cli/generate_mime_type_map.php
2016-08-17 00:43:33 -07:00
Stanislav Malyshev
75d7666968
Merge branch 'PHP-7.0.10' into PHP-7.0
...
* PHP-7.0.10:
Fix bug #72749 : wddx_deserialize allows illegal memory access
Fixed bug #72627 : Memory Leakage In exif_process_IFD_in_TIFF
fix tests
Fix bug#72697 - select_colors write out-of-bounds
Fix bug #72708 - php_snmp_parse_oid integer overflow in memory allocation
Fix bug #72730 - imagegammacorrect allows arbitrary write access
Fix bug #72750 : wddx_deserialize null dereference
Fix bug #72771 : ftps:// opendir wrapper is vulnerable to protocol downgrade attack
fix tests
add missing skipif section
Fix for bug #72790 and bug #72799
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
Fix bug #72742 - memory allocator fails to realloc small block to large one
Use size_t for path length
Check for string overflow
Fix for bug #72782 : mcrypt accepts only ints, so don't pass anything else
Fix bug #72674 - check both curl_escape and curl_unescape
2016-08-16 23:52:22 -07:00
Stanislav Malyshev
f8a75d4eee
Merge branch 'PHP-7.0' into PHP-7.0.10
...
* PHP-7.0: (34 commits)
Fix URL rewriter partially
Support "git worktree"
Add NEWS
Fix ASSERT logic
Bugfix 72791: fix memory leak in PDO persistent connections
Don't copy mime types in CLI server
Remove obsolete Id tags
Bump version in OCI8 test
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
Replace dead branch with ZEND_ASSERT()
Add test for bug #69107 : finfo no longer detects PHP files
Fix bug #55451
Fix stream_socket_enable_crypto() test
Remove old $Id$ tags
Sync with 7.1 branch changes from Nikita & Dimitri to keep OCI8 code identical
Fix bug #72524 (Binding null values triggers ORA-24816 error)
Fix the fix (Nikita), thanks!
Check the return value of dbconvert() in mssql_guid_string(), as it may return -1 in case the conversion failed. In that case false is returned.
...
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-08-16 23:50:42 -07:00
Stanislav Malyshev
9e00ad2b09
Update NEWS
2016-08-16 23:44:59 -07:00
Stanislav Malyshev
4bf5c3187f
BLock test with memory leak
2016-08-16 22:55:44 -07:00
Stanislav Malyshev
d8b2de164e
fix tests
2016-08-16 22:55:43 -07:00
Stanislav Malyshev
40bd921cea
Fix TSRM build
2016-08-16 22:55:43 -07:00
Stanislav Malyshev
35a8ed2f62
Fix bug #72850 - integer overflow in uuencode
2016-08-16 22:55:43 -07:00
Stanislav Malyshev
b9e81e5844
Fixed bug #72849 - integer overflow in urlencode
2016-08-16 22:55:42 -07:00
Stanislav Malyshev
24d741d376
Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption
2016-08-16 22:55:42 -07:00
Stanislav Malyshev
5f91f692c3
Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase
2016-08-16 22:55:42 -07:00
Stanislav Malyshev
cfdeedd985
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
2016-08-16 22:55:41 -07:00
Stanislav Malyshev
d6a43a8562
Fix bug #72836 - integer overflow in base64_decode caused heap corruption
2016-08-16 22:55:41 -07:00
Stanislav Malyshev
1cd6bc6463
Fix for bug #72807 - do not produce strings with negative length
2016-08-16 22:55:41 -07:00
Stanislav Malyshev
5a34bd6d1e
Fix for bug #72790 and bug #72799
2016-08-16 22:55:41 -07:00
Stanislav Malyshev
1bd103df00
Fix bug #72730 - imagegammacorrect allows arbitrary write access
2016-08-16 22:55:40 -07:00
Stanislav Malyshev
a3598dd7c9
Fix bug#72697 - select_colors write out-of-bounds
2016-08-16 22:55:40 -07:00
Stanislav Malyshev
6dbb1ee46b
Fixed bug #72627 : Memory Leakage In exif_process_IFD_in_TIFF
2016-08-16 22:55:40 -07:00
Stanislav Malyshev
698a691724
Fix bug #72750 : wddx_deserialize null dereference
2016-08-16 22:55:39 -07:00
Stanislav Malyshev
e018ff094f
Fix bug #72771 : ftps:// opendir wrapper is vulnerable to protocol downgrade attack
2016-08-16 22:55:39 -07:00
Stanislav Malyshev
639f7fde6a
Improve fix for #72663
2016-08-16 22:55:20 -07:00
Stanislav Malyshev
95d09e4b5e
Fix bug #70436 : Use After Free Vulnerability in unserialize()
2016-08-16 22:55:20 -07:00
Stanislav Malyshev
426aeb2808
Fix bug #72749 : wddx_deserialize allows illegal memory access
2016-08-16 22:55:19 -07:00
Stanislav Malyshev
f1a0b7d690
Update comment
2016-08-16 22:55:19 -07:00
Stanislav Malyshev
da316b50bd
Fix bug #72708 - php_snmp_parse_oid integer overflow in memory allocation
2016-08-16 22:55:19 -07:00
Stanislav Malyshev
8763c6090d
Fix bug #72681 - consume data even if we're not storing them
2016-08-16 22:54:42 -07:00
Stanislav Malyshev
448c9be157
Fix bug #72663 - destroy broken object when unserializing
2016-08-16 22:54:42 -07:00
Xinchen Hui
e47773b626
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Unused var
2016-08-17 11:18:48 +08:00
Xinchen Hui
f3231a7c76
Unused var
2016-08-17 11:16:48 +08:00
Anatol Belski
5a4eab965a
update NEWS
2016-08-17 01:44:29 +02:00
Anatol Belski
0077287688
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-08-17 01:44:04 +02:00
Anatol Belski
0f337e11bc
update NEWS
2016-08-17 01:37:40 +02:00
Christoph M. Becker
1d24ac46ab
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-17 01:23:22 +02:00
Christoph M. Becker
6202b47e63
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-17 01:22:11 +02:00
Anatol Belski
abc7d1f140
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
fix blocking pipe stream option value
2016-08-17 00:58:54 +02:00
Anatol Belski
20f76efb78
fix test
2016-08-17 00:56:19 +02:00
Anatol Belski
6de67244d4
fix blocking pipe stream option value
...
As revealed by #72857 , this value conflicts with the xport option.
Wrong code can otherwise cause streams misbehave, fe if local and
network streams APIs are mixed.
2016-08-17 00:53:15 +02:00
Christoph M. Becker
1bb92d5212
#72085 : SEGV on unknown address zif_xml_parse
...
We better make sure that the ZVALs we're accessing as arrays are indeed
arrays.
2016-08-17 00:42:45 +02:00
Stanislav Malyshev
e3829b8869
Fix bug #72749 : wddx_deserialize allows illegal memory access
...
(cherry picked from commit 659a21dc20f0b64dafd8cb16573059d3b45cce6b)
Conflicts:
ext/wddx/wddx.c
2016-08-16 23:36:14 +02:00
Anatol Belski
620bb201c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test cleanup
2016-08-16 22:55:51 +02:00
Anatol Belski
f18f394386
fix test cleanup
2016-08-16 22:54:51 +02:00
Anatol Belski
77ea89cb33
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #72857 stream_socket_recvfrom read access violation
2016-08-16 22:50:28 +02:00
Anatol Belski
5391bb8be0
Fixed #72857 stream_socket_recvfrom read access violation
2016-08-16 22:47:50 +02:00
Nikita Popov
7384fcff0a
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-16 21:05:57 +02:00
Nikita Popov
e2230c17d3
Fix bug #72854
2016-08-16 21:05:30 +02:00
Aaron Piotrowski
6fcedc96fb
Fix closure tests using ReflectionType::__toString()
2016-08-16 13:05:51 -05:00
Aaron Piotrowski
20fdd47921
Append \ to class name returned from ReflectionType::__toString()
2016-08-16 11:28:33 -05:00
Nikita Popov
ba09a520d2
Cleanup parameter/return type checking code
...
a) Extract all the logic for error message formatting into a separate
function that is reused for everything.
b) Extract the logic for whether a value matches a type into two
functions, one for user types, one for internal ones.
This tries to fight the increasing code duplication in the type
checking code, whether everything was repeated at least four times
and parts of the error message handling were repeated in dozens of
branches.
2016-08-16 15:48:33 +02:00
Stanislav Malyshev
24fb60ffe9
Fixed bug #72627 : Memory Leakage In exif_process_IFD_in_TIFF
...
(cherry picked from commit 620b01337cc39f856ca68c34c35e154f5f0682fc)
Conflicts:
ext/exif/exif.c
2016-08-16 15:04:16 +02:00
Anatol Belski
d926a48fd2
fix tests
2016-08-16 14:41:24 +02:00
Anatol Belski
28022c9b1f
Fix bug#72697 - select_colors write out-of-bounds
...
(cherry picked from commit b6f13a5ef9d6280cf984826a5de012a32c396cd4)
Conflicts:
ext/gd/gd.c
2016-08-16 14:37:39 +02:00
Stanislav Malyshev
b735a4419c
Fix bug #72708 - php_snmp_parse_oid integer overflow in memory allocation
...
(cherry picked from commit c3f6d6da100c6451a540680504de4105b8bed83c)
Conflicts:
ext/snmp/snmp.c
main/php_version.h
2016-08-16 14:22:10 +02:00
Stanislav Malyshev
e70069a62f
Fix bug #72730 - imagegammacorrect allows arbitrary write access
...
(cherry picked from commit 047fe0ed03093a496691d376fcf51a7e2f1d04b0)
Conflicts:
ext/gd/gd.c
2016-08-16 14:14:03 +02:00
Stanislav Malyshev
f1486f0fd6
Fix bug #72750 : wddx_deserialize null dereference
...
(cherry picked from commit 6930a1d12c47aa1d2675837852910d177b0ceb11)
Conflicts:
ext/wddx/wddx.c
2016-08-16 13:13:05 +02:00
Anatol Belski
e5b0952be2
Fix bug #72771 : ftps:// opendir wrapper is vulnerable to protocol downgrade attack
...
(cherry picked from commit f9c2edb4dbc01a817989b70ca7726f177bb1a103)
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-08-16 13:08:24 +02:00
Anatol Belski
a47df5be19
fix tests
2016-08-16 13:01:06 +02:00
Anatol Belski
4bccb8e94e
add missing skipif section
2016-08-16 12:53:40 +02:00
Stanislav Malyshev
0c8a2a2cd1
Fix for bug #72790 and bug #72799
...
(cherry picked from commit a14fdb9746262549bbbb96abb87338bacd147e1b)
Conflicts:
ext/wddx/wddx.c
2016-08-16 12:46:29 +02:00
Nikita Popov
1397f754c8
Fix handling of qualified nullable parameter types
...
compile_typename() can't deal with TYPE_NULLABLE flags, drop it
beforehand.
2016-08-16 12:43:17 +02:00
Anatol Belski
67d0fe39ee
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
...
Conflicts:
ext/bz2/bz2.c
2016-08-16 12:34:25 +02:00
Dmitry Stogov
443da77c35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed use after free
2016-08-16 11:44:53 +03:00
Dmitry Stogov
ff06588130
Fixed use after free
2016-08-16 11:44:22 +03:00
Christopher Jones
603ed84c13
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-16 16:59:58 +10:00
Christopher Jones
51c1b64fa9
Remove unused OCI8 macros
2016-08-16 16:58:20 +10:00
Matthias Endler
ad8b99c888
Fix some typos in PHP FPM configuration
...
[skip ci]
2016-08-15 22:50:14 +02:00
Nikita Popov
f7caa2bd8e
Hide (un)serialize data from ABI
...
The (UN)SERIALIZE_INIT/DESTROY macros now go through non-inlined
functions, so any changes to them will apply to extensions without
rebuilds.
Additionally, the (un)serialize_data structures are now no longer
exported.
This means that we are allowed to change these structures in patch
releases without breaking the ABI.
2016-08-15 22:42:27 +02:00
Xinchen Hui
c63260c088
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72846 (getConstant for a array constant with constant values returns NULL/NFC/UKNOWN)
2016-08-15 23:25:07 +08:00
Xinchen Hui
60de74ebda
Fixed bug #72846 (getConstant for a array constant with constant values returns NULL/NFC/UKNOWN)
2016-08-15 23:22:55 +08:00
Stanislav Malyshev
c2a13ced42
Fix bug #72742 - memory allocator fails to realloc small block to large one
2016-08-14 19:08:59 -07:00
Anatol Belski
51b0398ffc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
put missing prototype and fix ts build
2016-08-14 22:40:20 +02:00
Anatol Belski
d6b46901b2
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
put missing prototype and fix ts build
2016-08-14 22:39:01 +02:00
Anatol Belski
4a4422740f
put missing prototype and fix ts build
2016-08-14 22:35:01 +02:00
Jakub Zelenka
427c8c809d
Set DSA or DH key only if pub key supplied
2016-08-14 20:42:56 +01:00
Anatol Belski
b783952cb1
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
2016-08-14 21:00:56 +02:00
Anatol Belski
909b62cda2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
2016-08-14 20:55:41 +02:00
Anatol Belski
32c94deac3
update UPGRADING
2016-08-14 20:55:26 +02:00
Anatol Belski
e910b0a8a5
update NEWS
2016-08-14 20:52:47 +02:00
Anatol Belski
9088ef8052
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
2016-08-14 20:51:44 +02:00
Anatol Belski
5c7f802e7e
update NEWS
2016-08-14 20:50:23 +02:00
Jakub Zelenka
c3c90abb17
Return false if tag is not supplied or cannot be retrieved in AEAD
...
It doesn't make sense to return just encoded string as it cannot be
used anyway (decryption without a tag will not work).
2016-08-14 19:34:03 +01:00
Anatol Belski
e6536b9d6f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72759 Regression in pgo_pgsql
2016-08-14 20:06:44 +02:00
Anatol Belski
245eaf5187
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72759 Regression in pgo_pgsql
2016-08-14 20:04:49 +02:00
Anatol Belski
977cbc2fff
Fixed bug #72759 Regression in pgo_pgsql
...
This is caused by the fix for #72633 . Namely, lastval() throws an error,
if no nextval() was called earlier in the same session. This is by all
means correct so far, however inside a transaction it leads to an abort.
This is the opposite to MySQL's last_insert_id() which doesn't produce
any error no matter something were autoincremented or not.
To avoid existing scripts breakage in the stable branches, the previous
patch is extended to revert the transaction to the state before the lastval()
call in case of error. It is done only for 5.6 and 7.0 to retain BC. For 7.1+,
the clean behavior should persist. This is already the current behavior, when
the sequence name is explicitly passed. So there's no reason to obfuscate the
errors where this breakage is valid.
2016-08-14 19:33:24 +02:00
Jakub Zelenka
37c12f8f86
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-14 14:01:36 +01:00
Jakub Zelenka
436d50a821
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-14 14:00:35 +01:00
Jakub Zelenka
9f1d962ed6
Fixed bug #72787 (json_decode reads out of bounds)
2016-08-14 13:52:59 +01:00
Nikita Popov
6ab9b531bc
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-13 21:42:51 +02:00
Nikita Popov
98787d9002
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-13 21:41:00 +02:00
Benedict Singer
dfadc5a427
Bug 70195
...
Many FTP-S servers now require FTP clients to re-use the SSL session
from the control connection on the data connection, to prove that the
same entity controls both connections. This patch updates PHP's FTP-S
client code to allow that possibility.
2016-08-13 21:35:03 +02:00
Christoph M. Becker
a927056cad
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-13 16:31:43 +02:00
Christoph M. Becker
33508a3d47
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-13 16:23:15 +02:00
Christoph M. Becker
82df4e2638
Fix #72278 : getimagesize returning FALSE on valid jpg
...
getimagesize() is rather strict about the length of the marker payload data,
and fails if there are extraneous bytes before the next marker. Only a very
special case reported in bug #13213 is catered to.
libjpeg is rather resilient to such corrupted JPEG files, and raises a
recoverable error in this case. Other image processors also accept such
JPEG files, so we adapt getimagesize() to skip (but warn about) such
extraneous bytes.
2016-08-13 16:14:34 +02:00
Christoph M. Becker
f0c77ee7f8
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-13 12:06:11 +02:00
Christoph M. Becker
a93c62aafa
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-13 11:47:20 +02:00
Christoph M. Becker
ae3b2078ea
Fix #72823 : strtr out-of-bound access
...
If php_strtr_array_prepare_repls() reports pattern_len == 0, we return
early to avoid OOB accesses, and because there is nothing to replace anyway.
2016-08-13 11:40:33 +02:00
Christoph M. Becker
02d6e4e517
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-13 01:29:49 +02:00
Christoph M. Becker
175d94b6e5
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-13 01:21:57 +02:00
Christoph M. Becker
7938ebf6c1
Fix #60665 : call to empty() on NULL result using PDO::FETCH_LAZY returns false
...
The has_property handler only checked whether a respective column name
exists, but neither whether the column value is set, nor whether it is
empty, respectively. We fix that to match the behavior of POD:FETCH_OBJ in
particular and PHP in general.
2016-08-13 01:11:13 +02:00
Christoph M. Becker
040e99f566
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-12 12:55:32 +02:00
Christoph M. Becker
92a076a92b
Fix #72793 : xml_parser_free leaks mem when execute xml_set_object
2016-08-12 12:54:21 +02:00
Xinchen Hui
0b58d5eb81
Update NEWs
2016-08-12 16:36:57 +08:00
Xinchen Hui
dd618664a0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72813 (Segfault with __get returned by ref)
Fix URL rewriter partially
Conflicts:
Zend/zend_object_handlers.c
ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re
2016-08-12 16:35:41 +08:00
Xinchen Hui
fe41f87e46
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fix URL rewriter partially
Support "git worktree"
2016-08-12 16:25:18 +08:00
Xinchen Hui
e03480bfab
Fixed bug #72813 (Segfault with __get returned by ref)
...
This should be safe change, as we don't dereference value and member
after calling setter/getter.
And compare to adding unref codes, this is much cheaper.
2016-08-12 16:24:46 +08:00
Yasuo Ohgaki
3467526a65
Merge RFC: Session ID without hashing
...
https://wiki.php.net/rfc/session-id-without-hashing
2016-08-12 12:31:02 +09:00
Andrea Faulds
1dab96c1db
Show "or null" in TypeErrors for nullable arg_infos
2016-08-11 18:44:43 +02:00
Davey Shafik
b33e965111
Use non-deprecated %pure-parser
2016-08-11 18:29:55 +02:00
Joey
194ffefb9e
Corrected typo in comment
...
Finger-key interface malfunction.
2016-08-11 18:28:50 +02:00
Levi Morrison
9b6d7f5701
Remove extra pointer in SplFixedArray
2016-08-11 18:25:56 +02:00
Anatol Belski
e5d9d009cf
add missing chunk to support mb path in symlink()
2016-08-11 13:38:28 +02:00
Anatol Belski
53034feda5
pull ps_title behind the logic to support the current codepage
2016-08-11 13:38:28 +02:00
Anatol Belski
525eb35667
fix typo
2016-08-11 13:38:28 +02:00
Anatol Belski
6359c7a2bf
add missing mb path support chunk
2016-08-11 13:38:28 +02:00
Aaron Piotrowski
622d2f41d1
ReflectionType improvements
...
Added ReflectionNamedType and updated ReflectionType::__toString()
2016-08-11 12:19:33 +02:00
Ville Hukkamäki
283b0cc8a5
Fix #72810 . Add check for SKIP_ONLINE_TESTS
2016-08-11 12:01:24 +02:00
Stanislav Malyshev
6304a611cd
Use size_t for path length
2016-08-10 23:46:58 -07:00
Stanislav Malyshev
7bf6d98535
Check for string overflow
2016-08-10 23:46:33 -07:00
Stanislav Malyshev
4f6a97f532
Fix for bug #72782 : mcrypt accepts only ints, so don't pass anything else
2016-08-10 22:39:03 -07:00
Yasuo Ohgaki
ae3782a0db
Fix URL rewriter partially
2016-08-11 09:18:47 +09:00
Yasuo Ohgaki
f19578ad58
Fix URL rewriter partially
2016-08-11 09:18:33 +09:00
Yasuo Ohgaki
a53a6b3fb4
Fix URL rewriter issues
2016-08-11 08:31:48 +09:00
Yasuo Ohgaki
2644943968
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Support "git worktree"
2016-08-11 08:09:37 +09:00
Yasuo Ohgaki
5bf14e4699
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Support "git worktree"
2016-08-11 08:09:05 +09:00
Yasuo Ohgaki
a38bc7b373
Support "git worktree"
2016-08-11 08:08:26 +09:00
Leigh
9a9004318f
Preserve BC for rand() AND mt_rand() where min > max
2016-08-10 23:32:32 +01:00
Christoph M. Becker
24fdffdacb
Update to SQLite 3.14.0
2016-08-10 18:09:38 +02:00
Keyur
40059beed8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add NEWS
Fix ASSERT logic
Bugfix 72791: fix memory leak in PDO persistent connections
2016-08-09 17:30:26 +00:00
Keyur
bb955ec937
Add NEWS
2016-08-09 17:29:36 +00:00
Keyur
2b7715b925
Merge branch 'pull-request/2067' into PHP-7.0
2016-08-09 17:27:52 +00:00
Keyur
2ab9a2d4be
Fix ASSERT logic
2016-08-09 14:41:20 +00:00
Keyur
98e4d509f6
Bugfix 72791: fix memory leak in PDO persistent connections
2016-08-09 14:01:25 +00:00
Nikita Popov
2fbfa7f62e
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-09 15:35:04 +02:00
Nikita Popov
842e408c67
Don't copy mime types in CLI server
...
This is both unnecessary and causes leaks in valgrind.
2016-08-09 15:34:03 +02:00
Christoph M. Becker
b50a4a485a
Class constant visibility modifiers are now supported
2016-08-09 11:54:43 +02:00
Christopher Jones
a3fdc5f680
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-09 16:13:27 +10:00
Christopher Jones
3c5e6b29ce
Remove obsolete Id tags
2016-08-09 16:12:58 +10:00
Christopher Jones
3dbeb6118d
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-09 16:00:44 +10:00
Christopher Jones
797f69ef32
Bump version in OCI8 test
2016-08-09 15:59:59 +10:00
Xinchen Hui
ecc4025c71
Update NEWS
2016-08-09 11:32:55 +08:00
Xinchen Hui
3f1e9ed8f8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
2016-08-09 11:32:34 +08:00
Xinchen Hui
e52cb1858d
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
2016-08-09 11:32:16 +08:00
Xinchen Hui
ebd21de1e4
Merge branch 'bug72788' of https://github.com/keyurdg/php-src into PHP-7.0
...
* 'bug72788' of https://github.com/keyurdg/php-src :
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
2016-08-09 11:25:32 +08:00
Keyur
a74c7cb528
Remove typo'd commit
2016-08-09 01:36:15 +00:00
Keyur
3f25c4228a
Fix bug 72788: Invalid memory access when database_object_handle
...
is undefined. Also fix memory leak in dbh_free when using persistent
PDO connections.
2016-08-09 00:16:46 +00:00
Leigh
2ece5decb7
Swap min/max if min > max
2016-08-08 22:31:59 +01:00
Leigh
99e3bb1430
Allow min > max for mt_rand(). Bug #72784
2016-08-08 22:16:27 +01:00
Andrea Faulds
ab45f13a0b
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-08 21:00:49 +01:00
Andrea Faulds
5358c7cf5e
Replace dead branch with ZEND_ASSERT()
2016-08-08 20:56:11 +01:00
Christoph M. Becker
e8d8169fc1
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-08 18:51:34 +02:00
Nikita Popov
cf017ce17f
Fix array_column() packed hash initialization
...
FILL assumes enough space is alredy allocated -- do that. Note that
the used size is an upper bound, albeit a likely one.
2016-08-08 18:47:52 +02:00
Christoph M. Becker
9d03310b23
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-08 18:45:27 +02:00
Christoph M. Becker
243d5fcb1f
Add test for bug #69107 : finfo no longer detects PHP files
2016-08-08 18:43:33 +02:00
Anatol Belski
33a7ad2365
check malloc result
2016-08-08 10:33:07 +02:00
Christoph M. Becker
f706897f33
Implement #38992 : invoke() and invokeArgs() static method calls should match
...
We don't want ReflectionMethod::invoke() to simply ignore its first argument,
if the method to invoke is a static method. Instead we match its ZPP with
that of ReflectionMethod::invokeArgs(). Furthermore, we apply the DRY
principle by factoring out the code to a common helper function to prevent
inadvertent future divergence of the implementations of both methods.
As can be seen from the necessity to adapt some test cases, this causes a
BC break for some pathological cases. Therefore we apply this patch to PHP
7.1 only, which is still in beta phase.
2016-08-08 01:43:03 +02:00
Nikita Popov
e52c1f3ca9
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-07 18:50:27 +02:00
Lauri Kenttä
e616bc8694
Fix bug #55451
...
Make substr_compare ignore the length if it's NULL. This allows to
use the last parameter (case_insensitivity) with the default length.
2016-08-07 18:48:36 +02:00
Nikita Popov
f350e20da6
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-07 18:38:43 +02:00
Nikita Popov
56d7e98ddf
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-07 18:38:28 +02:00
Nikita Popov
40d237df1f
Fix stream_socket_enable_crypto() test
...
The whole test doesn't make any sense at all, but this only fixes
the additional warnings you get when linked against openssl w/o
SSL3.
2016-08-07 18:37:38 +02:00
Nikita Popov
af77c53ee1
Fix PUTC warning
...
Change the macro to not provide a useless return value using a
comma expression, which generates warnings.
2016-08-07 17:43:20 +02:00
Nikita Popov
3823bfc6f2
Avoid use of scratch space in HTTP fopen wrapper
...
Instead directly write into req_buf smart_str.
2016-08-07 17:43:06 +02:00
Lior Kaplan
283ee1f6dc
Recognize TDS versions 7.3 and 7.4
2016-08-07 15:15:59 +03:00
Christopher Jones
40bbf4ec06
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-07 10:25:16 +10:00
Christopher Jones
dd7cdab8e4
Remove old $Id$ tags
2016-08-07 10:24:56 +10:00
Christopher Jones
9acafa16b1
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-07 10:21:14 +10:00
Christopher Jones
944d473eaa
Sync with 7.1 branch changes from Nikita & Dimitri to keep OCI8 code identical
2016-08-07 10:17:06 +10:00
Christopher Jones
fadbb30e66
News for 7.1
2016-08-07 10:06:11 +10:00
Christopher Jones
f16285b35a
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-07 10:02:14 +10:00
Christopher Jones
b601dc5b29
Fix bug #72524 (Binding null values triggers ORA-24816 error)
2016-08-07 09:39:44 +10:00
Leigh
5bf39267ee
mt_rand 32/64-bit consistency
2016-08-06 11:15:26 +01:00
Kalle Sommer Nielsen
3d51b1d544
Fix the fix (Nikita), thanks!
2016-08-06 12:08:13 +02:00
Kalle Sommer Nielsen
5e2b8349b4
Check the return value of dbconvert() in mssql_guid_string(), as it may return -1 in case the conversion failed. In that case false is returned.
...
Also initialize buffer and buffer2 to NULL, which should fix bug #72039 (Use of uninitialised value on mssql_guid_string).
This only applies to 5.6, as we do not have mssql in 7.0 anymore
2016-08-06 10:17:49 +02:00
Nikita Popov
be31515cc6
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-05 23:10:12 +02:00
Nikita Popov
a2a2ea18fe
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-08-05 23:09:30 +02:00
Ville Hukkamaki
65056e9d6c
Fix #72764
...
Negotiate data channel encryption after NLST command.
This is to prevent issues with IIS and ProFTPD.
2016-08-05 22:56:54 +02:00
Nikita Popov
3859bcd1f8
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-05 19:56:27 +02:00
Nikita Popov
807e81937b
Fix bug #72767
...
The page size calculation did not account for the size of the
stack header (or rather it did account for it, but in the wrong
direction...)
2016-08-05 19:55:10 +02:00
Nikita Popov
1a780e6727
Add assertion to prevent type narrowing
...
Currently type narrowing is always a bug, make sure we know about
it.
2016-08-05 16:30:57 +02:00
Nikita Popov
fc7c81ff54
Fixed bug #72762
2016-08-05 16:27:55 +02:00
ju1ius
03d03243fa
Fix #72711 : mb_ereg does not clear the $regs parameter on failure
...
When `mb_ereg` failed to match, it didn't update the `$regs` argument.
Now it will always set it to the empty array.
2016-08-05 13:22:10 +02:00
Ville Hukkamäki
318d3b3a3f
Implement request #27814
...
Construct HTTP request headers into smart_str and send whole
request in one go.
2016-08-04 14:20:36 +02:00
Xinchen Hui
3800e1cf97
Fixed bug #72743 (Out-of-bound read in php_stream_filter_create)
2016-08-04 19:10:40 +08:00
Christoph M. Becker
5b547af1ad
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-04 12:10:34 +02:00
Christoph M. Becker
62f12a8b86
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-04 12:09:16 +02:00
Christoph M. Becker
a8515a339d
Fix broken skip marker in test case
2016-08-04 12:06:07 +02:00
Matteo Beccati
70698d1566
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Clean up FR #72633
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Conflicts:
ext/oci8/package.xml
2016-08-04 09:37:40 +02:00
Matteo Beccati
4003595d60
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Clean up FR #72633
2016-08-04 09:30:48 +02:00
Matteo Beccati
d3a8e107ac
Clean up FR #72633
2016-08-04 09:28:58 +02:00
Christopher Jones
0781f512c3
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
2016-08-04 17:14:19 +10:00
Christopher Jones
2b7a699acd
Fixed invalid handle error with Implicit Result Sets
2016-08-04 17:01:57 +10:00
Christopher Jones
78488a54c8
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
2016-08-04 16:55:54 +10:00
Christopher Jones
06be3c659c
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
2016-08-04 16:45:29 +10:00
Stanislav Malyshev
67264ebc70
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #72716 - initialize buffer before read
2016-08-03 23:03:15 -07:00
Stanislav Malyshev
b57474f23e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #72716 - initialize buffer before read
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-08-03 23:00:32 -07:00
Stanislav Malyshev
4f861b6071
Fix bug #72716 - initialize buffer before read
2016-08-03 22:59:42 -07:00
Ferenc Kovacs
7d4f5e3938
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-04 01:43:27 +02:00
Ferenc Kovacs
db4211a8fe
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
configure.in
main/php_version.h
2016-08-04 01:42:00 +02:00
Ferenc Kovacs
562c17eb4e
5.6.26 will be next
2016-08-04 01:39:37 +02:00
Nikita Popov
ec6d70db77
Fix leak on self-referencing constants
2016-08-03 23:10:09 +02:00
Davey Shafik
b304ab5c70
Move fix for #72735 to 7.1.0beta3
2016-08-03 12:31:15 -07:00
Anatol Belski
662e5ae951
improve the check, avoid strlen on NULL
2016-08-03 12:29:03 -07:00
Kalle Sommer Nielsen
835ef14979
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
...
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.
The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.
This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.
2016-08-03 12:29:03 -07:00
Jakub Zelenka
6822af2e73
Do not add already added object to the internal OpenSSL table
...
This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.
2016-08-03 20:01:41 +01:00
Anatol Belski
8f0baa9707
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve the check, avoid strlen on NULL
2016-08-03 18:29:42 +02:00
Anatol Belski
138689ffb7
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
improve the check, avoid strlen on NULL
2016-08-03 18:28:48 +02:00
Anatol Belski
9667ee4f72
improve the check, avoid strlen on NULL
2016-08-03 18:26:29 +02:00
Anatol Belski
a60e1bfedf
update NEWS
2016-08-03 17:42:45 +02:00
Anatol Belski
8830b3d020
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
2016-08-03 17:40:38 +02:00
Anatol Belski
2bdb34fd40
update NEWS
2016-08-03 17:39:55 +02:00
Anatol Belski
0e82eb48cb
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
2016-08-03 17:39:22 +02:00
Anatol Belski
f15c155363
update NEWS
2016-08-03 17:38:11 +02:00
Kalle Sommer Nielsen
d5796fb298
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
...
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.
The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.
This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.
(cherry picked from commit aabcb5481d )
2016-08-03 17:36:00 +02:00
Anatol Belski
c17092fc13
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs_versions.txt
update libs_versions.txt
2016-08-03 15:06:39 +02:00
Anatol Belski
e3dabe448d
update libs_versions.txt
2016-08-03 15:06:02 +02:00
Anatol Belski
7922e0f0bf
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
update libs_versions.txt
2016-08-03 15:05:39 +02:00
Anatol Belski
67c2b0a9e8
update libs_versions.txt
2016-08-03 15:03:41 +02:00
Remi Collet
f9ce8aa75b
Minor revert of be3640150c
...
On 32bits this may cause php to hangs forever.
2016-08-03 14:27:46 +02:00
Remi Collet
a70ca97c18
fix paths in tests
2016-08-03 14:24:35 +02:00
Remi Collet
8b7f594a2b
clean removed functions (since they are alias)
2016-08-03 12:59:14 +02:00
Remi Collet
cff668f7a7
Fix 32bits tests
...
Notice: this warning is only raise since rand is an alias to mt_rand
2016-08-03 12:56:07 +02:00
Anatol Belski
39587c4817
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix ts build
2016-08-03 12:20:23 +02:00
Anatol Belski
151c39827a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix ts build
2016-08-03 12:19:29 +02:00
Anatol Belski
fad3f936ac
fix ts build
2016-08-03 12:16:42 +02:00
Remi Collet
60bb15d8a1
add skipif (needs json)
2016-08-03 11:03:22 +02:00
Stanislav Malyshev
72dbb7f416
Fix bug #72674 - check both curl_escape and curl_unescape
2016-08-03 00:58:55 -07:00
Xinchen Hui
6d1f473247
It's packed array
2016-08-03 12:37:14 +08:00
Xinchen Hui
be00b4ed13
Optmized array_rand
2016-08-03 12:06:04 +08:00
Xinchen Hui
501d24f81b
Optimized array_pad
2016-08-03 11:24:31 +08:00
Davey Shafik
9ecefe72d8
Update NEWS for 7.1.0beta3
2016-08-02 16:40:07 -07:00
Nikita Popov
41e93041f8
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-03 00:35:00 +02:00
Nikita Popov
1bcd439cad
Fix bug #72724
2016-08-03 00:34:36 +02:00
Christoph M. Becker
a837b2f6a3
Fix #72320 : iconv_substr returns false for empty strings
...
For consistency with substr() and mb_substr(), iconv_substr() should return
an empty string instead of FALSE, when $offset == iconv_strlen($str).
2016-07-29 11:33:50 +02:00
SATO Kentaro
df683fa3b0
Fix #68447 : grapheme_extract take an extra trailing character
...
grapheme_extract() converts UTF-8 string in the argument to UTF-16 to
iterate through graphemes, and count each UTF-16 character as one Unicode
character, which is not correct for UTF-16 surrogate pairs.
The patch removes the conversion and counts UTF-8 directly if needed.
2016-07-01 22:45:37 +09:00
Mark Plomer
f5f94d9c08
fix left-shifted/misaligned bounding-box + wrong kerning in imagettfbbox/imageftbbox
...
- load glyph with FT_LOAD_IGNORE_TRANSFORM for bbox as final bbox is rotated at once later (fixes "double-rotation" per glyph for calculating bbox)
- reload the rotated glyph for painting after that (only if angle != 0)
- rotate the original bbox at 0,0 and do not throw away xMin/yMin (drawing-rotation is also based at "origin" point - including the bearingX, see http://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html#section-3 ) - this fixes the "left-shift"-problem also when angle = 0
- removed "xb/yb" and use "x/y" directly for offsetting brect (no need for adding "x1/y1" and substracting "yd" later)
- removed therefore unused "yd" helper var which seems tried to fix parts of the original problems
- initialize x/y with 0 instead of -1 in php_imagettftext_common() to make image*text() and image*bbox() results identical (there was a -1px shift in image*bbox() before)
- fixed gdroundupdown() for negative numbers (-256 / 64 gives -5 instead of -4 before)
- rotate kerning-delta by given angle (fixes completely wrong kerning and therefore wrong bounding box if angle != 0)
- changed 3 tests and added a new one to test for the new (better) coordinates
2016-04-03 12:11:26 +02:00
Paul Tarjan
9f25f736ed
Dont ignore errors from FT_Get_Glyph
2016-04-03 12:11:25 +02:00
Joshua Thijssen
e7f23e164b
Implemented fix for incorrect filedescriptor closing
2015-10-21 13:21:03 +02:00
Christoph M. Becker
c36ce04dd3
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
...
When the remove_all_path option is set, but no add_path option, remove_all_path
is simply ignored. This patch fixes this.
2015-08-13 21:04:36 +02:00
Tom Sommer
e37b5f20fb
Fix rebase error
2015-07-14 13:18:47 -04:00
Tom Sommer
29f96ab37e
Add subject to mail.log
2015-07-14 11:44:58 -04:00
Evgeniy Spinov
650e073f7a
*[Sessions]: Now session is accessible if process is ran by root. Fixing bug: https://bugs.php.net/bug.php?id=69582
...
*[Sessions]: Replaced fstat with zend_fstat
2015-06-28 12:02:57 +04:00
EvgeniySpinov
2edf296a92
Merge pull request #1 from php/master
...
Merging upstream
2015-06-28 12:00:38 +04:00
Evgeniy Spinov
a2c461d58a
*[Sessions]: Now session is accessible if process is ran by root. Fixing bug: https://bugs.php.net/bug.php?id=69582
2015-06-24 15:26:25 +04:00
Willian Gustavo Veiga
33721742a5
Added "exclude_disabled" argument to "get_defined_functions".
2015-06-02 21:42:18 -03:00
Willian Gustavo Veiga
978832331a
Fix bug #31875 - get_defined_functions() should not list disabled functions.
2015-05-30 12:29:27 -03:00
redfoxli
2ece3ea699
improperlog
2015-05-30 14:37:41 +08:00
Floris Bos
bb19125781
Fix php-fpm.service.in
...
- Expand file paths.
- Remove obsolete After=syslog.target. Syslog is socket activated nowadays.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl >
2015-05-01 15:28:55 +02:00