]> granicus.if.org Git - php/log
php
8 years agoRevert "Fixed bug #72170 (JsonSerializable may inc apply count without dec it)"
Xinchen Hui [Fri, 6 May 2016 12:25:24 +0000 (20:25 +0800)]
Revert "Fixed bug #72170 (JsonSerializable may inc apply count without dec it)"

This reverts commit 459a7cc209da130256d66c1f896199540f4dadbc.

8 years agoFixed bug #72170 (JsonSerializable may inc apply count without dec it)
Xinchen Hui [Fri, 6 May 2016 10:38:26 +0000 (18:38 +0800)]
Fixed bug #72170 (JsonSerializable may inc apply count without dec it)

I don't want use zend_try here, but seems I have no choice :<

8 years agoupdate NEWS
Anatol Belski [Fri, 6 May 2016 07:41:21 +0000 (09:41 +0200)]
update NEWS

8 years agoreorder entry alphabetically
Anatol Belski [Fri, 6 May 2016 07:39:02 +0000 (09:39 +0200)]
reorder entry alphabetically

8 years agoRe-fix #72165
Anatol Belski [Fri, 6 May 2016 07:30:41 +0000 (09:30 +0200)]
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

8 years agoRevert "Fixed bug #72165 Null pointer dereference - openssl_csr_new"
Anatol Belski [Fri, 6 May 2016 07:19:04 +0000 (09:19 +0200)]
Revert "Fixed bug #72165 Null pointer dereference - openssl_csr_new"

This reverts commit 7277c85765d1053c8cd1d1093902df541b3d101a.

8 years agoFixed bug #72165 Null pointer dereference - openssl_csr_new
Anatol Belski [Fri, 6 May 2016 07:00:58 +0000 (09:00 +0200)]
Fixed bug #72165 Null pointer dereference - openssl_csr_new

8 years agoFixed test
Xinchen Hui [Fri, 6 May 2016 02:51:38 +0000 (10:51 +0800)]
Fixed test

8 years agoRevert "Fix bug #72162 (again)"
Xinchen Hui [Fri, 6 May 2016 02:45:44 +0000 (10:45 +0800)]
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 8e5b38100411d3b8fa4486c7c41dec7dedb4b474.

8 years agoFix bug #72162 (again)
Nikita Popov [Thu, 5 May 2016 15:28:52 +0000 (17:28 +0200)]
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.

8 years agoFixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)
Xinchen Hui [Thu, 5 May 2016 09:27:34 +0000 (17:27 +0800)]
Fixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)

8 years agoFixed bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite)
Xinchen Hui [Thu, 5 May 2016 07:18:17 +0000 (15:18 +0800)]
Fixed bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite)

8 years agoFixed bug #72157 (use-after-free caused by dba_open)
Xinchen Hui [Thu, 5 May 2016 03:12:17 +0000 (11:12 +0800)]
Fixed bug #72157 (use-after-free caused by dba_open)

8 years agoFixed bug #72162 (use-after-free - error_reporting)
Xinchen Hui [Thu, 5 May 2016 03:02:21 +0000 (11:02 +0800)]
Fixed bug #72162 (use-after-free - error_reporting)

8 years agoFix JMPZ, JMPZNZ_EX chain optimization
Nikita Popov [Wed, 4 May 2016 21:52:42 +0000 (23:52 +0200)]
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

8 years agoFix bug #72159
Nikita Popov [Wed, 4 May 2016 16:42:16 +0000 (18:42 +0200)]
Fix bug #72159

8 years agofix NEWS, patch for #71428 was reverted
Anatol Belski [Wed, 4 May 2016 16:14:11 +0000 (18:14 +0200)]
fix NEWS, patch for #71428 was reverted

8 years agocorrect wording
Joe Watkins [Wed, 4 May 2016 16:04:38 +0000 (17:04 +0100)]
correct wording

8 years agoadd compiler option to disable builtins (special case function calls)
Joe Watkins [Wed, 4 May 2016 09:53:59 +0000 (10:53 +0100)]
add compiler option to disable builtins (special case function calls)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 3 May 2016 17:10:40 +0000 (19:10 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test fo rbug 71805

8 years agoadd test fo rbug 71805
Anatol Belski [Tue, 3 May 2016 17:09:11 +0000 (19:09 +0200)]
add test fo rbug 71805

8 years agoupdate libs versions
Anatol Belski [Tue, 3 May 2016 16:27:21 +0000 (18:27 +0200)]
update libs versions

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 3 May 2016 16:27:03 +0000 (18:27 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  upate libs versions

8 years agoupate libs versions
Anatol Belski [Tue, 3 May 2016 16:24:35 +0000 (18:24 +0200)]
upate libs versions

8 years agoFix leaks in QM_ASSIGN, JMP_SET and COALESCE
Nikita Popov [Tue, 3 May 2016 16:12:56 +0000 (18:12 +0200)]
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.

8 years agoMark fcc as initialized for object calls
Bob Weinand [Tue, 3 May 2016 00:07:06 +0000 (02:07 +0200)]
Mark fcc as initialized for object calls

This results in 1% speedup (cycle count) on some real world applications

8 years agoFix leak in zend_get_constant_ex
Nikita Popov [Mon, 2 May 2016 17:58:56 +0000 (19:58 +0200)]
Fix leak in zend_get_constant_ex

8 years agoAdded NEWS entry for socket_export_stream()
Bob Weinand [Mon, 2 May 2016 15:11:26 +0000 (17:11 +0200)]
Added NEWS entry for socket_export_stream()

Closes pull request https://github.com/php/php-src/pull/762

8 years agoImplement socket_export_stream()
Chris Wright [Wed, 6 Aug 2014 15:22:56 +0000 (16:22 +0100)]
Implement socket_export_stream()

8 years agoDrop dup declare with inconsistent linkage
Nikita Popov [Mon, 2 May 2016 09:56:28 +0000 (11:56 +0200)]
Drop dup declare with inconsistent linkage

This is already declared in zend_stream.h as ZEND_API.

8 years agofix test if unlink fails occasionally
Anatol Belski [Sun, 1 May 2016 17:25:39 +0000 (19:25 +0200)]
fix test if unlink fails occasionally

8 years agofix dir separator in test
Anatol Belski [Sun, 1 May 2016 17:05:02 +0000 (19:05 +0200)]
fix dir separator in test

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Sun, 1 May 2016 11:23:35 +0000 (13:23 +0200)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sun, 1 May 2016 11:19:48 +0000 (13:19 +0200)]
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

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Sun, 1 May 2016 11:18:24 +0000 (13:18 +0200)]
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

8 years agoUpdate PHP 5.5 NEWS entries with CVE info
Lior Kaplan [Sun, 1 May 2016 11:14:57 +0000 (13:14 +0200)]
Update PHP 5.5 NEWS entries with CVE info

8 years agoFix posix build
Nikita Popov [Sun, 1 May 2016 11:07:01 +0000 (13:07 +0200)]
Fix posix build

8 years agoFix ('\bar')() in namespace
Nikita Popov [Sun, 1 May 2016 11:04:08 +0000 (13:04 +0200)]
Fix ('\bar')() in namespace

8 years agoFixed bug #72133 (php_posix_group_to_array crashes if gr_passwd is NULL)
Xinchen Hui [Sun, 1 May 2016 03:00:41 +0000 (11:00 +0800)]
Fixed bug #72133 (php_posix_group_to_array crashes if gr_passwd is NULL)

8 years agoCreate temporary sqlite db in test dir rather than cwd (and clean it up)
Sara Golemon [Sat, 30 Apr 2016 06:02:01 +0000 (06:02 +0000)]
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.

8 years agofix test
Anatol Belski [Fri, 29 Apr 2016 12:30:19 +0000 (14:30 +0200)]
fix test

8 years agoExpose some of the new curl constants to PHP userspace
Pierrick Charron [Wed, 27 Apr 2016 22:43:41 +0000 (18:43 -0400)]
Expose some of the new curl constants to PHP userspace

8 years agoAdd CVE IDs PHP 7.0.0
Lior Kaplan [Fri, 29 Apr 2016 10:41:29 +0000 (13:41 +0300)]
Add CVE IDs PHP 7.0.0

8 years agoAdd CVE IDs PHP 7.0.2
Lior Kaplan [Fri, 29 Apr 2016 10:40:44 +0000 (13:40 +0300)]
Add CVE IDs PHP 7.0.2

8 years agoAdd CVE IDs PHP 7.0.3
Lior Kaplan [Fri, 29 Apr 2016 10:40:07 +0000 (13:40 +0300)]
Add CVE IDs PHP 7.0.3

8 years agoAdd CVE IDs PHP 7.0.4
Lior Kaplan [Fri, 29 Apr 2016 10:39:03 +0000 (13:39 +0300)]
Add CVE IDs PHP 7.0.4

8 years agoAdd CVE IDs PHP 7.0.5
Lior Kaplan [Fri, 29 Apr 2016 10:38:25 +0000 (13:38 +0300)]
Add CVE IDs PHP 7.0.5

8 years agoAdd CVE to bug #71912 (PHP 7.0.6)
Lior Kaplan [Fri, 29 Apr 2016 10:36:24 +0000 (13:36 +0300)]
Add CVE to bug #71912 (PHP 7.0.6)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Fri, 29 Apr 2016 10:26:46 +0000 (13:26 +0300)]
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)

8 years agoAdd CVE to bug #69719 (PHP 5.6.10)
Lior Kaplan [Fri, 29 Apr 2016 10:23:41 +0000 (13:23 +0300)]
Add CVE to bug #69719 (PHP 5.6.10)

8 years agoAdd CVE IDs PHP 5.6.12
Lior Kaplan [Fri, 29 Apr 2016 10:21:35 +0000 (13:21 +0300)]
Add CVE IDs PHP 5.6.12

8 years agoAdd CVE IDs PHP 5.6.13
Lior Kaplan [Fri, 29 Apr 2016 10:19:46 +0000 (13:19 +0300)]
Add CVE IDs PHP 5.6.13

8 years agoAdd CVE IDs PHP 5.6.14
Lior Kaplan [Fri, 29 Apr 2016 10:17:34 +0000 (13:17 +0300)]
Add CVE IDs PHP 5.6.14

8 years agoAdd CVE to bug #70976 (PHP 5.6.17)
Lior Kaplan [Fri, 29 Apr 2016 10:16:27 +0000 (13:16 +0300)]
Add CVE to bug #70976 (PHP 5.6.17)

8 years agoAdd CVE IDs PHP 5.6.18
Lior Kaplan [Fri, 29 Apr 2016 10:15:30 +0000 (13:15 +0300)]
Add CVE IDs PHP 5.6.18

8 years agoAdd CVE IDs PHP 5.6.20
Lior Kaplan [Fri, 29 Apr 2016 10:11:54 +0000 (13:11 +0300)]
Add CVE IDs PHP 5.6.20

8 years agoAdd CVE to bug #71912 (PHP 5.6.21)
Lior Kaplan [Fri, 29 Apr 2016 10:10:13 +0000 (13:10 +0300)]
Add CVE to bug #71912 (PHP 5.6.21)

8 years agofix size_t signed comparison
Joe Watkins [Fri, 29 Apr 2016 09:19:55 +0000 (10:19 +0100)]
fix size_t signed comparison

8 years agoAdded CVE
Julien Pauli [Fri, 29 Apr 2016 07:12:27 +0000 (09:12 +0200)]
Added CVE

8 years agoFixed build
Xinchen Hui [Fri, 29 Apr 2016 03:13:15 +0000 (11:13 +0800)]
Fixed build

8 years agoAdd NEWS entry for bug #71331 (fixed in 7.0.3)
Lior Kaplan [Thu, 28 Apr 2016 18:12:27 +0000 (21:12 +0300)]
Add NEWS entry for bug #71331 (fixed in 7.0.3)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Thu, 28 Apr 2016 18:12:00 +0000 (21:12 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add NEWS entry for bug #71331 (fixed in PHP 5.6.18)

8 years agoAdd NEWS entry for bug #71331 (fixed in PHP 5.6.18)
Lior Kaplan [Thu, 28 Apr 2016 17:46:29 +0000 (20:46 +0300)]
Add NEWS entry for bug #71331 (fixed in PHP 5.6.18)

8 years agoupdate NEWS
Anatol Belski [Thu, 28 Apr 2016 17:46:15 +0000 (19:46 +0200)]
update NEWS

8 years agoAdded test
Dmitry Stogov [Thu, 28 Apr 2016 17:12:42 +0000 (20:12 +0300)]
Added test

8 years agoFixed BC break described by bug #72119.
Dmitry Stogov [Thu, 28 Apr 2016 16:56:10 +0000 (19:56 +0300)]
Fixed BC break described by bug #72119.
It was introduced after 7.0.5 release by attempt to fix bug #71428.

8 years agosimplify expression
Joe Watkins [Thu, 28 Apr 2016 14:52:30 +0000 (15:52 +0100)]
simplify expression

8 years agosimplify expression
Joe Watkins [Thu, 28 Apr 2016 14:50:27 +0000 (15:50 +0100)]
simplify expression

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Thu, 28 Apr 2016 14:41:23 +0000 (15:41 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agovariable used out of scope
Joe Watkins [Thu, 28 Apr 2016 14:40:28 +0000 (15:40 +0100)]
variable used out of scope

8 years agoFixed bug #72116 (7.0.6 array_fill optimization breaks implementation)
Bob Weinand [Thu, 28 Apr 2016 09:02:47 +0000 (11:02 +0200)]
Fixed bug #72116 (7.0.6 array_fill optimization breaks implementation)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 28 Apr 2016 00:37:01 +0000 (02:37 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  small whitespace fix

8 years agosmall whitespace fix
Ferenc Kovacs [Thu, 28 Apr 2016 00:32:45 +0000 (02:32 +0200)]
small whitespace fix

8 years agoupdate NEWS
Anatol Belski [Wed, 27 Apr 2016 16:58:28 +0000 (18:58 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 27 Apr 2016 12:56:35 +0000 (14:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 27 Apr 2016 12:56:08 +0000 (14:56 +0200)]
update NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 27 Apr 2016 12:50:46 +0000 (14:50 +0200)]
update NEWS

8 years agoUse zend_string_safe_alloc
Xinchen Hui [Wed, 27 Apr 2016 12:29:11 +0000 (20:29 +0800)]
Use zend_string_safe_alloc

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 27 Apr 2016 11:19:29 +0000 (13:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix/improve tests

8 years agofix/improve tests
Anatol Belski [Wed, 27 Apr 2016 11:16:57 +0000 (13:16 +0200)]
fix/improve tests

8 years agofix merge
Anatol Belski [Wed, 27 Apr 2016 10:24:28 +0000 (12:24 +0200)]
fix merge

8 years agoUpdated NEWS
Julien Pauli [Wed, 27 Apr 2016 09:55:05 +0000 (11:55 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 27 Apr 2016 09:45:29 +0000 (11:45 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix memory leak
  Fix bug #72099: xml_parse_into_struct segmentation fault
  5.5.36 now
  Fix bug #72094 - Out of bounds heap read access in exif header processing
  Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition
  Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset
  Fix for bug #71912 (libgd: signedness vulnerability)
  Typo in NEWS

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Wed, 27 Apr 2016 06:48:41 +0000 (23:48 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix memory leak
  Fix bug #72099: xml_parse_into_struct segmentation fault
  5.5.36 now
  Fix bug #72094 - Out of bounds heap read access in exif header processing
  Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition
  Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset
  Fix for bug #71912 (libgd: signedness vulnerability)
  Typo in NEWS

Conflicts:
configure.in
main/php_version.h

8 years agofix build
Stanislav Malyshev [Wed, 27 Apr 2016 06:04:29 +0000 (23:04 -0700)]
fix build

8 years agoFix bug #71923 - integer overflow in ZipArchive::getFrom*
Stanislav Malyshev [Wed, 20 Apr 2016 06:49:22 +0000 (23:49 -0700)]
Fix bug #71923 - integer overflow in ZipArchive::getFrom*

8 years agoFix memory leak
Stanislav Malyshev [Wed, 27 Apr 2016 05:54:58 +0000 (22:54 -0700)]
Fix memory leak

8 years agoFix bug #72099: xml_parse_into_struct segmentation fault
Stanislav Malyshev [Mon, 25 Apr 2016 06:50:57 +0000 (23:50 -0700)]
Fix bug #72099: xml_parse_into_struct segmentation fault

8 years agoUse zend_string_safe_alloc
Xinchen Hui [Wed, 27 Apr 2016 04:23:51 +0000 (12:23 +0800)]
Use zend_string_safe_alloc

8 years ago5.5.36 now
Julien Pauli [Tue, 26 Apr 2016 20:34:00 +0000 (22:34 +0200)]
5.5.36 now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Tue, 26 Apr 2016 10:44:52 +0000 (13:44 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed test on 32-bit platforms (split into 32-bit and 64-bit versions)

8 years agoFixed test on 32-bit platforms (split into 32-bit and 64-bit versions)
Dmitry Stogov [Tue, 26 Apr 2016 10:43:18 +0000 (13:43 +0300)]
Fixed test on 32-bit platforms (split into 32-bit and 64-bit versions)

8 years agoFixed bug #72100 (implode() inserts garbage into resulting string when joins very...
Dmitry Stogov [Tue, 26 Apr 2016 10:04:06 +0000 (13:04 +0300)]
Fixed bug #72100 (implode() inserts garbage into resulting string when joins very big integer). (Mikhail Galanin)

8 years agoFixed bug #72101 (crash on complex code)
Dmitry Stogov [Mon, 25 Apr 2016 11:11:46 +0000 (14:11 +0300)]
Fixed bug #72101 (crash on complex code)

8 years agoFix bug #72094 - Out of bounds heap read access in exif header processing
Stanislav Malyshev [Mon, 25 Apr 2016 02:33:52 +0000 (19:33 -0700)]
Fix bug #72094 - Out of bounds heap read access in exif header processing

8 years agoFix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition
Stanislav Malyshev [Mon, 25 Apr 2016 01:33:32 +0000 (18:33 -0700)]
Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition

We can not modify result since it can be copy of _zero_ or _one_, etc. and
"copy" in bcmath is just bumping the refcount.

8 years agoFix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset
Stanislav Malyshev [Sun, 24 Apr 2016 19:49:01 +0000 (12:49 -0700)]
Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset

8 years agoFixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE)
Pierrick Charron [Sun, 24 Apr 2016 02:55:00 +0000 (22:55 -0400)]
Fixed bug #68658 (Define CURLE_SSL_CACERT_BADFILE)

8 years agoFix cURL test to use local server instead of google
Pierrick Charron [Sat, 23 Apr 2016 22:37:55 +0000 (18:37 -0400)]
Fix cURL test to use local server instead of google

8 years agoFixed bug #72035 php-cgi.exe fails to run scripts relative to drive root
Anatol Belski [Thu, 21 Apr 2016 19:17:33 +0000 (21:17 +0200)]
Fixed bug #72035 php-cgi.exe fails to run scripts relative to drive root