History log of /PHP-8.4/ext/xml/xml.c (Results 101 – 125 of 367)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1
# 5e9b4c26 21-Nov-2016 Anatol Belski

remove TSRMLS_*


Revision tags: php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27
# 1a512eed 13-Oct-2016 Andrea Faulds

Move utf8_encode and utf8_decode to ext/standard


Revision tags: php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# 19866fb7 02-Sep-2016 Stanislav Malyshev

Fix various int size overflows.

Add function for detection of string zvals with length that does not fit
INT_MAX.


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 52793c14 20-Aug-2016 Christoph M. Becker

Improvements to fix #72714, suggested by nikic


Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10
# 9164dc11 16-Aug-2016 Christoph M. Becker

Fix #72714: _xml_startElementHandler() segmentation fault

The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffse

Fix #72714: _xml_startElementHandler() segmentation fault

The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.

However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.

show more ...


# f3231a7c 17-Aug-2016 Xinchen Hui

Unused var


# 1bb92d52 16-Aug-2016 Christoph M. Becker

#72085: SEGV on unknown address zif_xml_parse

We better make sure that the ZVALs we're accessing as arrays are indeed
arrays.


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# 0ac51448 28-Jun-2016 Stanislav Malyshev

Fix bug #72099: xml_parse_into_struct segmentation fault


# adc95c51 23-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# 8c41df54 14-Jun-2016 Xinchen Hui

Unused var


Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# 4a42fbbb 14-May-2016 Joe Watkins

fix #72206 (xml_parser_create/xml_parser_free leaks mem)


# b1651140 14-May-2016 Joe Watkins

fix #72206 (xml_parser_create/xml_parser_free leaks mem)


Revision tags: php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35
# f0a2e8eb 27-Apr-2016 Dmitry Stogov

Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.


# dccda88f 25-Apr-2016 Stanislav Malyshev

Fix bug #72099: xml_parse_into_struct segmentation fault


Revision tags: php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1
# 1ac15293 03-Mar-2016 Nikita Popov

Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE

Also re bug #71575.


Revision tags: php-5.6.19
# c67c166f 02-Mar-2016 Dmitry Stogov

Removed zend_fcall_info.symbol_table


Revision tags: php-5.5.33, php-7.0.4
# 9cabc99f 22-Feb-2016 Stanislav Malyshev

Fix bug #71637: Multiple Heap Overflow due to integer overflows


# 57b997eb 22-Feb-2016 Stanislav Malyshev

Fix bug #71637: Multiple Heap Overflow due to integer overflows


Revision tags: php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32
# 93dc91b3 30-Jan-2016 Nikita Popov

Remove version checks

PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2

I've left litespeed alone, as it seems to

Remove version checks

PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2

I've left litespeed alone, as it seems to genuinely maintain support
for many PHP versions.

show more ...


Revision tags: php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1
# 4171a8f6 13-Dec-2015 Xinchen Hui

Internal function argumensts cleanup (strict_types)


# fc2cedfb 10-Dec-2015 Nikita Popov

Make 2nd arg of xml_set_object by value

The argument is not being modified. Probably holdover from PHP 4
days.


Revision tags: php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 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, php-7.0.0alpha2, 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, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1
# 663074b6 23-Mar-2015 Anatol Belski

cleanup mod version macros and mod defs, round x


12345678910>>...15