History log of /php-src/ext/spl/spl_observer.c (Results 101 – 125 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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
# 03d18d9a 12-Jul-2015 Tjerk Meesters

Fixed #70053 MutlitpleIterator array-keys incompatible change in PHP 7

Revision tags: 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).

Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 28d7bb97 23-Jun-2015 Rasmus Lerdorf

Fix more proto comments

Revision tags: php-7.0.0alpha2
# 8e10e8f9 12-Jun-2015 Dmitry Stogov

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)

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
# d880ead8 29-Apr-2015 Dmitry Stogov

Improve fast_is_[not_]identical() functions to teturn value instead of takeing additional arguments.
Pair INSTANCEOF with the following JMPZ/JMPNZ.

Revision tags: php-5.5.25RC1
# 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 ...

Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 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 ...

Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 9420a2a5 14-Mar-2015 Xinchen Hui

Merge branch 'PHP-5.6'


# 96bb3b83 14-Mar-2015 Xinchen Hui

Merge branch 'PHP-5.5' into PHP-5.6


# 5b87d520 14-Mar-2015 Xinchen Hui

Fixed typo

# 326ac546 13-Mar-2015 Xinchen Hui

Remove TSRMLS

# e827d1a4 13-Mar-2015 Xinchen Hui

Merge branch 'PHP-5.6'

Conflicts:
ext/spl/spl_observer.c


# 396bc00c 13-Mar-2015 Xinchen Hui

Merge branch 'PHP-5.5' into PHP-5.6


# ed59370f 13-Mar-2015 Xinchen Hui

Little improvement, update NEWs, added test

# 2b42d719 13-Mar-2015 Dmitry Stogov

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (b

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h)
Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit).
HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.

show more ...

# 482500b4 13-Mar-2015 Vektah

Fix a leak

# 950d3d6e 13-Mar-2015 Vektah

Fix bug #69227 and #65967

This patch fixes a use (in zend_gc.c) after free (in spl_observer.c).
See https://bugs.php.net/bug.php?id=69227

# 86336856 12-Mar-2015 Dmitry Stogov

Use specialized macro for string zval creation

Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# aadf7366 25-Feb-2015 Xinchen Hui

Merge branch 'PHP-5.6'

Conflicts:
ext/spl/spl_observer.c


# 9641bac0 25-Feb-2015 Xinchen Hui

Merge branch 'PHP-5.5' into PHP-5.6


# ffdc5728 25-Feb-2015 Xinchen Hui

Fixed bug #69108 ("Segmentation fault" when (de)serializing SplObjectStorage)

Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# e10e151e 13-Feb-2015 Dmitry Stogov

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed t

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.

show more ...

Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 9e70d767 04-Feb-2015 Dmitry Stogov

Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.

12345678910