]>
granicus.if.org Git - php/log
Christoph M. Becker [Fri, 1 Sep 2017 22:04:02 +0000 (00:04 +0200)]
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
We back-port https://github.com/libgd/libgd/commit/
dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.
We also parenthesize the inner ternary operation to avoid confusion.
Anatol Belski [Thu, 31 Aug 2017 21:56:42 +0000 (23:56 +0200)]
Make for exclusion per regex
Anatol Belski [Thu, 31 Aug 2017 18:48:33 +0000 (20:48 +0200)]
Extend ignore list for DLLs to not to look after
fix typo
Dylan K. Taylor [Thu, 31 Aug 2017 14:04:45 +0000 (15:04 +0100)]
Fix `nmake install` fails when there are no shared extensions
check for existence instead of muting everything
check for exe existence before trying to copy
Dylan K. Taylor [Thu, 31 Aug 2017 14:05:13 +0000 (15:05 +0100)]
Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds
Remi Collet [Thu, 31 Aug 2017 05:55:45 +0000 (07:55 +0200)]
move AC_DEFINE in the right position (in bundled lib conditon)
Anatol Belski [Mon, 28 Aug 2017 11:12:51 +0000 (13:12 +0200)]
Move to next bin SDK version for AppVeyor
Christoph M. Becker [Sun, 27 Aug 2017 11:53:39 +0000 (13:53 +0200)]
Fixed bug #75124 (gdImageGrayScale() may produce colors)
We have to make sure to avoid alpha-blending issues by explicitly
switching to `gdEffectReplace` and to restore the old value afterwards.
This is a port of <https://github.com/libgd/libgd/commit/
a7a7ece >.
Thomas Punt [Wed, 23 Aug 2017 22:35:18 +0000 (23:35 +0100)]
Fixed bug #75090
Anatol Belski [Fri, 25 Aug 2017 09:28:12 +0000 (11:28 +0200)]
update libs versions
Remi Collet [Thu, 24 Aug 2017 08:27:38 +0000 (10:27 +0200)]
From documentation, only the sign of returned value is relevant
With recent glibc, memcmp sometime return a negative value instead of -1
Tianfang Yang [Tue, 22 Aug 2017 05:10:58 +0000 (01:10 -0400)]
Merge branch 'pull-request/2534' into PHP-7.0
* pull-request/2534:
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
Ingmar Runge [Mon, 22 May 2017 14:21:59 +0000 (16:21 +0200)]
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
Andrea Faulds [Sat, 19 Aug 2017 19:31:54 +0000 (20:31 +0100)]
Fixed bug #75097 (gethostname fails if your host name is 64 chars long)
PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.
Anatol Belski [Sat, 19 Aug 2017 00:40:17 +0000 (02:40 +0200)]
[ci skip] update NEWS
John Boehr [Sun, 6 Aug 2017 22:04:36 +0000 (15:04 -0700)]
Fix issues with phpt and EXTENSION on windows (BUG 75042)
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
Fix skipifs
Anatol Belski [Fri, 18 Aug 2017 22:31:04 +0000 (00:31 +0200)]
Fix .pgd name for ts build
Remi Collet [Fri, 18 Aug 2017 12:52:11 +0000 (14:52 +0200)]
NEWS
Remi Collet [Fri, 18 Aug 2017 12:51:44 +0000 (14:51 +0200)]
Fixed bug #75093 OpenSSL support not detected
Anatol Belski [Fri, 18 Aug 2017 09:54:56 +0000 (11:54 +0200)]
Fix phpize exit status
Configure and others are generated, not copied. Seems there's yet much
more to do wrt exit status catching.
Anatol Belski [Fri, 18 Aug 2017 09:08:27 +0000 (11:08 +0200)]
Add dump env target
Derick Rethans [Wed, 16 Aug 2017 14:19:18 +0000 (15:19 +0100)]
Revert "Upgrade timelib to 2017.05beta7"
This reverts commit
bdd56f31078bf1f34341943603cf6aaa72e0db5c .
Derick Rethans [Wed, 16 Aug 2017 14:19:11 +0000 (15:19 +0100)]
Revert "Remove removed header files from configuration files."
This reverts commit
3df753c6ca3ebc95dc0e837b2d4dc20753b5aea2 .
Derick Rethans [Wed, 16 Aug 2017 10:14:41 +0000 (11:14 +0100)]
Fixed stupid test
Derick Rethans [Wed, 16 Aug 2017 08:51:21 +0000 (09:51 +0100)]
Added timelib version to phpinfo()
Remi Collet [Wed, 16 Aug 2017 05:46:07 +0000 (07:46 +0200)]
cleanup
Derick Rethans [Tue, 15 Aug 2017 19:22:41 +0000 (20:22 +0100)]
Remove removed header files from configuration files.
Derick Rethans [Tue, 15 Aug 2017 13:09:09 +0000 (14:09 +0100)]
Upgrade timelib to 2017.05beta7
Anatol Belski [Tue, 15 Aug 2017 07:33:30 +0000 (09:33 +0200)]
move dev to 7.0.24
Xinchen Hui [Tue, 15 Aug 2017 04:34:13 +0000 (12:34 +0800)]
Fixed bug #75075 (unpack with X* causes infinity loop)
Tianfang Yang [Tue, 15 Aug 2017 01:16:34 +0000 (21:16 -0400)]
Merge branch 'syncoci8' into PHP-7.0
Tianfang Yang [Tue, 15 Aug 2017 01:07:41 +0000 (21:07 -0400)]
Prepare for PECL release
Anatol Belski [Mon, 14 Aug 2017 11:08:04 +0000 (13:08 +0200)]
Test cleanup improvements, files might be locked in the test process
Anatol Belski [Mon, 14 Aug 2017 10:55:14 +0000 (12:55 +0200)]
fix test cleanup
Tianfang Yang [Mon, 14 Aug 2017 03:44:24 +0000 (23:44 -0400)]
Sync OCI8 on PHP 7.x branches
Christoph M. Becker [Sun, 13 Aug 2017 18:51:53 +0000 (20:51 +0200)]
Fixed bug #73793 (WDDX uses wrong decimal seperator)
The WDDX specification[1] requires to serialize floats with a decimal
point, but `snprintf()` is locale-dependent and may use a decimal
comma. We fix that afterwards by replacing an eventual comma with a
point.
[1] <http://xml.coverpages.org/wddx0090-dtd-
19980928 .txt>
Christoph M. Becker [Sun, 13 Aug 2017 16:05:45 +0000 (18:05 +0200)]
Skip this test if ext/session is not available
Nikita Popov [Sat, 12 Aug 2017 11:00:39 +0000 (13:00 +0200)]
Fixed bug #74103 and bug #75054
Directly fail unserialization when trying to acquire an r/R
reference to an UNDEF HT slot. Previously this left an UNDEF and
later deleted the index/key from the HT.
What actually caused the issue here is a combination of two
factors: First, the key deletion was performed using the hash API,
rather than the symtable API, such that the element was not actually
removed if it used an integral string key. Second, a subsequent
deletion operation, while collecting trailing UNDEF ranges, would
mark the element as available for reuse (leaving a corrupted HT
state with nNumOfElemnts > nNumUsed).
Fix this by failing early and dropping the deletion code.
Andrea Faulds [Sat, 12 Aug 2017 00:35:27 +0000 (01:35 +0100)]
Fix bug #74725 (html_errors=1 breaks unhandled exceptions)
Xinchen Hui [Wed, 9 Aug 2017 03:28:53 +0000 (11:28 +0800)]
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
Anatol Belski [Tue, 8 Aug 2017 17:37:55 +0000 (19:37 +0200)]
Remove mistakingly added line
Anatol Belski [Tue, 8 Aug 2017 15:58:10 +0000 (17:58 +0200)]
Sync makefile options for phpize
- run target
- debugger mode
Darek Slusarczyk [Tue, 8 Aug 2017 13:52:53 +0000 (15:52 +0200)]
JSON: fix config.w32 / Install headers on windows
Anatol Belski [Mon, 7 Aug 2017 15:03:04 +0000 (17:03 +0200)]
Unify EOL
Anatol Belski [Mon, 7 Aug 2017 14:45:02 +0000 (16:45 +0200)]
fix test target for phpize
Remi Collet [Fri, 4 Aug 2017 11:21:28 +0000 (13:21 +0200)]
use AC_DEFINE + win32
Anatol Belski [Thu, 3 Aug 2017 13:05:22 +0000 (15:05 +0200)]
Increase expected timing on Travis
If 5ms to read/write 8 bytes still has issue, probably next this test
should skip on Travis to avoid false positive fails.
Anatol Belski [Wed, 2 Aug 2017 19:49:21 +0000 (21:49 +0200)]
update NEWS
Andreas Treichel [Sun, 23 Jul 2017 03:29:18 +0000 (05:29 +0200)]
Bug #74975: Different serialization for classes
Nikita Popov [Wed, 2 Aug 2017 16:16:18 +0000 (18:16 +0200)]
Merge remote-tracking branch 'php-src/PHP-7.0' into PHP-7.0
Fabien Villepinte [Fri, 28 Jul 2017 11:41:09 +0000 (13:41 +0200)]
Fix Bug #75001: Wrong reflection on mb_eregi_replace
Fabien Villepinte [Fri, 28 Jul 2017 12:38:51 +0000 (14:38 +0200)]
Fix test transliterator_create_inverse_basic.phpt
George Wang [Wed, 2 Aug 2017 15:59:41 +0000 (11:59 -0400)]
take care of compile warnings.
Derick Rethans [Wed, 2 Aug 2017 14:40:48 +0000 (16:40 +0200)]
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
Remi Collet [Wed, 2 Aug 2017 12:01:56 +0000 (14:01 +0200)]
fix build with old system libsqlite (sqlite3_errstr may be missing)
clwu [Wed, 2 Aug 2017 02:49:10 +0000 (10:49 +0800)]
fixed #endif comments
Julien Pauli [Tue, 1 Aug 2017 14:01:43 +0000 (16:01 +0200)]
Updated NEWS
Julien Pauli [Tue, 1 Aug 2017 10:59:19 +0000 (12:59 +0200)]
Fix #75015. Crash in SPL destructors
Anatol Belski [Tue, 1 Aug 2017 10:49:45 +0000 (12:49 +0200)]
Test to cover the change in
ce1a0d97
Christoph M. Becker [Sun, 30 Jul 2017 14:24:40 +0000 (16:24 +0200)]
Shrink another large image
This image is only used for testing `BITMAPV5HEADER` support in
`getimagesize()` (see
bf9ad4e ). Therefore it is not necessary to have
a big image; a single pixel is sufficient.
Christoph M. Becker [Sun, 30 Jul 2017 12:43:37 +0000 (14:43 +0200)]
Shrink test image
The last (`IDAT`) chunk in this file starting at `0x5e265` reports to
have a length of `0x2000` bytes, but there are only `0x1D9B` bytes
left. Simply cutting the first `IDAT` chunk which starts at `0x31` and
also reports a length of `0x2000` at the same offset should produce the
same test results (while reducing the file size to 7.628 bytes).
Christoph M. Becker [Sun, 30 Jul 2017 11:24:10 +0000 (13:24 +0200)]
Skip this test if ext/gd is not available
Nikita Popov [Fri, 28 Jul 2017 11:02:25 +0000 (13:02 +0200)]
Fixed bug #62934
Anatol Belski [Thu, 27 Jul 2017 22:27:11 +0000 (00:27 +0200)]
relax test on travis
Pedro Magalhães [Sun, 23 Jul 2017 12:41:50 +0000 (14:41 +0200)]
Simpler fix for #74974
Xinchen Hui [Thu, 27 Jul 2017 04:50:17 +0000 (12:50 +0800)]
Fixed test
Xinchen Hui [Thu, 27 Jul 2017 03:23:06 +0000 (11:23 +0800)]
Fixed bug #74949 (null pointer dereference in _function_string)
Sara Golemon [Wed, 26 Jul 2017 21:59:29 +0000 (17:59 -0400)]
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
Anatol Belski [Wed, 26 Jul 2017 15:29:37 +0000 (17:29 +0200)]
[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 11:19:41 +0000 (13:19 +0200)]
Fixed bug #74833, SID constant created with wrong module number
Benjamin W. Broersma [Wed, 26 Jul 2017 06:16:37 +0000 (08:16 +0200)]
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
Christopher Jones [Wed, 26 Jul 2017 05:22:44 +0000 (15:22 +1000)]
Expose oci_unregister_taf_callback()
Carsten Brandt [Fri, 14 Jul 2017 11:45:33 +0000 (13:45 +0200)]
Fixed finding CURL on systems with multiarch support
fixes https://bugs.php.net/bug.php?id=74125
This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.
It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:
> `/usr/include/<triplet>`: used for arch-varying headers
[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation
Joe Watkins [Tue, 25 Jul 2017 05:47:58 +0000 (06:47 +0100)]
minor loop optimizations, closes #2633
Anatol Belski [Mon, 24 Jul 2017 21:07:15 +0000 (23:07 +0200)]
switch to binary sdk 2.0.9 for appveyor
Peter Kokot [Sat, 22 Jul 2017 18:22:04 +0000 (20:22 +0200)]
Update copyright year to 2017
Anatol Belski [Mon, 24 Jul 2017 15:02:10 +0000 (17:02 +0200)]
Add test for bug #74903
Jelle van der Waa [Sat, 22 Jul 2017 20:40:10 +0000 (22:40 +0200)]
openssl: Add openssl_pkcs12_export_to_file tests
Add basic tests for openssl_pkcs12_export_to_file.
Peter Kokot [Sun, 23 Jul 2017 14:39:30 +0000 (16:39 +0200)]
Update PHP 5 version to 7 in header comments
Christoph M. Becker [Sat, 30 Jul 2016 14:58:43 +0000 (16:58 +0200)]
Fix #71606: Segmentation fault mb_strcut with HTML-ENTITIES
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
Sara Golemon [Sun, 23 Jul 2017 01:28:43 +0000 (21:28 -0400)]
Use compatability zend_isnan() instead of POSIX isnan()
s/isnan/zend_isnan/g
Sara Golemon [Sun, 23 Jul 2017 00:58:54 +0000 (20:58 -0400)]
Fix compile-time optimization of NAN comparisons
Anatol Belski [Sat, 22 Jul 2017 12:12:45 +0000 (14:12 +0200)]
[ci skip] update NEWS
Bob Weinand [Sat, 22 Jul 2017 09:14:00 +0000 (11:14 +0200)]
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
Anatol Belski [Sat, 22 Jul 2017 08:35:26 +0000 (10:35 +0200)]
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
Xinchen Hui [Fri, 21 Jul 2017 10:16:37 +0000 (18:16 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Move the define into the header to reduce diff for future upgrade
Xinchen Hui [Fri, 21 Jul 2017 10:16:11 +0000 (18:16 +0800)]
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
Anatol Belski [Fri, 21 Jul 2017 07:12:06 +0000 (09:12 +0200)]
Move the define into the header to reduce diff for future upgrade
Xinchen Hui [Fri, 21 Jul 2017 03:52:56 +0000 (11:52 +0800)]
Fixed bug #74947 (Segfault in scanner on INF number)
Anatol Belski [Thu, 20 Jul 2017 20:06:34 +0000 (22:06 +0200)]
increment sdk version
Anatol Belski [Thu, 20 Jul 2017 18:39:04 +0000 (20:39 +0200)]
remove another cygwin instance in AppVeyor run
Anatol Belski [Wed, 19 Jul 2017 20:41:09 +0000 (22:41 +0200)]
fix dir separator in test
Sara Golemon [Wed, 19 Jul 2017 16:29:05 +0000 (12:29 -0400)]
Do not allow using traits/interfaces/abstract classes as stream wrappers
Fixes https://bugs.php.net/bug.php?id=74951
Lior Kaplan [Wed, 19 Jul 2017 14:23:22 +0000 (17:23 +0300)]
Add oci8_failover.c to config.w32, follow up for commit
1b797f7a
Dmitry Stogov [Wed, 19 Jul 2017 12:35:10 +0000 (15:35 +0300)]
Reset globals on startup or restart
andrewnester [Tue, 6 Jun 2017 06:37:05 +0000 (09:37 +0300)]
Fixed #74699 - Broken ArrayIterator unserializing
YaoGuai [Sun, 16 Jul 2017 07:12:29 +0000 (15:12 +0800)]
Fix check of mysql_commit() return value
For mysql_commit() everything non-zero is an error.
Anatol Belski [Tue, 18 Jul 2017 10:08:31 +0000 (12:08 +0200)]
Exclude ext/ftp from AppVeyor test run
as the tests depend on fork() and otherwise an extra setup would be
needed anyway.
Anatol Belski [Tue, 18 Jul 2017 08:25:40 +0000 (10:25 +0200)]
move to 7.0.23 for dev
Anatol Belski [Mon, 17 Jul 2017 04:54:27 +0000 (06:54 +0200)]
fix missing var for phpize
(cherry picked from commit
36c3d7140753bb692e36f5dcef7db7aa76224751 )