summaryrefslogtreecommitdiff
path: root/ext/mbstring
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0.8' into PHP-7.0Stanislav Malyshev2016-06-212-1/+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-212-1/+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-212-33/+49
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-182-33/+49
| | | |
* | | | Fixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - ↵Xinchen Hui2016-06-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | oob read access) according to ext/mbstring/oniguruma/enc/utf8.c, max bytes are 6
* | | | Fixed bug #72399 (Use-After-Free in MBString (search_re))Xinchen Hui2016-06-132-1/+15
|/ / /
* | | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-06-061-0/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: missing return
| * | missing returnAnatol Belski2016-06-061-0/+2
| | |
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2016-03-281-17/+17
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut Fix bug #71798 - Integer Overflow in php_raw_url_encode Fix bug #71860: Require valid paths for phar filenames Going for 5.5.34 Conflicts: configure.in ext/phar/tests/create_path_error.phpt main/php_version.h
| * | Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if ↵Yasuo Ohgaki2016-01-181-1/+1
| | | | | | | | | | | | test
* | | Fixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)Xinchen Hui2016-05-052-6/+26
| | |
* | | Merge branch 'PHP-5.5' into PHP-7.0.5Stanislav Malyshev2016-03-281-4/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fixed bug #71704 php_snmp_error() Format String Vulnerability Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut Fix bug #71798 - Integer Overflow in php_raw_url_encode Fix bug #71860: Require valid paths for phar filenames Going for 5.5.34 Conflicts: configure.in ext/phar/phar_object.c ext/phar/tests/badparameters.phpt ext/phar/tests/create_path_error.phpt ext/phar/tests/pharfileinfo_construct.phpt ext/snmp/snmp.c ext/standard/url.c main/php_version.h
| * | Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcutStanislav Malyshev2016-03-281-17/+17
| | |
| * | added missing parenthesesMasaki Kagaya2015-03-082-1/+13
| | | | | | | | | | | | | | | | | | | | | 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
| * | Bump yearXinchen Hui2015-01-157-7/+7
| | |
* | | fix incompatible pointers on 64-bitAnatol Belski2016-03-071-29/+172
| | |
* | | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | | | | | | | | | Also re bug #71575.
* | | Merge branch 'PHP-5.6' into PHP-7.0Yasuo Ohgaki2016-01-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * PHP-5.6: Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test
| * | | Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if ↵Yasuo Ohgaki2016-01-181-1/+1
| | |/ | |/| | | | | | | test
* | | Fixed bug 71397 (mb_send_mail segmentation fault)Tim Düsterhus2016-01-171-1/+2
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-017-7/+7
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-017-7/+7
| | |
| * | added missing parenthesesMasaki Kagaya2015-03-082-1/+13
| | | | | | | | | | | | | | | | | | | | | 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
| * | bump yearXinchen Hui2015-01-157-7/+7
| | |
* | | Fixed bug #71066 (mb_send_mail: Program terminated with signal SIGSEGV, ↵Xinchen Hui2015-12-081-1/+2
| | | | | | | | | | | | Segmentation fault)
* | | SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONGLior Kaplan2015-12-021-1/+5
| | | | | | | | | | | | Follow up for 3689b444
* | | fix NULL deref in mbstring post handlerAnatol Belski2015-11-051-2/+4
| | |
* | | Fix/improve zpp usageNikita Popov2015-10-022-56/+36
| | | | | | | | | | | | | | | | | | The ext/interbase changes are done blindly, fingers crossed. Some of these are bug fixes, some make zpp usage more idiomatic.
* | | Upgrade unicode_data.h to UnicodeData.txt 8.0.0 (part of bug #70475 ↵Xinchen Hui2015-09-151-1352/+2026
| | | | | | | | | | | | ext/mbstring/unicode_data.h needs update)
* | | fix incompatible typesAnatol Belski2015-08-151-0/+5
| | | | | | | | | | | | namely between hash_data_type and st_data_t
* | | add SIZEOF_SIZE_T to onigurumaAnatol Belski2015-08-151-0/+5
| | |
* | | fix pointer truncation casesAnatol Belski2015-08-151-3/+7
| | |
* | | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-4/+3
| | |
* | | Check mbfl_filt_put_invalid_char return valueNikita Popov2015-07-183-15/+16
| | | | | | | | | | | | And fix some libmbfl warnings
* | | Various warning fixesNikita Popov2015-07-171-3/+3
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-303-25/+25
| | | | | | | | | | | | semantick changes).
* | | fix typosolshevskiy872015-05-131-1/+1
| | | | | | | | | | | | Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>
* | | Fix compile error when oniguruma is not availableLauri Kenttä2015-04-131-0/+2
| | |
* | | Finish PHP 4 constructor deprecationNikita Popov2015-03-311-1/+1
| | |
* | | Deprecate PHP 4 constructorsAndrea Faulds2015-03-311-2/+2
| | |
* | | cleanup the mod version macros, round 2Anatol Belski2015-03-232-1/+4
| | |
* | | upgrade to oniguruman 5.9.6Anatol Belski2015-03-1217-61/+125
| | |
* | | expose oniguruma versionAnatol Belski2015-03-121-0/+5
| | |
* | | init mbstring tsrm_ls_cache on MINITAnatol Belski2015-03-111-0/+3
| | | | | | | | | | | | as some globals are accessed there already
* | | added missing parenthesesMasaki Kagaya2015-03-082-1/+13
| | | | | | | | | | | | | | | | | | | | | 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-056-41/+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-116-41/+7
| | | | | | | | | | | | | | | | This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
* | | | Fix declare error behavior so that improper usages will actually errorAnthony Ferrara2015-02-204-2/+32
| | | |
* | | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-162-3/+3
| | | | | | | | | | | | | | | | which also comply with the current semantics for such macros
* | | | Merge branch 'pull-request/1012'Stanislav Malyshev2015-01-311-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * pull-request/1012: Fix uninitalized variables reads. See CWE-457 for more info.