| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit 040196972c7a757200c2e1aa88f360322c38ffde)
|
|
|
|
|
|
|
| |
* PHP-7.2:
Fix bug #77630 - safer rename() procedure
(cherry picked from commit 609195e991578fb368e3a4a5f79cb1c05514038a)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* PHP-7.2:
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
(cherry picked from commit 6d60ed69a107aa31c5318d47ed773fe3e9708b8c)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PHP-7.2:
Update NEWS
Fix test error message
Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE
Fix bug #77540 - Invalid Read on exif_process_SOFn
Fix integer overflows on 32-bits
Fix #77431 SplFileInfo::__construct() accepts NUL bytes
Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
(cherry picked from commit e3f7c352dce5c63d75976f428f7ff9a160c2be4f)
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
There have been multiple reports of large slowdowns due to the
use of MADV_HUGEPAGE, so make it conditional on
USE_ZEND_ALLOC_HUGE_PAGES, just like MAP_HUGETLB already is.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We apply only the most minimal fix here, and will cater to the
unnecessary re-allocation for PHP-7.4.
We don't need to add a regression test, since bug39606.phpt and
bug77621.phpt already show the misbehavior.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #77621: Already defined constants are not properly reported
|
| |
| |
| |
| |
| |
| | |
We must not check uninitialized values (i.e. `c.value`), and we have to
use proper types for printf-style formats (i.e. `char *` instead of
`zend_string *`).
|
| |
| |
| |
| |
| | |
Port php_setcookie() to use the smart_str API to ensure that there
can be no string truncation issues.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Refactor timelib.m4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ext/date/lib is bundled library and also includes additional
timelib.m4 macros and checks specific for PHP.
All the checks in the timelib.m4 are already done in the PHP's
configure.ac:
- headers except for io.h and strings.h
- two functions checked strftime and gettimeofday
- if size of longint is 8
- if size of int is 4
- int32_t and uint32_t types using the PHP_CHECK_STDINT_TYPES
Macro `AC_TIMELIB_C_BIGENDIAN` defined in timelib.m4 is not used.
The two checkings for strtoll and atoll have been moved to date extension's
config0.m4 file.
Additional check for headers <io.h> and <strings.h> has been added to
config0.m4 of the date extension.
Therefore the timelib.m4 can be simplified and removed from the bundled
library to have easier maintenance in the later branches and also
upstream library.
|
|\ \
| |/ |
|
| |\ |
|
|\ \ \ |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
By respecting the SILENT flag when checking the visibility of a
class constant.
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | | |
Remove special handling of doubles and escape them as usual instead.
|
| |\ \ \
| | |/ / |
|
| | | | |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally
the current implementation leaks memory, because the original objects
are never freed (see PR #3121).
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The memory leak occurs when more than one UserComment tag is present in
the EXIF data. It's still considered corrupt EXIF data, but this ensures
the memory is freed before trying to set to already allocated memory.
|
| | | | |
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.2:
Avoid dependency on "struct flock" fields order.
|
| | | | |
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.2:
Replace broken binary SDK version
|
| | | | |
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.2:
Update SDK version for AppVeyor
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- set default for mysqli.allow_local_infile=0
- explicitly disable PDO::MYSQL_ATTR_LOCAL_INFILE in case of lack of driver options
- add getAttribute support for PDO::MYSQL_ATTR_LOCAL_INFILE
- update existing tests where needed
- add new tests [checking default value and setting on] the 'local infile' in ext/mysqli and ext/pdo_mysql
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Fix DirectoryIterator glob://* current path relative queries
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
(cherry picked from commit aad39879f2d2e89de105c4f87d334ee129b4321c)
(cherry picked from commit 76f8a908bb18aee92b8f3d523b74b06c9d12cb6b)
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.2:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Conflicts:
Zend/zend_ini_scanner.c
|
| | |
| | |
| | |
| | | |
Section name should not be typed(NULL, FALSE, TRUE etc)
|
| | | |
|