Matteo Beccati
30925cd498
Fixed bug #71447 (Quotes inside comments not properly handled)
2016-04-04 23:50:28 +02:00
Matteo Beccati
9a87108eca
Fixed a few PDO tests to conform to PDO Common standards
2016-04-04 23:43:17 +02:00
Adam Baratz
9fcfc18ca9
Fix #71943 : dblib_handle_quoter needs to allocate an extra byte
2016-04-04 17:33:49 +02:00
Elizabeth Marie Smith
4df5f79ab5
Fix ODBC bug for varchars returning with length zero
2016-04-01 17:11:58 +02:00
Joe Watkins
034e8ec02e
fix #71287 (substr_replace bug when length type is string)
2016-03-31 17:10:12 +01:00
Joe Watkins
3b13206aa9
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
2016-03-31 12:40:15 +01:00
Joe Watkins
233115ea23
fix #71609 : Segmentation fault on ZTS with gethostbyname
2016-03-31 12:39:01 +01:00
Anatol Belski
e6bb7eb3aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix borked mainstream patch
5.5.35 now
2016-03-31 01:38:22 +02:00
Anatol Belski
a00c2b1bf5
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix borked mainstream patch
5.5.35 now
2016-03-31 01:36:47 +02:00
Anatol Belski
4b0b1cec00
fix borked mainstream patch
2016-03-31 01:33:38 +02:00
Anatol Belski
9dc6c33740
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test to not to cause false positives
2016-03-31 01:30:23 +02:00
Anatol Belski
ed707a5217
fix test to not to cause false positives
2016-03-31 01:29:05 +02:00
Nikita Popov
b1e854f776
Fix bug #71334
...
Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.
I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.
This also required some changes to how SplArray forwards calls to
sorting functions.
2016-03-30 22:49:27 +02:00
Matteo Beccati
3bfe1c55ae
Removed shmop test leaking an shm segment
2016-03-30 10:00:28 +02:00
Anatol Belski
c7f7139985
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix dir separator in test
2016-03-29 14:20:30 +02:00
Anatol Belski
23d0065744
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix dir separator in test
2016-03-29 14:19:35 +02:00
Anatol Belski
551423c642
fix dir separator in test
2016-03-29 14:18:25 +02:00
Anatol Belski
5272184a1e
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
...
The actual fix is applying the upstream patch from
6713ca45e7
2016-03-29 13:11:25 +02:00
Anatol Belski
84990ab346
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
2016-03-29 13:11:17 +02:00
Anatol Belski
fe13566c93
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
...
The actual fix is applying the upstream patch from
6713ca45e7
2016-03-29 13:10:39 +02:00
Anatol Belski
6afa41cf80
Merge remote-tracking branch 'origin/PHP-7.0.5' into PHP-7.0
...
* origin/PHP-7.0.5:
Fixed bug #71704 php_snmp_error() Format String Vulnerability
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Updated to version 2016.3 (2016c)
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Fix bug #71798 - Integer Overflow in php_raw_url_encode
update NEWS
Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
Fix bug #71860 : Require valid paths for phar filenames
Fix bug #71860 : Require valid paths for phar filenames
update NEWS
Fixed bug #71704 php_snmp_error() Format String Vulnerability
Merge branch 'PHP-5.6' into PHP-7.0
Updated to version 2016.2 (2016b)
update libs versions
set RC1 versions
Going for 5.5.34
2016-03-29 11:24:33 +02:00
Stanislav Malyshev
67fbb06311
Merge branch 'PHP-5.5' into PHP-7.0.5
...
* PHP-5.5:
Fixed bug #71704 php_snmp_error() Format String Vulnerability
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Fix bug #71798 - Integer Overflow in php_raw_url_encode
Fix bug #71860 : Require valid paths for phar filenames
Going for 5.5.34
Conflicts:
configure.in
ext/phar/phar_object.c
ext/phar/tests/badparameters.phpt
ext/phar/tests/create_path_error.phpt
ext/phar/tests/pharfileinfo_construct.phpt
ext/snmp/snmp.c
ext/standard/url.c
main/php_version.h
2016-03-28 23:55:05 -07:00
Stanislav Malyshev
57d170aae0
Merge remote-tracking branch 'security/PHP-7.0.5' into PHP-7.0.5
...
* security/PHP-7.0.5:
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Fix bug #71860 : Require valid paths for phar filenames
update NEWS
Fixed bug #71704 php_snmp_error() Format String Vulnerability
2016-03-28 23:49:03 -07:00
Stanislav Malyshev
cc7631dd08
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #71704 php_snmp_error() Format String Vulnerability
2016-03-28 23:45:15 -07:00
Anatol Belski
9c19a08b9d
Fixed bug #71704 php_snmp_error() Format String Vulnerability
...
Conflicts:
ext/snmp/snmp.c
2016-03-28 23:42:19 -07:00
Stanislav Malyshev
62da5cdf3d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Fix bug #71798 - Integer Overflow in php_raw_url_encode
Fix bug #71860 : Require valid paths for phar filenames
Going for 5.5.34
Conflicts:
configure.in
ext/phar/tests/create_path_error.phpt
main/php_version.h
2016-03-28 23:21:15 -07:00
Stanislav Malyshev
f8dd10508b
Fixed bug #71906 : AddressSanitizer: negative-size-param (-1) in mbfl_strcut
2016-03-28 23:15:16 -07:00
Derick Rethans
2d112e1378
Updated to version 2016.3 (2016c)
2016-03-28 15:31:51 +02:00
Anatol Belski
e93c6910fc
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
...
The actual fix is applying the upstream patch from
6713ca45e7
2016-03-28 00:45:19 +02:00
Stanislav Malyshev
95433e8e33
Fix bug #71798 - Integer Overflow in php_raw_url_encode
2016-03-27 14:22:19 -07:00
Nikita Popov
bd90f5507f
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/standard/crypt.c
2016-03-25 20:23:04 +01:00
Nikita Popov
54da966883
Fixed bug #67512
2016-03-25 20:18:46 +01:00
Xinchen Hui
1929fc9b16
Fixed bug #71891 (header_register_callback() and register_shutdown_function())
...
Actually, this fixed the memleak not the behavior(it is expected
behavior that "shutdown" is not outputed)
2016-03-25 12:34:22 +08:00
Derick Rethans
70878a92b1
Updated to version 2016.3 (2016c)
2016-03-24 11:09:07 +00:00
Derick Rethans
c4681ec8e1
Updated to version 2016.3 (2016c)
2016-03-24 11:09:05 +00:00
Xinchen Hui
a3946de339
Fixed Bug #71884 (Null pointer deref (segfault) in stream_context_get_default)
2016-03-23 16:16:26 +08:00
Anatol Belski
241ba9dcb1
if there's no JIT support, no RINIT is really needed
2016-03-22 21:42:21 +01:00
Xinchen Hui
b49ec68134
Update test script
2016-03-22 11:28:19 +08:00
Anatol Belski
e988239634
decrease the default PCRE JIT stack to 64K
2016-03-21 18:59:39 +01:00
Anatol Belski
e23a41225f
Increase PCRE JIT stack size
...
It is done by implementing the custom stack usage. This makes the
JIT with mode on more compatible with the JIT mode off. Until now, the
default PCRE JIT stack was used which is 32kb big by default. There
are situations where some patterns would fail with JIT while working
correctly without JIT.
The starting size of the JIT stack is still set to 32kb, while the
max is set to the permissive 256kb (and can be increased up to 1mb).
As until now no suchlike bugs regarding JIT were reported, it is expected,
that the stack usage will stay by 32kb in most cases. Though providing
the custom stack, applications will have more room for some sporadic
stack increase, thus more compatibility.
2016-03-21 17:31:26 +01:00
Julien Pauli
5ba7b9af1b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Updated NEWS
Reworked Fix bug #52098
Fix bug #52098
Conflicts:
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
2016-03-21 15:39:48 +01:00
Julien Pauli
d3d64b7c62
Reworked Fix bug #52098
2016-03-21 15:23:18 +01:00
Daniel Persson
e541cd8e6b
Fix bug #52098
2016-03-21 15:04:11 +01:00
Xinchen Hui
ead0dfc3c9
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS for efacdc3
FIX #71831 : CURLOPT_NOPROXY applied as long instead of string
2016-03-21 16:43:55 +08:00
Xinchen Hui
056459dc9d
Merge branch 'PHP-5.6' of https://github.com/msierks/php-src into PHP-5.6
...
* 'PHP-5.6' of https://github.com/msierks/php-src :
FIX #71831 : CURLOPT_NOPROXY applied as long instead of string
2016-03-21 16:39:22 +08:00
Xinchen Hui
65ae7440b0
Merge branch 'bug71835' of https://github.com/bukka/php-src into PHP-7.0
...
* 'bug71835' of https://github.com/bukka/php-src :
Fix bug #71835 (json_encode sometimes incorrectly detects recursion with JsonSerializable)
2016-03-21 16:03:16 +08:00
Stanislav Malyshev
c4517b2a5e
Fix bug #71750 : use zend_string_safe_alloc for calculated allocations
2016-03-20 22:39:17 -07:00
Stanislav Malyshev
28a6ed9f9a
Fix bug #71735 : Double-free in SplDoublyLinkedList::offsetSet
2016-03-20 22:29:08 -07:00
Stanislav Malyshev
72281f29dd
Fix bug #71860 : Require valid paths for phar filenames
2016-03-20 21:33:11 -07:00
Stanislav Malyshev
1e9b175204
Fix bug #71860 : Require valid paths for phar filenames
2016-03-20 21:24:12 -07:00
Nikita Popov
f3309173f9
Fixed bug #62059
2016-03-20 18:17:44 +01:00
Nikita Popov
12f2665df8
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/spl/spl_observer.c
2016-03-20 17:48:06 +01:00
Nikita Popov
cc3cdd0057
Fixed bug #67582
2016-03-20 17:46:12 +01:00
Jakub Zelenka
7e069daa89
Fix bug #71835 (json_encode sometimes incorrectly detects recursion with JsonSerializable)
2016-03-20 15:56:27 +00:00
Nikita Popov
8023204d21
Fixed bug #52339
...
Autoloader 101: Don't throw if you fail. PHP will throw for you.
2016-03-18 20:28:58 +01:00
Nikita Popov
a2522efa9f
Add extra ArrayObject::sort() test
2016-03-18 19:59:08 +01:00
Nikita Popov
094c808374
Fix bug #71838
2016-03-18 19:58:52 +01:00
Michael Sierks
efacdc3511
FIX #71831 : CURLOPT_NOPROXY applied as long instead of string
...
The CURLOPT_NOPROXY option value is converted to a long before
being applied as a curl option. This causes the option to have
no effect. This patch changes this conversion to a string.
2016-03-18 07:29:01 -05:00
Xinchen Hui
5b8d0dc6ae
Fixed pdo_stmt.c: zval* being passed into zend_parse_parameters_ex
2016-03-18 11:50:03 +08:00
Xinchen Hui
93499bfd8a
Fixed test & ZEND_BOOL should result TMP_VAR
2016-03-17 07:55:25 -07:00
Xinchen Hui
345ecd9822
Fixed #71837 (Wrong arrays behaviour)
2016-03-17 07:41:41 -07:00
Anatol Belski
1b632cfe83
Backport patch for bug #71820
...
Rev b4eedd128b
2016-03-17 14:28:58 +01:00
Xinchen Hui
eb405623ec
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
...
* 'PHP-5.6' of git.php.net:/php-src:
fix NEWS
NEWS
Fix Bug #63171 Script hangs after max_execution_time
2016-03-17 21:27:23 +08:00
Xinchen Hui
383dde5b15
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 NEWS
NEWS
NEWS
Fix Bug #63171 Script hangs after max_execution_time
Fixed bug #71820 pg_fetch_object bind parameters before call constructor
2016-03-17 21:26:14 +08:00
Remi Collet
2291ebc0ea
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
NEWS
Fix Bug #63171 Script hangs after max_execution_time
2016-03-17 13:42:34 +01:00
Remi Collet
407ad28ae5
Fix Bug #63171 Script hangs after max_execution_time
...
If aborted via timer expiration, don't try to call any unixODBC function
which may hangs because of internal locks
2016-03-17 13:38:45 +01:00
Xinchen Hui
aef22ac1c1
Remove unnecessary pattern
2016-03-17 20:21:36 +08:00
Xinchen Hui
041a01fd6c
Fixed for PHP7
2016-03-17 20:20:01 +08:00
Xinchen Hui
820b0aa2ab
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
2016-03-17 19:54:33 +08:00
Xinchen Hui
8e2f658f49
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
2016-03-17 19:54:19 +08:00
Anatol Belski
b4eedd128b
Fixed bug #71820 pg_fetch_object bind parameters before call constructor
...
If we want to fetch into an object of a custom class that implemens
__set handler, the corstructor has to be called first. The data
passed to the constructor can be possibly required in __set handler.
2016-03-17 12:41:55 +01:00
Xinchen Hui
dae086040e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed test script
2016-03-17 17:07:07 +08:00
Xinchen Hui
6d4aec029a
Fixed test script
2016-03-17 17:06:56 +08:00
Xinchen Hui
e12456603a
Remove typo
2016-03-17 15:27:36 +08:00
Xinchen Hui
b8f0cb063f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed test script
2016-03-17 15:23:53 +08:00
Xinchen Hui
ead7632cf9
Fixed test script
2016-03-17 15:23:44 +08:00
Xinchen Hui
fe1a3fc08b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #71841 (EG(error_zval) is not handled well)
Fixed bug #71840 (Unserialize accepts wrongly data)
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/standard/var_unserializer.c
2016-03-17 15:22:44 +08:00
Xinchen Hui
6f241f5fad
Fixed bug #71840 (Unserialize accepts wrongly data)
2016-03-17 15:15:28 +08:00
Andrey Hristov
fa4addd409
More email fixing
2016-03-16 10:54:56 +01:00
Andrey Hristov
f2ab731a8c
Fix emails in headers. @mysql.com addresses are no more since many years.
2016-03-16 10:24:52 +01:00
Anatol Belski
6e25966544
Fixed bug #71704 php_snmp_error() Format String Vulnerability
2016-03-16 09:48:40 +01:00
Remi Collet
ffe82dd775
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix #ifdef usage
2016-03-16 08:11:50 +01:00
Remi Collet
46293ed6d4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix #ifdef usage
2016-03-16 07:18:09 +01:00
Remi Collet
478c807128
fix #ifdef usage
2016-03-16 07:17:49 +01:00
Derick Rethans
89919b5ec5
Updated to version 2016.2 (2016b)
2016-03-15 11:17:57 +01:00
Derick Rethans
ba71144b8c
Updated to version 2016.2 (2016b)
2016-03-15 09:14:11 +00:00
Derick Rethans
ddc62f2e8b
Updated to version 2016.2 (2016b)
2016-03-15 09:14:09 +00:00
Anatol Belski
84651b32eb
fix uninitialized value
2016-03-15 06:43:29 +01:00
Anatol Belski
704a9aeea7
fix pointer truncation on 64 bit
2016-03-14 16:44:27 +01:00
Anatol Belski
ab7764d99b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test
2016-03-14 15:58:05 +01:00
Anatol Belski
beda05269c
fix test
...
Many warnings won't appear with libxml2 >= 2.9.3 because in many
cases libxml2 2.9.3 will just abort processing.
2016-03-14 15:53:02 +01:00
Yasuo Ohgaki
ca61f5954b
Fixed Bug #71754 Regression in PHP7.0: trivial script segfaults php-cgi
...
Fixed Bug #71683 Null pointer dereference in zend_hash_str_find_bucket
Fixed Bug #71599 trans sid handling rework broke interaction with cookies
All of these bug is caused by git global change in PHP-7.0.
2016-03-12 08:40:37 +09:00
Yasuo Ohgaki
50fca7a02a
Fixed Bug #71683 Null pointer dereference in zend_hash_str_find_bucket
2016-03-12 08:15:47 +09:00
Nikita Popov
02743f43c2
Fixed bug #71806
2016-03-11 22:45:38 +01:00
Grigorii Sokolik
ccc5150f15
Fix bug #71767
2016-03-11 22:27:48 +01:00
Anatol Belski
d26d80ab75
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:12:54 +01:00
Thomas Punt
f3f5a07aa5
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:08:48 +01:00
Anatol Belski
8b5d09a195
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix error condition, part of bug #71753
2016-03-10 11:39:16 +01:00
Anatol Belski
8cd903ea68
fix error condition, part of bug #71753
2016-03-10 11:35:50 +01:00
Anatol Belski
3edd33083c
fix invalid pointer on 64-bit
2016-03-10 08:45:29 +01:00