Xinchen Hui
ab8782d1e6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Simplfy test case
2019-03-18 19:30:11 +08:00
Xinchen Hui
e072537e7f
Simplfy test case
...
(I was working on the same bug while nikic committed the similar fix
2019-03-18 19:28:23 +08:00
Nikita Popov
763a7b8ca3
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 12:16:12 +01:00
Nikita Popov
b3a669bec1
Make test independent of icu version
...
We don't really care about the actual output here, just that it
doesn't fail.
2019-03-18 12:14:58 +01:00
Nikita Popov
623a11d7de
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 11:39:58 +01:00
Nikita Popov
433758ceb3
Allow DateTimeImmutable in datefmt_format_object()
...
As pointed out in a comment on bug #65683 .
2019-03-18 11:39:16 +01:00
Nikita Popov
82fbaab53c
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 11:07:27 +01:00
Nikita Popov
4f03401628
Partial fix for bug #77751
...
This avoids the segfault, but it will not make writing to the
SplFileObject during output shutdown work.
2019-03-18 11:06:23 +01:00
Nikita Popov
da7add3525
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 10:51:00 +01:00
Nikita Popov
54bf8c820f
Fixed bug #77743
2019-03-18 10:49:53 +01:00
Nikita Popov
00cfa1a367
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 10:11:25 +01:00
Nikita Popov
a573c0e9ed
Fix unused variable warning
2019-03-18 10:11:00 +01:00
Derick Rethans
d209ccd4cc
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-17 14:55:53 -04:00
Derick Rethans
ab07bc1fff
Fixed 7.2 compat issue
2019-03-17 14:53:56 -04:00
Derick Rethans
7e7ef44fab
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-17 14:38:04 -04:00
Ignace Nyamagana Butera
6eb83a63e1
Fixed bug #75113 : Added DatePeriod::getRecurrences() method.
2019-03-17 14:37:35 -04:00
Pedro Magalhães
3a04b507ec
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Added test for #77535 fix
2019-03-15 18:12:55 +00:00
Pedro Magalhães
f167b06d4c
Added test for #77535 fix
2019-03-15 18:11:51 +00:00
Nikita Popov
7899f6a906
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-15 17:07:48 +01:00
Nikita Popov
97f9fd6949
Don't immediately destroy curl pushfunction
2019-03-15 17:07:19 +01:00
Xinchen Hui
b419590893
Fixed bug #77697 (Crash on Big_Endian platform)
2019-03-15 16:58:08 +08:00
Nikita Popov
217c05da52
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-14 17:25:54 +01:00
Nikita Popov
e7d40afb7a
Fixed bug #77742
...
By avoiding integer overflow in the implementation entirely. The
multiplication was already explicitly checked for overflow, so also
add a check for the addition and remove the overflow checks after
the calculation.
2019-03-14 17:24:50 +01:00
Christoph M. Becker
e7ce7c6bb2
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:30:16 +01:00
bohwaz
e93259bb23
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:26:15 +01:00
Nikita Popov
6818ca3c02
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-11 15:36:27 +01:00
Nikita Popov
1fd32e9c2f
Fixed bug #76717
...
Print INT_MIN as -INT_MAX-1 to avoid it getting parsed as a float
literal due to integer overflow.
2019-03-11 15:35:02 +01:00
Jakub Zelenka
f8850ccd85
Speed up TLS wrapper test for min and max versions
2019-03-10 16:36:13 +00:00
Jakub Zelenka
ee4fa7d482
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-10 16:34:58 +00:00
Jakub Zelenka
769d2d9b62
Speed up TLS wrapper tests when SSLv3 disabled
...
If SSLv3 is disabled in OpenSSL, then sslv3 is not available so the accept
times out. This commit removes the extra accept if SSLv3 is disabled.
2019-03-10 16:23:44 +00:00
Anatol Belski
3e92365fa2
Update libmagic.patch [skip ci]
2019-03-08 21:55:15 +01:00
Fabien Villepinte
d9a3cb0b36
Fix typo in libmagic version
2019-03-08 20:51:09 +01:00
Anatol Belski
65ffdc2adf
Fixed bug #77576 pull the libmagic implementation of gmtime_r
...
PHP already has all the checks to handle the *_r function variants.
Thus, reusing it to get right symbols.
2019-03-08 20:32:15 +01:00
Christoph M. Becker
0d88388912
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77700 : Writing truecolor images as GIF ignores interlace flag
2019-03-06 00:37:38 +01:00
Christoph M. Becker
41fb0eaa11
Fix #77700 : Writing truecolor images as GIF ignores interlace flag
...
We revert the interlace flag related part of commit ff2822a[1], since
contrary to the transparent color, the interlace flag is not retained
by `gdImageCreatePaletteFromTrueColor()`. This also matches upstream
libgd.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=ff2822a82b740edb8ccf307f080bae188c200fb9 >
2019-03-06 00:34:40 +01:00
Anatol Belski
a976283c34
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix test portability
2019-03-04 14:30:01 +01:00
Anatol Belski
040196972c
Fix test portability
2019-03-04 14:28:47 +01:00
Nikita Popov
4c68aaabf1
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-04 13:16:01 +01:00
Nikita Popov
3f00c9367d
Fixed bug #77691
...
We cannot replace an op1_def opcode with an ASSIGN, if it also has
a used res_def. Usually this doesn't happen because the res_def use
can be eliminated first. The example is a case where operand replacement
on the res_def use fails.
2019-03-04 13:11:12 +01:00
Stanislav Malyshev
6d60ed69a1
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
2019-03-03 23:33:48 -08:00
Stanislav Malyshev
3e8d8f7fb3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
2019-03-03 23:33:43 -08:00
Stanislav Malyshev
e0f5d62bd6
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
2019-03-03 23:05:32 -08:00
Stanislav Malyshev
e3f7c352dc
Merge branch 'PHP-7.2' into PHP-7.3
...
* 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
2019-03-03 22:20:42 -08:00
Stanislav Malyshev
8363df3703
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
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
2019-03-03 22:20:35 -08:00
Stanislav Malyshev
44f87fbf36
Fix test error message
2019-03-03 19:30:14 -08:00
Stanislav Malyshev
8ac6fee856
Fix bug #77563 - Uninitialized read in exif_process_IFD_in_MAKERNOTE
...
Also fix for bug #77659
2019-03-03 18:35:43 -08:00
Stanislav Malyshev
5f0e62a3e5
Fix bug #77540 - Invalid Read on exif_process_SOFn
2019-03-03 18:35:26 -08:00
Stanislav Malyshev
5e824a88d0
Fix integer overflows on 32-bits
2019-03-03 18:35:04 -08:00
Christoph M. Becker
254a5914ad
Fix #77431 SplFileInfo::__construct() accepts NUL bytes
...
`SplFileInfo::__construct()` has to expect a path instead of a string,
analogous to `SplFileObject::__construct()`.
2019-03-03 18:23:46 -08:00
Stanislav Malyshev
7f0ab7c20c
Fix bug #77396 - Null Pointer Dereference in phar_create_or_parse_filename
2019-03-03 18:22:32 -08:00