James Titcumb
dc6b74ae2d
Fixed typo in reflection phpt
2015-11-08 09:47:26 +01:00
Nikita Popov
3c05c82a19
Fix various update_opN_const issues
2015-11-08 09:47:11 +01:00
Nikita Popov
788aaafaff
Refactor update_op2_const
...
Combines both switches into one, to avoid having to maintain the same
opcode list twice. This also makes most of the bugs fixed by the next
commit pretty obvious.
No functional change here.
2015-11-08 09:46:59 +01:00
Nikita Popov
e5072a7841
Don't propagate into ops that error on non-string
...
To properly support this make update_opN_const fallible -- they
are not always called through replace_with_const.
2015-11-08 09:45:00 +01:00
Nikita Popov
e4f7dd720e
Strip leading backslash in update_opN_const
2015-11-08 09:44:10 +01:00
Nikita Popov
45a9d15897
Fix update_opX_const lowercasing
...
It was lowering in-place.
2015-11-08 09:43:57 +01:00
Xinchen Hui
40e5e54713
Use defined macro
2015-11-08 09:31:28 +01:00
Felipe Pena
23e625b3ad
Fixed bug #70678 (PHP7 returns true when false is expected)
...
Cherry-pick from master.
2015-11-08 09:27:41 +01:00
Christopher Jones
9bc819d943
Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
2015-11-08 09:20:33 +01:00
Matteo Beccati
1522b898b0
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute
2015-11-08 06:08:38 +01:00
Xinchen Hui
22d3033ec6
Fixed bug #70876 (Segmentation fault when regenerating session id with strict mode)
2015-11-08 04:36:22 +01:00
Xinchen Hui
3d8c4a37a5
Fixed bug #70868 (PCRE JIT and pattern reuse segfault)
2015-11-08 04:27:25 +01:00
Anatol Belski
b6fc98b833
fix NULL deref in mbstring post handler
2015-11-08 04:24:40 +01:00
Anatol Belski
7554b10a77
fix NULL deref in pdo_firebird
...
ref #70862
2015-11-08 04:24:29 +01:00
Anatol Belski
12208dc8fc
fix pdo_sqlite crash with empty bound stream
2015-11-08 04:24:16 +01:00
Anatol Belski
5fad120885
fix leak
2015-11-08 04:24:04 +01:00
Anatol Belski
682dae60dd
fix pdo_mysql crash with empty bound stream param
...
rel #70862
2015-11-08 04:23:51 +01:00
Anatol Belski
75807f7b00
add test for bug #70861
2015-11-08 04:23:39 +01:00
Anatol Belski
7f3ba1fe6f
fix possible NULL deref in image functions
2015-11-08 04:23:26 +01:00
Anatol Belski
352117b728
fix crash in sqlite when executing with bound stream param
...
rel #70862
2015-11-08 04:23:10 +01:00
Fabian Franz
3bdb7cf56c
Fix setting of empty string resource.
2015-11-08 04:22:51 +01:00
Anatol Belski
84abd7f7bd
update the actual sql parser file for #70861
2015-11-08 04:22:31 +01:00
Anatol Belski
602e57e1c6
Fix bug #70861 Segmentation fault in pdo_parse_params() during Drupal 8 test suite
2015-11-08 04:22:18 +01:00
Xinchen Hui
b48738f00b
Fixed bug #70853 (SplFixedArray throws exception when using ref variable as index)
2015-11-08 03:25:49 +01:00
Xinchen Hui
849ef6db44
Fixed bug #70843 (Segmentation fault on MacOSX with opcache.file_cache_only=1)
2015-11-08 03:21:35 +01:00
Xinchen Hui
c600bdcb79
Fixed bug #70656 (require() statement broken after opcache_reset() or a few hours of use)
2015-11-08 02:32:58 +01:00
Xinchen Hui
51f9948b2b
Fixed bug #70808 (array_merge_recursive corrupts memory of unset items)
...
I knew, this fix seems ugly
2015-11-08 02:17:20 +01:00
Xinchen Hui
8836fdd4ed
Fixed bug #70730 (Incorrect ArrayObject serialization if unset is called in serialize())
...
It's possible to fixed this in SPL side, but it will be ugly, and we
should make serialize more robust, so I prefer fix it in serialize side.
2015-10-23 11:09:42 +02:00
Xinchen Hui
1f677c5eff
Fixed bug #70715 (Segmentation fault inside soap client)
2015-10-23 10:41:33 +02:00
Anatol Belski
980a2c283d
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
C89 compat
use spprintf instead (no need to estrdup afterwards).
dblib's dbcolname can return null in some cases
testcase fot bug #69757
Segmentation fault on pdo_dblib::nextRowset (bug #69757 )
Conflicts:
ext/pdo_dblib/dblib_stmt.c
2015-10-18 13:43:53 +02:00
Xinchen Hui
74004a160d
Fixed bug #70724 (Undefined Symbols from opcache.so on Mac OS X 10.10)
2015-10-18 12:43:08 +02:00
Xinchen Hui
b3cf4a2dc0
Fixed Conditional jump or move depends on uninitialised value
2015-10-18 12:36:16 +02:00
Xinchen Hui
332cf3cf56
Fixed bug #70709 (SOAP Client generates Segfault)
2015-10-18 12:32:05 +02:00
Bob Weinand
1b5b21539f
Do not create a fake Closure for real Closures
...
That is solved by just returning the Closure as is, which is safe due to Closures being immutable objects
2015-10-14 16:15:27 +02:00
Dmitry Stogov
23b372d358
Forbid "fake" closure rebinding
2015-10-12 20:34:08 +02:00
Anatol Belski
5492fe9f25
fork test for ICU 56.1
2015-10-12 11:20:51 +02:00
Anatol Belski
aea420c7cf
fork test for ICU-56.1
2015-10-12 11:16:27 +02:00
Anatol Belski
3fb6f0014a
fix test for ICU-56.1
2015-10-12 11:10:04 +02:00
Anatol Belski
ffb5d0aca3
Implemented file_cache_fallback mechanism
...
which is essential as an attempt to fix the "failed to reattach"
error on Windows. If file_cache is enabled, Opcache will
automaticaly switch to file_cache_only mode in the case a process
failed to map the shared segment at the required address. The
important small part of the SHM will still be mapped, which
allows information exchange between normal processes using SHM
and those using the fallback mechanism.
This is based on Dmitry's, Matt's and mine ideas. So many thanks for
support!
2015-10-09 23:47:59 +02:00
Dmitry Stogov
91fb3a7b27
Fixed bug #70674 (ReflectionFunction::getClosure() leaks memory when used for internal functions)
2015-10-09 00:45:02 +03:00
Andrea Faulds
fa23bebe94
Correct intdiv() argument names and description
2015-10-08 15:45:22 +01:00
Dmitry Stogov
3815e97136
Fixed bug #70668 (array_keys() doesn't respect references when $strict is true)
2015-10-08 14:59:02 +03:00
Dmitry Stogov
9af07e7119
Fixed bug #70667 (strtr() causes invalid writes and a crashes)
2015-10-08 14:30:43 +03:00
Márcio Almada
ddb6d7801e
Fix bug #70650
2015-10-07 16:25:59 +02:00
Dmitry Stogov
5d2813edce
Fixed test.
...
MySQL and MariaDB of different versions have different assumptions about TIMESTAMP attributes.
Probably we need to add yet another condition to also check MariaDB version.
2015-10-07 14:09:37 +03:00
Christopher Jones
19e461b07d
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 :
Fixed test running on MarinaDB.
2015-10-07 20:27:38 +11:00
Christopher Jones
4a57f1821b
Fix mem leak and improve test portability (Senthil)
2015-10-07 20:24:49 +11:00
Dmitry Stogov
ccb677ece8
Fixed test running on MarinaDB.
2015-10-07 12:21:43 +03:00
Anatol Belski
c0ca731d7a
add comment to test
2015-10-07 09:43:28 +02:00
Dmitry Stogov
91588a98be
Fixed test (system error messages may be different).
2015-10-07 03:25:12 +03:00