summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-301-0/+12
|\
| * fixes bad address given to onig_error_code_to_strju1ius2016-07-301-0/+12
| | | | | | | | | | | | Closes bug #72710 (cherry picked from commit 0fb7eb6723bcc6fd98053911543e801edb5ab763)
* | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-281-0/+21
|\ \ | |/ | | | | | | # Resolved conflicts: # ext/mbstring/php_mbregex.c
| * Fix #72694: mb_ereg_search_setpos does not accept a string's last positionChristoph M. Becker2016-07-281-0/+21
| | | | | | | | | | Setting the search position immediately behind the last character should be allowed, so we fix this off-by-one error.
* | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-282-4/+45
|\ \ | |/
| * Fix #72693: mb_ereg_search increments search position when a match zero-widthChristoph M. Becker2016-07-282-4/+45
| | | | | | | | That's caused by an off-by-one error, which we fix.
* | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-281-0/+48
|\ \ | |/ | | | | | | # Resolved conflicts: # ext/mbstring/php_mbregex.c
| * Fix #72691: mb_ereg_search raises a warning if a match zero-widthChristoph M. Becker2016-07-281-0/+48
| | | | | | | | | | That warning doesn't make sense (PCRE doesn't throw such a warning either), so we remove it.
* | Merge branch 'PHP-7.0.8' into PHP-7.0Stanislav Malyshev2016-06-211-0/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0.8: iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow update NEWS fix tests fix build Fix bug #72455: Heap Overflow due to integer overflows Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize Fix bug #72407: NULL Pointer Dereference at _gdScaleVert Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free Fix bug #72298 pass2_no_dither out-of-bounds access Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow Fix bug #72262 - do not overflow int Fix bug #72400 and #72403 - prevent signed int overflows for string lengths Fix bug #72275: don't allow smart_str to overflow int Fix bug #72340: Double Free Courruption in wddx_deserialize Fix bug #72321 - use efree() for emalloc allocation 5.6.23RC1 fix NEWS set versions Conflicts: configure.in main/php_version.h
| * \ Merge branch 'PHP-5.6.23' into PHP-7.0.8Stanislav Malyshev2016-06-211-0/+17
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6.23: (24 commits) iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow update NEWS fix tests fix build Fix bug #72455: Heap Overflow due to integer overflows Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize Fix bug #72407: NULL Pointer Dereference at _gdScaleVert Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free Fix bug #72298 pass2_no_dither out-of-bounds access Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow Fix bug #72262 - do not overflow int Fix bug #72400 and #72403 - prevent signed int overflows for string lengths Fix bug #72275: don't allow smart_str to overflow int Fix bug #72340: Double Free Courruption in wddx_deserialize update NEWS Fix #66387: Stack overflow with imagefilltoborder Fix bug #72321 - use efree() for emalloc allocation 5.6.23RC1 Fix bug #72140 (segfault after calling ERR_free_strings()) ... Conflicts: configure.in ext/mbstring/php_mbregex.c ext/mcrypt/mcrypt.c ext/spl/spl_array.c ext/spl/spl_directory.c ext/standard/php_smart_str.h ext/standard/string.c ext/standard/url.c ext/wddx/wddx.c ext/zip/php_zip.c main/php_version.h
| | * Merge branch 'PHP-5.5' into PHP-5.6.23Stanislav Malyshev2016-06-211-0/+17
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow update NEWS fix tests fix build Fix bug #72455: Heap Overflow due to integer overflows Fix bug #72434: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize Fixed ##72433: Use After Free Vulnerability in PHP's GC algorithm and unserialize Fix bug #72407: NULL Pointer Dereference at _gdScaleVert Fix bug #72402: _php_mb_regex_ereg_replace_exec - double free Fix bug #72298 pass2_no_dither out-of-bounds access Fixed #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow Fix bug #72262 - do not overflow int Fix bug #72400 and #72403 - prevent signed int overflows for string lengths Fix bug #72275: don't allow smart_str to overflow int Fix bug #72340: Double Free Courruption in wddx_deserialize update NEWS Fix #66387: Stack overflow with imagefilltoborder Skip test which is 64bits only 5.5.37 now Conflicts: configure.in ext/mcrypt/mcrypt.c ext/spl/spl_directory.c main/php_version.h
| | | * Fix bug #72402: _php_mb_regex_ereg_replace_exec - double freeStanislav Malyshev2016-06-181-0/+17
| | | |
| | | * added missing parenthesesMasaki Kagaya2015-03-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | added test case for bug #68846 replaced tab with space added missing parentheses again See also: http://icu-project.org/docs/papers/gb18030.html#h7
| | | * put this test back to XFAIL, as it was before, since it is still leaking memoryFerenc Kovacs2014-04-291-0/+2
| | | |
| | | * tests still failing, so xfail for now until fixedStanislav Malyshev2014-01-292-2/+4
| | | |
| | * | added missing parenthesesMasaki Kagaya2015-03-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | added test case for bug #68846 replaced tab with space added missing parentheses again See also: http://icu-project.org/docs/papers/gb18030.html#h7
| | * | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c
* | | | Fixed bug #72399 (Use-After-Free in MBString (search_re))Xinchen Hui2016-06-131-0/+10
|/ / /
* | | Fixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)Xinchen Hui2016-05-051-0/+14
| | |
* | | Finish PHP 4 constructor deprecationNikita Popov2015-03-311-1/+1
| | |
* | | Deprecate PHP 4 constructorsAndrea Faulds2015-03-311-2/+2
| | |
* | | added missing parenthesesMasaki Kagaya2015-03-081-0/+12
| | | | | | | | | | | | | | | | | | | | | added test case for bug #68846 replaced tab with space added missing parentheses again See also: http://icu-project.org/docs/papers/gb18030.html#h7
* | | Merge remote-tracking branch 'datibbaw/kill-ereg'Adam Harvey2015-03-055-34/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ereg/config.w32 ext/ereg/config0.m4 ext/ereg/ereg.c ext/ereg/php_ereg.h ext/ereg/php_regex.h ext/ereg/regex/engine.c ext/ereg/regex/main.c ext/ereg/regex/regcomp.c ext/ereg/regex/regerror.c ext/ereg/tests/split_error_002.phpt ext/ereg/tests/split_variation_003.phpt ext/ereg/tests/spliti_error_002.phpt ext/ereg/tests/spliti_variation_003.phpt ext/pgsql/pgsql.c sapi/apache/php_apache_http.h sapi/apache_hooks/php_apache_http.h
| * | | Revert "Revert "Removing ext/ereg and dependencies""Tjerk Meesters2014-09-115-34/+7
| | | | | | | | | | | | | | | | This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
* | | | Fix declare error behavior so that improper usages will actually errorAnthony Ferrara2015-02-204-2/+32
| | | |
* | | | Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-215-35/+35
| | | |
* | | | Updated or skipped certain 32-bit testsAndrea Faulds2014-12-175-1/+6
| | | |
* | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-232-2/+2
| | | |
* | | | Fix yy_limit computation after encoding switchNikita Popov2014-09-112-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The three assignments above this line are still broken - they assume that byte offsets in one encoding directly map to byte offsets in another encoding. I'm fixing the length here because it is the one causing out-of-bounds reads and is easy to fix. For the others we'd have to actually compute new offsets.
* | | | Remove self-contradictory zend multibyte assertionNikita Popov2014-09-112-2/+3
|/ / / | | | | | | | | | | | | Code that explicitly exists to handle an incompatible internal encoding should not assert that the internal encoding is compatible.
* | | Revert "Removing ext/ereg and dependencies"Dmitry Stogov2014-09-115-7/+34
| | | | | | | | | | | | This reverts commit 86de7963fe69638431c0aa8f413d25e01bf99d68.
* | | Removing ext/ereg and dependenciesTjerk Meesters2014-09-115-34/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affected extensions: - opcache (use pcre) - mbstring (removed ereg functions overloading) - pgsql (use pcre) - reflection (test cases using 'ereg') SAPI: - apache (header only) - apache_hooks (header only)
* | | Merge branch 'master' into phpngDmitry Stogov2014-05-131-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (41 commits) fix test - output can be chunked fix test fix test Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6 Add bug fix to NEWS Update UPGRADING according to bug fix fix test improve CURL tests to allow testing without separate server improve CURL tests to allow testing without separate server Fixed bug #67199 mb_regex_encoding mishmash Fix bug #67248 (imageaffinematrixget missing check of parameters) Fix bug #67247 spl_fixedarray_resize integer overflow fix news add tests stuff to README Updated NEWS Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions... - Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org) - Move checking - Fixed missing NULL check in SimpleXMLElement::xpath() - Fixed missing NULL check ... Conflicts: ext/bz2/bz2.c ext/gd/gd.c ext/mbstring/php_mbregex.c ext/session/tests/031.phpt ext/simplexml/simplexml.c ext/spl/spl_fixedarray.c
| * | Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6Yasuo Ohgaki2014-05-121-1/+2
| | |
| * | XFAIL the leaking multibyte tests, we should really get to the bottom of thisFerenc Kovacs2014-05-013-0/+9
| | |
* | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-2610-13/+89
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | multibytes tests still fail, put them in XFAILStanislav Malyshev2014-04-055-9/+4
| | | | | | | | | | | | clean up XFAIL from tests no longer failing
| * | Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-03-129-4/+11
| | |
| * | Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-131-0/+73
| | |
| * | tests still failing, so xfail for now until fixedStanislav Malyshev2014-01-292-2/+4
| |/
| * Fixed zend.multibyte tests partiallyYasuo Ohgaki2014-01-295-14/+10
| |
| * XFAIL multibyte tests until they are fixed (bug 66582)Stanislav Malyshev2014-01-267-0/+14
| |
* | Fixed tests (added missing zend.multibyte=On)Dmitry Stogov2014-04-103-0/+6
| |
* | Fixed segfault due to incompleted refactoringXinchen Hui2014-03-241-3/+3
| |
* | It's a tradition return NULL on error of args parsingXinchen Hui2014-03-2436-152/+152
| |
* | Refactor mbstring (incompleted)Xinchen Hui2014-03-2412-53/+53
|/
* Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.Yasuo Ohgaki2014-01-1914-95/+22
|
* non living code related typo fixesVeres Lajos2013-08-041-1/+1
|
* MFH: fixed #65045: mb_convert_encoding breaks well-formed character.Rui Hirokawa2013-07-312-9/+38
|
* Missed SKIPIFXinchen Hui2013-05-091-0/+2
|