History log of /php-src/ext/spl/spl_array.c (Results 201 – 225 of 520)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.6.13RC1
# 361fb5ba 19-Aug-2015 Christoph M. Becker

Merge branch 'PHP-5.6'

* PHP-5.6:
Fix #70303: Incorrect constructor reflection for ArrayObject


# 484b9291 19-Aug-2015 Christoph M. Becker

Fix #70303: Incorrect constructor reflection for ArrayObject

The first parameter of ArrayObject::__construct() is optional. Reflection
should reflect this.

Revision tags: php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# ed709d5a 04-Aug-2015 Stanislav Malyshev

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
update NEWS
fix test
update NEWS
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_*

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
update NEWS
fix test
update NEWS
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081: check types for SOAP variables

Conflicts:
ext/soap/php_http.c
ext/spl/spl_observer.c

show more ...


# 69ed3969 04-Aug-2015 Stanislav Malyshev

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081: check types for SOAP variables

Conflicts:
.gitignore
ext/date/php_date.c
ext/spl/spl_array.c
ext/spl/spl_observer.c

show more ...


# 7381b6ac 02-Aug-2015 Stanislav Malyshev

Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject

# b7fa6774 27-Jul-2015 Stanislav Malyshev

Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)

# feeb2fba 05-Aug-2015 Stanislav Malyshev

fix merge

# 3e416bba 04-Aug-2015 Stanislav Malyshev

fix merge

# 97047e76 04-Aug-2015 Stanislav Malyshev

Merge branch 'PHP-5.6'

* PHP-5.6:
update NEWS
fix test
update NEWS
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unseriali

Merge branch 'PHP-5.6'

* PHP-5.6:
update NEWS
fix test
update NEWS
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081: check types for SOAP variables

Conflicts:
Zend/zend_exceptions.c
ext/date/php_date.c
ext/openssl/openssl.c
ext/phar/phar_internal.h
ext/soap/php_http.c
ext/spl/spl_array.c
ext/spl/spl_dllist.c
ext/spl/spl_observer.c
ext/standard/tests/serialize/bug69152.phpt
sapi/cli/tests/005.phpt

show more ...


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 53403fe5 30-Jun-2015 Dmitry Stogov

Get rid of ZVAL_ZVAL() macro usages. Replace them with more clear and optimal equialent sequences.

# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).

# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...

Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# 6ae375db 16-Jun-2015 Dmitry Stogov

Fixed bug #69845 (ArrayObject with ARRAY_AS_PROPS broken)

Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 4e03ba4a 16-Apr-2015 Nikita Popov

Add GC support for ArrayObject

gc_024 test changes because the array that ArrayObject holds is
now counted separately from the ArrayObject.

# e0a39eec 25-Apr-2015 Nikita Popov

Respect USE_OTHER in spl_array_is_object

Also a bit of code cleanup in get_hash_table.

# 66ce7cc0 25-Apr-2015 Nikita Popov

Don't store $this reference for IS_SELF AO

The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
stor

Don't store $this reference for IS_SELF AO

The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
storage.

show more ...

# 3140d0c0 24-Apr-2015 Nikita Popov

Drop ArrayObject IS_REF flag

# 6c98024f 16-Apr-2015 Nikita Popov

Drop unused is_self member

# dc764bf6 15-Apr-2015 Nikita Popov

Use object apply count in var_dump / print_r

Instead of using the array apply count on the debug_info array, use
the object apply count for recursion detection when dumping. This
han

Use object apply count in var_dump / print_r

Instead of using the array apply count on the debug_info array, use
the object apply count for recursion detection when dumping. This
handles recursion in a more generic way and does not require each
debug_info handler to deal with this.

This allows returning a temporary debug_info array, instead of
having to store it in the object (thus delaying destruction of the
values).

Switch SPL debug_info handlers to use a temporary array.

show more ...

# eed18f0e 15-Apr-2015 Nikita Popov

Return null on zpp failure in Array::exchangeArray()

Method was still returning a value despite zpp failing previously...

# e10be0d0 15-Apr-2015 Nikita Popov

Remove unnecessary retval members in SPL

This is what the rv params are for. Avoid holding onto values
longer than necessary.

Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 2b6a568d 09-Apr-2015 Dmitry Stogov

Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array wa

Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array was modified outside object and internal position is no longer valid" hack.

show more ...

# f23f7dfe 08-Apr-2015 Xinchen Hui

Use new macros

# 122d7596 02-Apr-2015 Nikita Popov

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.

Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.

Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.

show more ...

# dcaa7954 03-Apr-2015 Dmitry Stogov

Don't relay on reference-counter when parameter expected to be a reference, but value given.

12345678910>>...21