]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Thu, 31 Mar 2016 11:40:15 +0000 (12:40 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agofix #71609: Segmentation fault on ZTS with gethostbyname
Joe Watkins [Thu, 31 Mar 2016 11:39:01 +0000 (12:39 +0100)]
fix #71609: Segmentation fault on ZTS with gethostbyname

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 30 Mar 2016 23:38:22 +0000 (01:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix borked mainstream patch
  5.5.35 now

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 30 Mar 2016 23:36:47 +0000 (01:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix borked mainstream patch
  5.5.35 now

8 years agofix borked mainstream patch
Anatol Belski [Wed, 30 Mar 2016 23:33:38 +0000 (01:33 +0200)]
fix borked mainstream patch

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 30 Mar 2016 23:30:23 +0000 (01:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix test to not to cause false positives

8 years agofix test to not to cause false positives
Anatol Belski [Wed, 30 Mar 2016 23:29:05 +0000 (01:29 +0200)]
fix test to not to cause false positives

8 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 22:01:11 +0000 (01:01 +0300)]
Align NEWS entry format

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Wed, 30 Mar 2016 21:54:43 +0000 (00:54 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 21:52:53 +0000 (00:52 +0300)]
Align NEWS entry format

8 years agoFix bug #71334
Nikita Popov [Tue, 12 Jan 2016 15:31:58 +0000 (16:31 +0100)]
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.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:00 +0000 (22:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:28:28 +0000 (22:28 +0200)]
update NEWS

8 years agoFix __invoke comparison in closure_get_method
Nikita Popov [Wed, 30 Mar 2016 16:31:10 +0000 (18:31 +0200)]
Fix __invoke comparison in closure_get_method

It compared against the wrong variable. Fixed this by getting rid
of lc_name entirely and use equals_literal_ci instead.

8 years agoRemoved shmop test leaking an shm segment
Matteo Beccati [Wed, 30 Mar 2016 08:00:28 +0000 (10:00 +0200)]
Removed shmop test leaking an shm segment

8 years agoFixed bug #71922
Nikita Popov [Tue, 29 Mar 2016 17:29:19 +0000 (19:29 +0200)]
Fixed bug #71922

8 years ago5.5.35 now
Julien Pauli [Tue, 29 Mar 2016 16:11:03 +0000 (18:11 +0200)]
5.5.35 now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 12:20:30 +0000 (14:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 12:19:35 +0000 (14:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Tue, 29 Mar 2016 12:18:25 +0000 (14:18 +0200)]
fix dir separator in test

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 11:12:47 +0000 (13:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 11:11:17 +0000 (13:11 +0200)]
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

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Tue, 29 Mar 2016 10:34:58 +0000 (11:34 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agoremove unused param
Joe Watkins [Tue, 29 Mar 2016 10:34:18 +0000 (11:34 +0100)]
remove unused param

8 years agoupdate NEWS
Anatol Belski [Tue, 29 Mar 2016 10:05:36 +0000 (12:05 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Tue, 29 Mar 2016 10:02:00 +0000 (18:02 +0800)]
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 #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

8 years agoUpdate tests
Xinchen Hui [Tue, 29 Mar 2016 09:52:58 +0000 (17:52 +0800)]
Update tests

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 09:26:09 +0000 (11:26 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:

8 years agoMerge remote-tracking branch 'origin/PHP-7.0.5' into PHP-7.0
Anatol Belski [Tue, 29 Mar 2016 09:24:33 +0000 (11:24 +0200)]
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

8 years agoFixed bug #71914 (Reference is lost in "switch")
Xinchen Hui [Tue, 29 Mar 2016 09:14:36 +0000 (17:14 +0800)]
Fixed bug #71914 (Reference is lost in "switch")

8 years agofix bug #71428: Validation type inheritance with = NULL
Joe Watkins [Tue, 29 Mar 2016 08:57:51 +0000 (09:57 +0100)]
fix bug #71428: Validation type inheritance with = NULL

8 years agoBug #71428 work ... hopefully, fix drupal 8
Joe Watkins [Tue, 29 Mar 2016 08:36:08 +0000 (09:36 +0100)]
Bug #71428 work ... hopefully, fix drupal 8

8 years agoMerge branch 'PHP-5.5' into PHP-7.0.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:55:05 +0000 (23:55 -0700)]
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

8 years agoMerge remote-tracking branch 'security/PHP-7.0.5' into PHP-7.0.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:49:03 +0000 (23:49 -0700)]
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

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:45:15 +0000 (23:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability

8 years agoFixed bug #71704 php_snmp_error() Format String Vulnerability
Anatol Belski [Wed, 16 Mar 2016 08:48:40 +0000 (09:48 +0100)]
Fixed bug #71704 php_snmp_error() Format String Vulnerability

Conflicts:
ext/snmp/snmp.c

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:30:14 +0000 (23:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5.34' into PHP-5.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:29:45 +0000 (23:29 -0700)]
Merge branch 'PHP-5.5.34' into PHP-5.5

* PHP-5.5.34:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:21:15 +0000 (23:21 -0700)]
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

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoUpdated to version 2016.3 (2016c)
Derick Rethans [Thu, 24 Mar 2016 11:09:07 +0000 (11:09 +0000)]
Updated to version 2016.3 (2016c)

8 years agowork on #71428
Joe Watkins [Mon, 28 Mar 2016 10:54:25 +0000 (11:54 +0100)]
work on #71428

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoFix bug #71798 - Integer Overflow in php_raw_url_encode
Stanislav Malyshev [Sun, 27 Mar 2016 21:22:19 +0000 (14:22 -0700)]
Fix bug #71798 - Integer Overflow in php_raw_url_encode

8 years agofix #70189 (SAPI sends empty Content-Type when default_mimetype is empty)
Joe Watkins [Sun, 27 Mar 2016 05:50:11 +0000 (06:50 +0100)]
fix #70189 (SAPI sends empty Content-Type when default_mimetype is empty)

8 years agomy commits are bad, and I feel bad (test for bug #71414)
Joe Watkins [Sat, 26 Mar 2016 23:59:46 +0000 (23:59 +0000)]
my commits are bad, and I feel bad (test for bug #71414)

8 years agofix #71414 (Interface method override inherited method and implemented in a trait...
Joe Watkins [Sat, 26 Mar 2016 23:47:31 +0000 (23:47 +0000)]
fix #71414 (Interface method override inherited method and implemented in a trait causes fatal error)

8 years agoadd test for bug
Joe Watkins [Sat, 26 Mar 2016 11:08:19 +0000 (11:08 +0000)]
add test for bug

8 years agofix standard object handler for properties when type == BP_VAR_IS
Joe Watkins [Sat, 26 Mar 2016 10:43:56 +0000 (10:43 +0000)]
fix standard object handler for properties when type == BP_VAR_IS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 25 Mar 2016 19:23:04 +0000 (20:23 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/standard/crypt.c

8 years agoFixed bug #67512
Nikita Popov [Fri, 25 Mar 2016 19:18:46 +0000 (20:18 +0100)]
Fixed bug #67512

8 years agoFixed bug #71891 (header_register_callback() and register_shutdown_function())
Xinchen Hui [Fri, 25 Mar 2016 04:34:22 +0000 (12:34 +0800)]
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)

8 years agoUpdated to version 2016.3 (2016c)
Derick Rethans [Thu, 24 Mar 2016 11:09:07 +0000 (11:09 +0000)]
Updated to version 2016.3 (2016c)

8 years agoEmpty merge
Derick Rethans [Thu, 24 Mar 2016 11:09:06 +0000 (11:09 +0000)]
Empty merge

8 years agoUpdated to version 2016.3 (2016c)
Derick Rethans [Thu, 24 Mar 2016 11:09:05 +0000 (11:09 +0000)]
Updated to version 2016.3 (2016c)

8 years agoupdate NEWS
Anatol Belski [Wed, 23 Mar 2016 11:32:16 +0000 (12:32 +0100)]
update NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 23 Mar 2016 11:28:48 +0000 (12:28 +0100)]
update NEWS

8 years agoDisable huge pages in the Zend allocator by default
Rasmus Lerdorf [Tue, 22 Mar 2016 15:04:53 +0000 (08:04 -0700)]
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.

8 years agoAdded ability to disable huge pages in Zend Memeory Manager through the environment...
Dmitry Stogov [Thu, 17 Mar 2016 19:43:42 +0000 (22:43 +0300)]
Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.

8 years agoFixed Bug #71884 (Null pointer deref (segfault) in stream_context_get_default)
Xinchen Hui [Wed, 23 Mar 2016 08:16:26 +0000 (16:16 +0800)]
Fixed Bug #71884 (Null pointer deref (segfault) in stream_context_get_default)

8 years agoif there's no JIT support, no RINIT is really needed
Anatol Belski [Tue, 22 Mar 2016 20:41:35 +0000 (21:41 +0100)]
if there's no JIT support, no RINIT is really needed

8 years agoDisable huge pages in the Zend allocator by default
Rasmus Lerdorf [Tue, 22 Mar 2016 15:04:53 +0000 (08:04 -0700)]
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.

8 years agoUpdate test script
Xinchen Hui [Tue, 22 Mar 2016 03:28:19 +0000 (11:28 +0800)]
Update test script

8 years agoFixed bug #71871
Nikita Popov [Mon, 21 Mar 2016 21:49:18 +0000 (22:49 +0100)]
Fixed bug #71871

8 years agodecrease the default PCRE JIT stack to 64K
Anatol Belski [Mon, 21 Mar 2016 17:59:39 +0000 (18:59 +0100)]
decrease the default PCRE JIT stack to 64K

8 years agoIncrease PCRE JIT stack size
Anatol Belski [Mon, 21 Mar 2016 16:15:44 +0000 (17:15 +0100)]
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.

8 years agoUpdated NEWS
Julien Pauli [Mon, 21 Mar 2016 14:40:01 +0000 (15:40 +0100)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Mon, 21 Mar 2016 14:32:52 +0000 (15:32 +0100)]
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

8 years agoUpdated NEWS
Julien Pauli [Mon, 21 Mar 2016 14:26:21 +0000 (15:26 +0100)]
Updated NEWS

8 years agoReworked Fix bug #52098
Julien Pauli [Mon, 21 Mar 2016 14:23:18 +0000 (15:23 +0100)]
Reworked Fix bug #52098

8 years agoFix bug #52098
Daniel Persson [Sat, 26 Sep 2015 10:43:40 +0000 (12:43 +0200)]
Fix bug #52098

8 years agoarray_dup should not copy the nApplyCount
Xinchen Hui [Mon, 21 Mar 2016 11:19:05 +0000 (19:19 +0800)]
array_dup should not copy the nApplyCount

8 years agoAlso protects object to array cast
Xinchen Hui [Mon, 21 Mar 2016 11:12:50 +0000 (19:12 +0800)]
Also protects object to array cast

8 years agoUpdate NEWS
Xinchen Hui [Mon, 21 Mar 2016 08:44:30 +0000 (16:44 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Mon, 21 Mar 2016 08:43:55 +0000 (16:43 +0800)]
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

8 years agoUpdate NEWS for efacdc3
Xinchen Hui [Mon, 21 Mar 2016 08:43:30 +0000 (16:43 +0800)]
Update NEWS for efacdc3

8 years agoMerge branch 'PHP-5.6' of https://github.com/msierks/php-src into PHP-5.6
Xinchen Hui [Mon, 21 Mar 2016 08:39:22 +0000 (16:39 +0800)]
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

8 years agoMerge branch 'bug71835' of https://github.com/bukka/php-src into PHP-7.0
Xinchen Hui [Mon, 21 Mar 2016 08:03:16 +0000 (16:03 +0800)]
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)

8 years agoFix bug #71750: use zend_string_safe_alloc for calculated allocations
Stanislav Malyshev [Mon, 21 Mar 2016 05:39:17 +0000 (22:39 -0700)]
Fix bug #71750: use zend_string_safe_alloc for calculated allocations

8 years agoFix bug #71735: Double-free in SplDoublyLinkedList::offsetSet
Stanislav Malyshev [Mon, 21 Mar 2016 05:29:08 +0000 (22:29 -0700)]
Fix bug #71735: Double-free in SplDoublyLinkedList::offsetSet

8 years agoFix bug #71860: Require valid paths for phar filenames
Stanislav Malyshev [Mon, 21 Mar 2016 03:54:09 +0000 (20:54 -0700)]
Fix bug #71860: Require valid paths for phar filenames

8 years agoFix bug #71860: Require valid paths for phar filenames
Stanislav Malyshev [Mon, 21 Mar 2016 03:54:09 +0000 (20:54 -0700)]
Fix bug #71860: Require valid paths for phar filenames

8 years agoFixed bug #62059
Nikita Popov [Sun, 20 Mar 2016 17:17:44 +0000 (18:17 +0100)]
Fixed bug #62059

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sun, 20 Mar 2016 16:48:06 +0000 (17:48 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/spl/spl_observer.c

8 years agoFixed bug #67582
Nikita Popov [Sun, 20 Mar 2016 16:46:12 +0000 (17:46 +0100)]
Fixed bug #67582

8 years agoFix bug #71835 (json_encode sometimes incorrectly detects recursion with JsonSerializ...
Jakub Zelenka [Sun, 20 Mar 2016 15:53:57 +0000 (15:53 +0000)]
Fix bug #71835 (json_encode sometimes incorrectly detects recursion with JsonSerializable)

8 years agoFixed bug #71731
Nikita Popov [Sun, 20 Mar 2016 12:33:00 +0000 (13:33 +0100)]
Fixed bug #71731

The read_dimension() handler in BP_VAR_IS mode will now call
offsetExists() before caling offsetGet(). This has always been a
problem, however recently the issue has been exacerbated, because
the null-coalesce operator ?? makes it visible for non-nested
array accesses.

Also fixes #69659.

8 years agoFix use of UNDEF instead of NULL in read_dimension
Nikita Popov [Sun, 20 Mar 2016 11:58:58 +0000 (12:58 +0100)]
Fix use of UNDEF instead of NULL in read_dimension

8 years agoFixed Bug #71859 (zend_objects_store_call_destructors operates on realloced memory...
Xinchen Hui [Sun, 20 Mar 2016 11:52:57 +0000 (04:52 -0700)]
Fixed Bug #71859 (zend_objects_store_call_destructors operates on realloced memory, crashing)

8 years agoFixed bug #52339
Nikita Popov [Fri, 18 Mar 2016 19:26:24 +0000 (20:26 +0100)]
Fixed bug #52339

Autoloader 101: Don't throw if you fail. PHP will throw for you.

8 years agoAdd extra ArrayObject::sort() test
Nikita Popov [Fri, 18 Mar 2016 18:59:08 +0000 (19:59 +0100)]
Add extra ArrayObject::sort() test

8 years agoFix bug #71838
Nikita Popov [Fri, 18 Mar 2016 18:58:52 +0000 (19:58 +0100)]
Fix bug #71838

8 years agoFix ZEND_DEBUG condition
Nikita Popov [Fri, 18 Mar 2016 18:30:29 +0000 (19:30 +0100)]
Fix ZEND_DEBUG condition

8 years agoFIX #71831: CURLOPT_NOPROXY applied as long instead of string
Michael Sierks [Fri, 18 Mar 2016 12:29:01 +0000 (07:29 -0500)]
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.

8 years agotypo
Dmitry Stogov [Fri, 18 Mar 2016 07:27:46 +0000 (10:27 +0300)]
typo

8 years agotypo
Dmitry Stogov [Fri, 18 Mar 2016 07:25:48 +0000 (10:25 +0300)]
typo

8 years agoFixed pdo_stmt.c: zval* being passed into zend_parse_parameters_ex
Xinchen Hui [Fri, 18 Mar 2016 03:50:03 +0000 (11:50 +0800)]
Fixed pdo_stmt.c: zval* being passed into zend_parse_parameters_ex