Jakub Zelenka
bc57efb78f
Merge branch 'PHP-7.3' into PHP-7.4
2019-03-10 16:36:55 +00: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
johnstevenson
b37a6aafce
Fix bc break in Windows readlink
...
GetFinalPathNameByHandleW is given a file handle to a symbolic link,
rather than one to the target, and therefore returns an incorrect path.
Fix symlink with relative path and add test
2019-03-10 15:48:31 +01:00
Anatol Belski
591d6b86ab
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Update libmagic.patch [skip ci]
2019-03-08 21:55:48 +01:00
Anatol Belski
3e92365fa2
Update libmagic.patch [skip ci]
2019-03-08 21:55:15 +01:00
Anatol Belski
93a38b1f7c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix typo in libmagic version
2019-03-08 21:45:18 +01:00
Fabien Villepinte
d9a3cb0b36
Fix typo in libmagic version
2019-03-08 20:51:09 +01:00
Anatol Belski
c8ebfaa4eb
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #77576 pull the libmagic implementation of gmtime_r
2019-03-08 20:48:24 +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
Nikita Popov
59dd1979ef
More zpp error/variation test removals
2019-03-08 13:46:39 +01:00
Kalle Sommer Nielsen
aa33ab9696
Give Peter credit for his work on the Unix build system
2019-03-07 23:27:10 +02:00
Peter Kokot
f5fa9ddbd5
Clean *nix build system
...
- remove some outdated and not used macro calls
- remove some unused variables
- Remove not needed comment from tokenizer config.m4
- Remove not needed comment
- remove not needed local variables for editors and syntax highlighting
2019-03-07 20:58:14 +01:00
Peter Kokot
9df6a1e4dd
Add AS_HELP_STRING to *nix build configure options
...
The Autoconf's default AS_HELP_STRING macro can properly format help
strings [1] so watching out if columns are aligned manually is not
anymore.
[1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
2019-03-07 20:36:59 +01:00
Nikita Popov
2580a7ba09
More zpp error/variation test removals
2019-03-07 17:09:43 +01:00
Nikita Popov
c8e10c6119
More zpp error/variation test removals
2019-03-07 15:54:31 +01:00
Peter Kokot
bebcdcc745
Remove legacy AC_CHECK_TYPE calls for uint and ulong
...
The AC_CHECK_TYPE was refactored in more recent versions of Autoconf
and the call with two arguments is obsolete and not recommended anymore.
This patch also refactors some leftovers of using ulong and uint which
are not standard nor common usages of types in C.
The ulong can be used as zend_ulong and uint usage is actually
`unsigned int`.
The usage of HAVE_ULONG removed since it is not used in current code
base.
Legacy edgecase for some legacy HPUX systems removed:
- sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is
not defined with current build system.
- flags are unsigned int
- max_allowed_packet changed to unsigned int
2019-03-06 22:49:16 +01:00
Nikita Popov
8c62c69265
More zpp error/variation test removals
...
Some of these tests also check non-zpp conditions -- however, there is
always some other test that also checks those error conditions.
2019-03-06 13:40:22 +01:00
Stanislav Malyshev
db777e9199
Fix shifting signed values too far
...
Signed shift of 31 for int and 63 for long is flagged as undefined
behavior by UBSan (-fsanitize=undefined) and seems to be indeed so
according to the standard.
The patch converts such cases to use unsigned.
2019-03-06 00:50:09 -08:00
Christoph M. Becker
f651397b1f
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #77700 : Writing truecolor images as GIF ignores interlace flag
2019-03-06 00:38:12 +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
Nikita Popov
10b4113638
Remove more zpp error tests
2019-03-05 17:09:09 +01:00
Gabriel Caruso
e907fbaf7c
Remove unnecessary check for always available extension
2019-03-05 12:54:24 -03:00
Nikita Popov
7e3f4a2390
Remove more zpp error/variation tests
2019-03-05 14:09:33 +01:00
Nikita Popov
4bd18db8cc
Remove custom error handler in mbstring tests
...
To make it more obvious what is tested and what the error messages
are.
2019-03-05 11:41:53 +01:00
Nikita Popov
94d509363d
Remove more zpp error tests
2019-03-05 11:02:31 +01:00
Nikita Popov
b26df0e395
Remove tests for zpp failure conditions
...
These tests only check zpp error conditions, so drop them per
zpp testing policy.
2019-03-05 10:22:23 +01:00
Dmitry Stogov
ff5fa0d631
Fixed support for callbacks with "void" return type
2019-03-05 01:03:47 +03:00
Anatol Belski
53c44a43dd
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix test portability
2019-03-04 14:30:32 +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
ade5474792
Merge branch 'PHP-7.3' into PHP-7.4
2019-03-04 13:16:25 +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
Peter Kokot
a8c3e22d23
Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS
...
Changes:
- PHP_TM_GMTOFF removed
- HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF
- HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_TM_ZONE
- HAVE_TZNAME removed
The PHP_TM_GMTOFF macro can be replaced with Autoconf's AC_CHECK_MEMBERS
that defines the HAVE_STRUCT_TM_TM_GMTOFF symbol instead of the
HAVE_TM_ZONE.
The HAVE_TZNAME symbol is not used in current code. The obsolete
HAVE_TM_ZONE symbol has been replaced with more proper
HAVE_STRUCT_TM_TM_ZONE. These are defined by the AC_STRUCT_TIMEZONE
macro.
2019-03-04 12:13:12 +01:00
Nikita Popov
6be93b29eb
Don't generate script for proc_open_pipes tests
...
Commit the generated script instead, which is much simpler than
the code generating it...
2019-03-04 10:52:50 +01:00
Nikita Popov
e27ba75e0f
Use separate output files in x2gd tests
2019-03-04 10:48:09 +01:00
Nikita Popov
15711a4db0
Use separate directories for win32 dir tests
...
Also remove one redundant piece of cleanup code.
2019-03-04 10:36:55 +01:00
Stanislav Malyshev
071e18c697
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
2019-03-03 23:33:54 -08: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
534a18c08f
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
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:49 -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