#
ad4fa8f7 |
| 24-Sep-2015 |
Dmitry Stogov |
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P(). |
#
c72559dd |
| 22-Sep-2015 |
Dmitry Stogov |
Cleanup: removed deprecated commented code |
#
fff374fe |
| 07-Jul-2015 |
Xinchen Hui |
Merge branch 'PHP-5.6' Conflicts: ext/spl/spl_iterators.c
|
#
e41f6003 |
| 07-Jul-2015 |
Xinchen Hui |
Fixed bug #69970 (Use-after-free vulnerability in spl_recursive_it_move_forward_ex()) |
#
7ec1e174 |
| 06-Jul-2015 |
Aaron Piotrowski |
Update memory freeing and other issues, revert some changes |
#
907476f3 |
| 05-Jul-2015 |
Aaron Piotrowski |
Convert E_ERROR to thrown Error in extensions |
#
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). |
#
28d7bb97 |
| 23-Jun-2015 |
Rasmus Lerdorf |
Fix more proto comments |
#
fb346c8f |
| 16-Jun-2015 |
Nikita Popov |
Support references in convert_to_* conver_to_* functions now accept REFERENCE values, which will be unwrapped before performing the usual conversion. This is consistent with convert_
Support references in convert_to_* conver_to_* functions now accept REFERENCE values, which will be unwrapped before performing the usual conversion. This is consistent with convert_scalar_to_number and matches the expected behavior in a couple random use-sites I checked. Also includes a couple fixes/cleanups elsewhere and two tests for cases that previously didn't work (though the reference issue existed all over the place).
show more ...
|
#
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) |
#
5d3cf577 |
| 11-Jun-2015 |
Nikita Popov |
Make convert_to_* safe with rc>1 This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other
Make convert_to_* safe with rc>1 This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788.
show more ...
|
#
b4b872f4 |
| 15-Apr-2015 |
Nikita Popov |
Fix leak in RecursiveRegexIterator::getChildren() |
#
7605e02e |
| 15-Apr-2015 |
Nikita Popov |
Fix leaks in recursive iterator construction |
#
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 ...
|
#
86336856 |
| 12-Mar-2015 |
Dmitry Stogov |
Use specialized macro for string zval creation |
#
48deb1cd |
| 10-Mar-2015 |
Dmitry Stogov |
Free memory if destructor wasn't called |
#
4241a090 |
| 10-Feb-2015 |
Dmitry Stogov |
Avoid reallocation in preg_replace() if nothing was replaced |
#
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. |
#
3e31838d |
| 22-Jan-2015 |
Dmitry Stogov |
zend_read_property() has to provide a holder for return value. Previously it was possible that zend_read_property() returned pointer to zval allocated on stack. |
#
fc33f52d |
| 15-Jan-2015 |
Xinchen Hui |
bump year |
#
0579e827 |
| 15-Jan-2015 |
Xinchen Hui |
bump year |
#
8d26c53f |
| 15-Jan-2015 |
Stanislav Malyshev |
Fix bug #68816 - pointer to local outside of scope |
#
b7a7b1a6 |
| 03-Jan-2015 |
Stanislav Malyshev |
trailing whitespace removal |
#
bdeb220f |
| 13-Dec-2014 |
Anatol Belski |
first shot remove TSRMLS_* things |