Anatol Belski
5afba67bfe
Re-fix #72165
...
Reverted previous wrong patch, throw warning for numeric keys.
Numeric field names are not supported, see "distinguished name"
section here https://www.openssl.org/docs/manmaster/apps/req.html
2016-05-06 09:30:41 +02:00
Anatol Belski
dd5479ea4c
Revert "Fixed bug #72165 Null pointer dereference - openssl_csr_new"
...
This reverts commit 7277c85765 .
2016-05-06 09:19:04 +02:00
Anatol Belski
7277c85765
Fixed bug #72165 Null pointer dereference - openssl_csr_new
2016-05-06 09:01:27 +02:00
Xinchen Hui
080f6b10ec
Fixed test
2016-05-06 10:51:38 +08:00
Xinchen Hui
441d1b8ef0
Revert "Fix bug #72162 (again)"
...
The problem is because we release p->value too early
and later you try to convert an object to string, which is a fatal error
then leave p->value double free, change to expect long is a BC break
This reverts commit 8e5b381004 .
2016-05-06 10:45:44 +08:00
Nikita Popov
8e5b381004
Fix bug #72162 (again)
...
Not sure what the previous fix was supposed to do. The issue was
that error_reporting() simply assumes that the value must either
be an integer or a string.
Fixed by using zpp properly.
2016-05-05 17:28:52 +02:00
Xinchen Hui
395863b1d1
Fixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)
2016-05-05 17:27:34 +08:00
Xinchen Hui
c15b6134f6
Fixed bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite)
2016-05-05 15:18:17 +08:00
Xinchen Hui
1a5d58b28f
Fixed bug #72157 (use-after-free caused by dba_open)
2016-05-05 11:12:17 +08:00
Xinchen Hui
9191862121
Fixed bug #72162 (use-after-free - error_reporting)
2016-05-05 11:02:21 +08:00
Nikita Popov
0691e7a8e1
Fix JMPZ, JMPZNZ_EX chain optimization
...
The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it should not contain any _EX opcodes):
function test() {
if ($a && $b) {
echo "a";
}
if ($b || $c || $d) {
echo "b";
}
}
Conflicts:
ext/opcache/Optimizer/block_pass.c
2016-05-05 00:00:56 +02:00
Nikita Popov
9af0c96af4
Fix bug #72159
2016-05-04 18:43:11 +02:00
Anatol Belski
44372d6953
fix NEWS, patch for #71428 was reverted
2016-05-04 18:14:11 +02:00
Joe Watkins
a17e4187e7
correct wording
2016-05-04 17:04:38 +01:00
Joe Watkins
9bbee305e3
add compiler option to disable builtins (special case function calls)
2016-05-04 10:53:59 +01:00
Anatol Belski
2d0081cebd
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add test fo rbug 71805
2016-05-03 19:10:40 +02:00
Anatol Belski
5351151352
add test fo rbug 71805
2016-05-03 19:09:11 +02:00
Anatol Belski
578ba03339
update libs versions
2016-05-03 18:27:21 +02:00
Anatol Belski
07519d4c4b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
upate libs versions
2016-05-03 18:27:03 +02:00
Anatol Belski
a387075954
upate libs versions
2016-05-03 18:24:35 +02:00
Nikita Popov
fbae590bf0
Fix leaks in QM_ASSIGN, JMP_SET and COALESCE
...
The QM_ASSIGN code was rewritten to use the standard pattern for
handling CVs and VARs.
2016-05-03 18:12:56 +02:00
Bob Weinand
b4c5009220
Mark fcc as initialized for object calls
...
This results in 1% speedup (cycle count) on some real world applications
2016-05-03 02:07:06 +02:00
Nikita Popov
ec7c3c22b6
Fix leak in zend_get_constant_ex
2016-05-02 19:59:43 +02:00
Bob Weinand
45c0301b69
Added NEWS entry for socket_export_stream()
...
Closes pull request https://github.com/php/php-src/pull/762
2016-05-02 17:11:26 +02:00
Chris Wright
e8abb70fc9
Implement socket_export_stream()
2016-05-02 17:08:15 +02:00
Nikita Popov
d5a38280be
Drop dup declare with inconsistent linkage
...
This is already declared in zend_stream.h as ZEND_API.
2016-05-02 11:56:28 +02:00
Anatol Belski
5360b3de33
fix test if unlink fails occasionally
2016-05-01 19:25:39 +02:00
Anatol Belski
81e62e66d6
fix dir separator in test
2016-05-01 19:05:02 +02:00
Anatol Belski
2acdf68b5a
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
2016-05-01 13:23:35 +02:00
Anatol Belski
bb7cae788e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update PHP 5.5 NEWS entries with CVE info
Added CVE
Updated NEWS
2016-05-01 13:19:48 +02:00
Anatol Belski
20359deae6
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Update PHP 5.5 NEWS entries with CVE info
Added CVE
Updated NEWS
2016-05-01 13:18:24 +02:00
Lior Kaplan
5c571626e3
Update PHP 5.5 NEWS entries with CVE info
2016-05-01 13:14:57 +02:00
Nikita Popov
8e855534b7
Fix posix build
2016-05-01 13:07:01 +02:00
Nikita Popov
d0069ca6c1
Fix ('\bar')() in namespace
2016-05-01 13:05:14 +02:00
Xinchen Hui
895337ddbd
Fixed bug #72133 (php_posix_group_to_array crashes if gr_passwd is NULL)
2016-05-01 11:00:41 +08:00
Sara Golemon
d0b952260e
Create temporary sqlite db in test dir rather than cwd (and clean it up)
...
Well behaved tests do not leave their droppings all over the filesystem.
2016-04-30 06:02:01 +00:00
Anatol Belski
8c74f03c10
fix test
2016-04-29 14:30:19 +02:00
Pierrick Charron
3c92f113e4
Expose some of the new curl constants to PHP userspace
2016-04-29 14:19:55 +02:00
Lior Kaplan
9943c32242
Add CVE IDs PHP 7.0.0
2016-04-29 13:41:29 +03:00
Lior Kaplan
5a578eb8f0
Add CVE IDs PHP 7.0.2
2016-04-29 13:40:44 +03:00
Lior Kaplan
8c215baae7
Add CVE IDs PHP 7.0.3
2016-04-29 13:40:07 +03:00
Lior Kaplan
8491a4e438
Add CVE IDs PHP 7.0.4
2016-04-29 13:39:03 +03:00
Lior Kaplan
19b5e950e7
Add CVE IDs PHP 7.0.5
2016-04-29 13:38:25 +03:00
Lior Kaplan
34dec87343
Add CVE to bug #71912 (PHP 7.0.6)
2016-04-29 13:36:24 +03:00
Lior Kaplan
6e68b44843
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Add CVE to bug #69719 (PHP 5.6.10)
Add CVE IDs PHP 5.6.12
Add CVE IDs PHP 5.6.13
Add CVE IDs PHP 5.6.14
Add CVE to bug #70976 (PHP 5.6.17)
Add CVE IDs PHP 5.6.18
Add CVE IDs PHP 5.6.20
Add CVE to bug #71912 (PHP 5.6.21)
2016-04-29 13:26:46 +03:00
Lior Kaplan
76a5117da7
Add CVE to bug #69719 (PHP 5.6.10)
2016-04-29 13:23:41 +03:00
Lior Kaplan
eeea33db68
Add CVE IDs PHP 5.6.12
2016-04-29 13:21:35 +03:00
Lior Kaplan
26f8ee48d6
Add CVE IDs PHP 5.6.13
2016-04-29 13:19:46 +03:00
Lior Kaplan
91fd5406bc
Add CVE IDs PHP 5.6.14
2016-04-29 13:17:34 +03:00
Lior Kaplan
34fc0ec377
Add CVE to bug #70976 (PHP 5.6.17)
2016-04-29 13:16:27 +03:00