summaryrefslogtreecommitdiff
path: root/ext/xmlrpc/xmlrpc-epi-php.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2018-10-211-0/+12
|\ | | | | | | | | * PHP-7.2: Fix #75282: xmlrpc_encode_request() crashes
| * Fix #75282: xmlrpc_encode_request() crashesChristoph M. Becker2018-10-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | Since we allow ext/xmlrpc to be built against a system libxmlrpc(-epi), we must not `efree` memory which has been allocated via `malloc`. To distinguish bundled and system libxmlrpc(-epi) we introduce the macro `HAVE_XMLRPC_BUNDLED` (analogous to how it is done by ext/gd). We deliberately keep the ugly `#ifdef`s, instead of tucking them away in an `XMLRPC_FREE()` macro, to not forget that it is a bad idea to fork and bundle a library, but to also allow building against an unpatched system lib.
| * Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * year++Xinchen Hui2018-01-021-1/+1
| |
* | Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | Use variables that already received ZEND_NUM_ARGS()Gabriel Caruso2018-07-221-2/+1
| |
* | Remove sqlite and xmlrpc extension versions from phpinfo outputPeter Kokot2018-07-031-1/+0
| | | | | | | | | | The rest of the core extensions don't display the extension versions in the phpinfo output since they in most cases match the PHP release version.
* | Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-011-4/+4
| |
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-2/+2
| | | | | | | | where we sure about string persistence.
* | More effecient conversionDmitry Stogov2018-01-171-5/+3
| |
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| |
* | RC manipulation cleanup 2Xinchen Hui2017-11-021-6/+2
| |
* | Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-2/+2
| | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* | Always use IS_CONSTANT_AST (IS_CONSTANT is removed).Dmitry Stogov2017-10-101-3/+0
| |
* | Refactored recursion pretectionDmitry Stogov2017-10-061-10/+9
|/
* Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-08-021-2/+2
|\
| * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-08-021-2/+2
| |\
| | * Bug #74975: Different serialization for classesAndreas Treichel2017-08-021-2/+2
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| | * Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array ↵Xinchen Hui2016-07-221-0/+1
| | | | | | | | | | | | elements)
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | further normalizations, uint vs uint32_tAnatol Belski2016-11-261-1/+1
| | | | | | | | | | | | | | | | | | fix merge mistake yet one more replacement run
* | | Implement #72612 (libxmlrc uses system malloc instead of PHP alloc routines)Joe Watkins2016-10-191-3/+3
|/ /
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-07-221-0/+1
|\ \ | | | | | | | | | | | | * PHP-7.0: Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array elements)
| * | Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing array ↵Xinchen Hui2016-07-221-0/+1
| |/ | | | | | | elements)
* | Merge branch 'throw-error-in-extensions'Aaron Piotrowski2016-07-051-1/+1
|\ \
| * | Replace zend_ce_error with NULL and replace more E_ERROR with thrown ErrorAaron Piotrowski2016-06-131-2/+1
| | |
| * | Merge branch 'master' into throw-error-in-extensionsAaron Piotrowski2016-06-101-41/+50
| |\ \ | | |/
| * | Convert E_ERROR to thrown Error in extensionsAaron Piotrowski2015-07-051-1/+2
| | |
* | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-1/+1
| |/ |/| | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* | Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)Xinchen Hui2016-05-311-1/+1
| |
* | Revert "fix #72155 (use-after-free caused by get_zval_xmlrpc_type)"Xinchen Hui2016-05-311-2/+2
| | | | | | | | This reverts commit 1690dcb827e2b50eb575b1c6acadab0b8f248723.
* | fix #72155 (use-after-free caused by get_zval_xmlrpc_type)Joe Watkins2016-05-301-2/+2
| |
* | Fix bug #71501Hieu Le2016-02-041-35/+36
| |
* | fix merge mistakeAnatol Belski2016-01-041-1/+1
| |
* | Fixed #70728Julien Pauli2016-01-041-2/+10
| | | | | | | | | | Conflicts: ext/xmlrpc/xmlrpc-epi-php.c
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | Fixed bug #70526 (xmlrpc_set_type returns false on success)Xinchen Hui2015-09-191-2/+2
| |/ |/|
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-7/+7
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-1/+1
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-4/+2
| |
* | Cleanup resource handling APIsXinchen Hui2015-02-021-12/+20
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-38/+38
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-42/+38
| |
* | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+4
| | | | | | | | for better comparability with the mainstream