| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This breaks on Linux with the musl libc, since it zeroes out gl_pathc during
globfree.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Fix #78641: addGlob can modify given remove_path value
|
| |
| |
| |
| |
| |
| |
| | |
`remove_path` points to the given string, so we must not modify it.
Instead we use a duplicate, if we need the modification.
We may want to switch to `zend_string`s in master.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix build for libzip < 0.11.2
|
| |
| |
| |
| |
| | |
We must not define method entries, if the actual method definitions or
the arginfo structures are not defined.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix bug #76524 - ZipArchive memory leak
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fix bug #76524 - ZipArchive memory leak
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bugfix #76524: Free up zip internal state and adjust the tests for Windows
Bugfix #76524: Fix possible use after free for libzip 1.3.1
Bugfix #76524: Make the test independent of platform
|
| | | |
|
| | |
| | |
| | |
| | | |
reference, that may lead to memory leaks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.2:
NEWS
Add OPSYS_CPM constant as documented and to match libzip naming
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
where we sure about string persistence.
|
| | |
| | |
| | |
| | | |
is known to be a temporary allocated zend_string.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.2:
NEWS
display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
|
| | |
| | |
| | |
| | | |
(libzip >= 1.3.1)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.
Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.0:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- only 1.3.1 is affected
- fix use after free
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
NEWS
NEWS
NEWS
fix bug #75540 Segfault with libzip 1.3.1
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-7.1:
NEWS
NEWS
fix bug #75540 Segfault with libzip 1.3.1
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | | |
* PHP-7.0:
NEWS
fix bug #75540 Segfault with libzip 1.3.1
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
RFC https://wiki.php.net/rfc/pcre2-migration
|
| | | |
| | | |
| | | |
| | | | |
into SHM)
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strings can
be then accepted directly and structs can be still handled with smaller
unsigned types for size reasons, which is safe. Yet some related places
are to go.
basic move tsrm_realpath_r to size_t
fix conditions and sync with affected places
touch ocurrences of php_sys_readlink usage
follow up on phar path handling
remove duplicated check
move zend_resolve_path and related pieces to size_t
touch yet resolve path related places
remove cast
missing pieces
missing piece
yet cleanups for php_sys_readlink for ssize_t
fix wrong return
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
make type consistent with glob_t.gl_pathc
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Update more functions with path check
|
| |\
| | |
| | |
| | |
| | | |
* PHP-5.6:
Update more functions with path check
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.0:
Fix #70103: Fix bug 70103 when ZTS is enabled
|
| | |
| | |
| | |
| | | |
Used snprintf to copy the basename string before it is freed
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fix #70103: ZipArchive::addGlob ignores remove_all_path option
news entry for PR #1430
|