summaryrefslogtreecommitdiff
path: root/ext/intl
Commit message (Collapse)AuthorAgeFilesLines
* Fix #73956 Link use CC instead of CXXRemi Collet2017-01-181-1/+1
|
* Fixed bad mergeDmitry Stogov2016-12-011-3/+3
|
* Merge branch 'PHP-5.6' into PHP-7.0Dmitry Stogov2016-12-011-3/+3
|\ | | | | | | | | | | * PHP-5.6: Workaround for GCC-4.9.2 bug oops, changed in wrong place
| * oops, changed in wrong placeStanislav Malyshev2016-11-271-3/+3
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-11-272-50/+56
|\ \ | |/ | | | | | | * PHP-5.6: Fix #68447: grapheme_extract take an extra trailing character
| * Merge branch 'pull-request/1974' into PHP-5.6Stanislav Malyshev2016-11-272-53/+60
| |\ | | | | | | | | | | | | * pull-request/1974: Fix #68447: grapheme_extract take an extra trailing character
| | * Fix #68447: grapheme_extract take an extra trailing characterSATO Kentaro2016-07-012-49/+56
| | | | | | | | | | | | | | | | | | | | | grapheme_extract() converts UTF-8 string in the argument to UTF-16 to iterate through graphemes, and count each UTF-16 character as one Unicode character, which is not correct for UTF-16 surrogate pairs. The patch removes the conversion and counts UTF-8 directly if needed.
| * | More string length checks & fixesStanislav Malyshev2016-11-034-5/+12
| | |
* | | remove TSRMLS_*Anatol Belski2016-11-211-1/+1
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-11-033-2/+9
|\ \ \ | | | | | | | | | | | | | | | | * PHP-5.6: More string length checks & fixes
| * | | More string length checks & fixesStanislav Malyshev2016-11-034-5/+12
| |/ /
| * | Fix testsStanislav Malyshev2016-10-111-3/+1
| | |
| * | Bug #73218: add mitigation for ICU int overflowStanislav Malyshev2016-10-041-15/+27
| | |
| * | Add more locale length checks, due to ICU bugs.Stanislav Malyshev2016-10-041-0/+8
| | |
| * | Fix bug #73007: add locale length checkStanislav Malyshev2016-09-121-0/+2
| | |
* | | make config.w32 compatible with ICU 58Anatol Belski2016-10-261-1/+10
| | |
* | | update len in fallback casesAnatol Belski2016-10-121-0/+5
| | |
* | | fix testAnatol Belski2016-10-121-3/+1
| | |
* | | avoid strlenAnatol Belski2016-10-121-5/+5
| | |
* | | Bug #73218: add mitigation for ICU int overflowStanislav Malyshev2016-10-121-0/+12
| | | | | | | | | | | | (cherry picked from commit d946d102936525bc7dcd01f3827d0a6e0bb971b0)
* | | Add more locale length checks, due to ICU bugs.Stanislav Malyshev2016-10-121-0/+8
| | | | | | | | | | | | (cherry picked from commit d3eb58332af433982f1e2ae9095fb087974a95f2)
* | | Fix bug #73007: add locale length checkStanislav Malyshev2016-09-121-0/+2
| | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 9e07089626f373d0e7b24b7aeb8b8459aae5f5f8) Conflicts: ext/intl/msgformat/msgformat_format.c
* | | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-291-4/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: fix double free
| * | fix double freeAnatol Belski2016-08-291-4/+3
| | |
* | | fix double freeAnatol Belski2016-08-291-1/+1
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-08-202-1/+20
|\ \ \ | |/ /
| * | Fix #65732: grapheme_*() is not Unicode compliant on CR LF sequenceChristoph M. Becker2016-08-202-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | According to the Unicode specification (at least as of 5.1), CRLF sequences are considered to be a single grapheme. We cater to that special case by letting grapheme_ascii_check() fail. While it would be trivial to fix grapheme_ascii_check() wrt. grapheme_strlen(), grapheme_substr() and grapheme_strrpos() would be much harder to handle, so we accept the slight performance penalty if CRLF is involved.
* | | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-07-241-1/+1
|\ \ \ | |/ /
| * | More tolerance in another IntlCalendar testNikita Popov2016-07-241-1/+1
| | | | | | | | | | | | | | | Again, off-by-1000 is expected if we're late in the second. Add an extra 1000 to account for actual delta in call times.
* | | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-07-221-2/+2
|\ \ \ | |/ /
| * | Make IntlCalendar::getNow() test more tolerantNikita Popov2016-07-221-2/+2
| | | | | | | | | | | | | | | Due to the *1000 factor the two values may be off-by-1000 even without any actual delay, so increase the check to 2000.
* | | Fixed bug #72639 (Segfault when instantiating class that extends ↵Xinchen Hui2016-07-212-1/+18
| | | | | | | | | | | | IntlCalendar and adds a property)
* | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-07-192-0/+48
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: fix #72519, possible OOB using imagegif fix #72512, invalid read or write for palette image when invalid transparent index is used Apparently some envs miss SIZE_MAX Fix tests Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE Fix bug #72562 - destroy var_hash properly Fix bug #72533 (locale_accept_from_http out-of-bounds access) Fix fir bug #72520 Fix for bug #72513 Fix for bug #72513 CS fix and comments with bug ID Fix for HTTP_PROXY issue. 5.6.24RC1 add tests for bug #72512 Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access Fixed bug #72479 - same as #72434 Conflicts: Zend/zend_virtual_cwd.c ext/bz2/bz2.c ext/exif/exif.c ext/session/session.c ext/snmp/snmp.c ext/standard/basic_functions.c main/SAPI.c main/php_variables.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2016-07-192-0/+48
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix #72519, possible OOB using imagegif fix #72512, invalid read or write for palette image when invalid transparent index is used Apparently some envs miss SIZE_MAX Fix tests Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE Fix bug #72562 - destroy var_hash properly Fix bug #72533 (locale_accept_from_http out-of-bounds access) Fix fir bug #72520 Fix for bug #72513 CS fix and comments with bug ID Fix for HTTP_PROXY issue. add tests for bug #72512 Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access Fixed bug #72479 - same as #72434 Conflicts: ext/bz2/bz2.c main/SAPI.c main/php_variables.c
| | * | Fix bug #72533 (locale_accept_from_http out-of-bounds access)Stanislav Malyshev2016-07-122-0/+48
| | | |
* | | | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-122-4/+38
|\ \ \ \ | |/ / / | | | | | | | | | | | | # Resolved conflicts: # ext/intl/idn/idn.c
| * | | Partially fix #72506: idn_to_ascii for UTS #46 incorrect for long domain namesChristoph M. Becker2016-07-122-4/+38
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | We don't actually fix this issue wrt. the empty $info array, because it is not clear what this array should contain and we're concerned about the potential BC break, but at least we fix the inconsistent handling of resulting domains with 255 bytes (which raise an error), and longer domains (which just return FALSE), what has to be considered a very minor BC break if at all.
* | | Fixed "implicit declaration of function ‘msgformat_fix_quotes’"Xinchen Hui2016-06-171-4/+5
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-06-061-0/+32
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Add test for bug #53735
| * | Add test for bug #53735Anatol Belski2016-06-061-0/+32
| | |
| * | Fixed bug #70484 selectordinal doesn't work with named parametersAnatol Belski2016-06-022-0/+101
| | |
| * | Merge branch 'PHP-5.5' into PHP-5.6.22Stanislav Malyshev2016-05-242-117/+132
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix memory leak in imagescale() Update NEWS Better fix for bug #72135 Fixed bug #72227: imagescale out-of-bounds read Fix bug #72241: get_icu_value_internal out-of-bounds read Fix bug #72135 - don't create strings with lengths outside int range Add check for string overflow to all string add operations Fix bug #72114 - int/size_t confusion in fread Updated NEWS Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream() Conflicts: Zend/zend_operators.c ext/phar/dirstream.c ext/phar/tests/bug71331.phpt
* | | Merge branch 'PHP-5.5' into PHP-7.0.7Stanislav Malyshev2016-05-242-0/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix memory leak in imagescale() Update NEWS Better fix for bug #72135 Fixed bug #72227: imagescale out-of-bounds read Fix bug #72241: get_icu_value_internal out-of-bounds read Fix bug #72135 - don't create strings with lengths outside int range Add check for string overflow to all string add operations Fix bug #72114 - int/size_t confusion in fread Updated NEWS Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream() Conflicts: Zend/zend_operators.c ext/intl/locale/locale_methods.c ext/phar/dirstream.c ext/phar/tests/bug71331.phpt ext/standard/file.c ext/standard/html.c
| * | Fix bug #72241: get_icu_value_internal out-of-bounds readStanislav Malyshev2016-05-222-117/+132
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-04-272-3/+20
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix memory leak Fix bug #72099: xml_parse_into_struct segmentation fault 5.5.36 now Fix bug #72094 - Out of bounds heap read access in exif header processing Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset Fix for bug #71912 (libgd: signedness vulnerability) Typo in NEWS
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2016-04-262-5/+22
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix memory leak Fix bug #72099: xml_parse_into_struct segmentation fault 5.5.36 now Fix bug #72094 - Out of bounds heap read access in exif header processing Fix bug #72093: bcpowmod accepts negative scale and corrupts _one_ definition Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative offset Fix for bug #71912 (libgd: signedness vulnerability) Typo in NEWS Conflicts: configure.in main/php_version.h
| | * Fix bug #72061 - Out-of-bounds reads in zif_grapheme_stripos with negative ↵Stanislav Malyshev2016-04-242-5/+22
| | | | | | | | | | | | offset
* | | Fixed bug #70484 selectordinal doesn't work with named parametersAnatol Belski2016-04-112-0/+101
| | |
* | | fix version macro to checkAnatol Belski2016-04-111-1/+1
| | |
* | | Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0Joe Watkins2016-04-114-2/+34
|\ \ \