summaryrefslogtreecommitdiff
path: root/ext/zip
Commit message (Collapse)AuthorAgeFilesLines
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-36/+36
| | | | semantick changes).
* Make convert_to_* safe with rc>1Nikita Popov2015-06-111-3/+3
| | | | | | | | | | | | | This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788.
* return FALSE instead of NULL from ZipArchive::getStream when ↵Christoph M. Becker2015-05-121-0/+2
| | | | php_stream_zip_open() fails (fixes #67161)
* set ext/zip version to 1.13 (as we have new methods... semver...)Remi Collet2015-05-071-1/+1
|
* better fix (also fix i386 build)Remi Collet2015-05-061-4/+4
|
* try to fix build when LONG_MAX not definedRemi Collet2015-05-061-2/+5
|
* add ZipArchive::setCompressionName and ZipArchive::setCompressionIndex methodsRemi Collet2015-05-064-4/+178
|
* don't use deprecated libzip callRemi Collet2015-05-062-0/+36
|
* update libzip to version 1.0.1Remi Collet2015-05-06113-3158/+5887
|
* Clean up some type conversionsNikita Popov2015-04-271-10/+1
| | | | | While at it also fix some type checks in iconv and drop dead and unported code in standard/filters.
* Merge branch 'PHP-5.6'Remi Collet2015-04-151-1/+1
|\ | | | | | | | | * PHP-5.6: bump zip release to match pecl version
| * bump zip release to match pecl versionRemi Collet2015-04-151-1/+1
| |
* | Fix a couple of warningsRasmus Lerdorf2015-03-201-3/+2
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-03-171-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: update NEWS Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary oops, no idea how this got in Fix bug #69248 - heap overflow vulnerability in regcomp.c add test for bug #68976 add NEWS Fixed bug #68976 - Use After Free Vulnerability in unserialize() update news Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options) fix tests Fix bug #69207 - move_uploaded_file allows nulls in path Conflicts: ext/ereg/regex/regcomp.c ext/standard/basic_functions.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re win32/registry.c
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-03-171-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: update NEWS Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary Conflicts: ext/zip/lib/zip_dirent.c
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-03-171-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
| | | * Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundaryStanislav Malyshev2015-03-171-1/+1
| | | |
| | * | Bump yearXinchen Hui2015-01-152-2/+2
| | | |
| | * | Bump yearXinchen Hui2014-01-032-2/+2
| | | |
| * | | bump yearXinchen Hui2015-01-1519-19/+19
| | | |
| * | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Use specialized macro for string zval creationDmitry Stogov2015-03-121-2/+2
| | | |
* | | | Remove the unused varszxcvdavid2015-03-041-2/+0
| | | |
* | | | Use zend_string* instead of char* for opened_patch handling. Avoid ↵Dmitry Stogov2015-03-042-3/+3
| | | | | | | | | | | | | | | | reallocations and improve string reuse.
* | | | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-1/+1
| | | | | | | | | | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | | | Cleanup resource handling APIsXinchen Hui2015-02-021-9/+25
| | | |
* | | | Fixed #68826 (Resource leak)Xinchen Hui2015-01-171-0/+1
| | | |
* | | | bump yearXinchen Hui2015-01-1519-19/+19
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-1092-744/+744
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-133-146/+146
| | | |
* | | | Restored zip/oci8 PHP 4 code, add PHP 7 checksAndrea Faulds2014-12-051-0/+2
| | | |
* | | | Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)Andrea Faulds2014-12-051-2/+0
| | | |
* | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | |
* | | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-194-4/+4
| | | |
* | | | improve empty string checkAnatol Belski2014-09-171-1/+1
| | | |
* | | | make it safer for an array underrunAnatol Belski2014-09-141-3/+3
| | | |
* | | | avoid repeated strlen() usageAnatol Belski2014-09-141-3/+5
| | | |
* | | | better align reduce the struct size by 8 byte on 64 bitAnatol Belski2014-09-131-1/+1
| | | |
* | | | fix typeAnatol Belski2014-09-121-1/+1
| | | |
* | | | 's' works with size_t round 4Anatol Belski2014-08-271-1/+1
| | | |
* | | | 's' works with size_t round 3Anatol Belski2014-08-271-8/+9
| | | |
* | | | first show to make 's' work with size_tAnatol Belski2014-08-271-10/+10
| | | |
* | | | fixed several long vs zend_long castsAnatol Belski2014-08-261-8/+8
| | | |
* | | | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-1/+1
| | | |
* | | | master renames phase 2Anatol Belski2014-08-251-1/+1
| | | |
* | | | master renames phase 1Anatol Belski2014-08-252-185/+185
| | | |
* | | | ported ext/zipAnatol Belski2014-08-191-66/+67
| | | |
* | | | basic macro replacements, all at onceAnatol Belski2014-08-191-112/+112
| | | |
* | | | Refactored run_time_cache usage in object handlersDmitry Stogov2014-07-071-6/+6
| | | |
* | | | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-6/+2
| | | |