]>
granicus.if.org Git - php/log
Remi Collet [Tue, 30 May 2017 13:39:21 +0000 (15:39 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:38:17 +0000 (15:38 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:37:11 +0000 (15:37 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Remi Collet [Tue, 30 May 2017 13:35:42 +0000 (15:35 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>
Fabien Villepinte [Wed, 10 May 2017 10:40:21 +0000 (12:40 +0200)]
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
Sara Golemon [Sun, 28 May 2017 14:23:57 +0000 (07:23 -0700)]
Bugfix #74556 stream_socket_get_name() returns empty string
The original bug report had it returning '\0',
but with a fix to abstract name handling (
6d2d0bbda7 )
it now actually returns ''.
Neither of these are good, as per unix(7)
an empty socket name indicates an unbound name
and "should not be inspected".
Sara Golemon [Sun, 28 May 2017 15:20:21 +0000 (08:20 -0700)]
Fix abstract name handling to be binary safe
Per unix(7):
abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0'). The socket's address in this namespace is given by the
additional bytes in sun_path that are covered by the specified
length of the address structure. (Null bytes in the name have no
special significance.) The name has no connection with filesystem
pathnames. When the address of an abstract socket is returned,
the returned addrlen is greater than sizeof(sa_family_t) (i.e.,
greater than 2), and the name of the socket is contained in the
first (addrlen - sizeof(sa_family_t)) bytes of sun_path.
The existing implementation was assuming significance in null bytes
contained in the abstract address identifier.
Sara Golemon [Sun, 28 May 2017 04:12:49 +0000 (21:12 -0700)]
Bugfix #74598 ftp:// ignores context
Xinchen Hui [Sat, 27 May 2017 14:42:17 +0000 (22:42 +0800)]
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
Xinchen Hui [Sat, 27 May 2017 04:11:53 +0000 (12:11 +0800)]
Correct the location
Xinchen Hui [Sat, 27 May 2017 04:06:43 +0000 (12:06 +0800)]
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
jhdxr [Wed, 24 May 2017 16:00:48 +0000 (18:00 +0200)]
Fixed bug #74478
Anatol Belski [Tue, 23 May 2017 10:31:03 +0000 (12:31 +0200)]
time to move next
Anatol Belski [Sat, 20 May 2017 11:48:35 +0000 (13:48 +0200)]
move to the next sdk version for AppVeyor
Anatol Belski [Thu, 18 May 2017 10:03:13 +0000 (12:03 +0200)]
follow up fix on bug #74022
Xinchen Hui [Wed, 17 May 2017 15:24:58 +0000 (23:24 +0800)]
Added cleanup
Xinchen Hui [Wed, 17 May 2017 15:21:18 +0000 (23:21 +0800)]
Added test for bug #74600
Xinchen Hui [Wed, 17 May 2017 14:42:18 +0000 (22:42 +0800)]
Added test for bug #74596
Xinchen Hui [Tue, 16 May 2017 11:32:33 +0000 (19:32 +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:
variation of icu libraries causes failure
Xinchen Hui [Tue, 16 May 2017 11:32:13 +0000 (19:32 +0800)]
Fixed bug #74600 (crash (SIGSEGV) in _zend_hash_add_or_update_i)
Steve Walk [Fri, 5 May 2017 18:45:27 +0000 (11:45 -0700)]
variation of icu libraries causes failure
Xinchen Hui [Tue, 16 May 2017 05:22:08 +0000 (13:22 +0800)]
Fixed bug #74596 (SIGSEGV with opcache.revalidate_path enabled)
Yeah, no test script is provided.. I got some troubles to make a one
Anatol Belski [Mon, 15 May 2017 15:47:41 +0000 (17:47 +0200)]
switch to Postgres 9.6 for appveyor
Sara Golemon [Wed, 10 May 2017 23:50:19 +0000 (16:50 -0700)]
Remove typo from test header
Xinchen Hui [Tue, 9 May 2017 03:13:41 +0000 (11:13 +0800)]
Fixed tests when using cumstom php.ini(session.save_handler)
Xinchen Hui [Tue, 9 May 2017 03:04:39 +0000 (11:04 +0800)]
Merge branch 'fix_74541' of https://github.com/villfa/php-src into PHP-7.0
* 'fix_74541' of https://github.com/villfa/php-src:
Fix Bug #74541 Wrong reflection on session_start()
Xinchen Hui [Tue, 9 May 2017 03:01:33 +0000 (11:01 +0800)]
Merge branch 'patch-1' of https://github.com/ifdattic/php-src into PHP-7.0
* 'patch-1' of https://github.com/ifdattic/php-src:
Fix typo: exectute => execute
Fabien Villepinte [Mon, 8 May 2017 20:42:09 +0000 (22:42 +0200)]
Fix Bug #74541 Wrong reflection on session_start()
Anatol Belski [Mon, 8 May 2017 17:38:48 +0000 (19:38 +0200)]
sync bin sdk version
Anatol Belski [Mon, 8 May 2017 11:09:15 +0000 (13:09 +0200)]
[ci skip] update libs versions file
Andrew Marcinkevičius [Mon, 8 May 2017 10:59:05 +0000 (13:59 +0300)]
Fix typo: exectute => execute
Xinchen Hui [Mon, 8 May 2017 03:36:07 +0000 (11:36 +0800)]
Fixed another potential dangling pointer
Xinchen Hui [Mon, 8 May 2017 03:32:08 +0000 (11:32 +0800)]
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
Anatol Belski [Sun, 7 May 2017 11:04:21 +0000 (13:04 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 6 May 2017 13:06:34 +0000 (15:06 +0200)]
Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
Anatol Belski [Tue, 2 May 2017 12:53:32 +0000 (14:53 +0200)]
[ci skip] update NEWS
Christian Weiske [Fri, 21 Apr 2017 19:20:00 +0000 (21:20 +0200)]
Fixed bug #51918 Phar::webPhar() does not handle requests sent through PUT and DELETE method
phar: Support DELETE, HEAD and PUT HTTP methods in Phar::webPhar
Up to now only GET and POST requests could be handled with Phar::webPhar(),
which is insufficient for today's REST APIs.
This patch expands the list of supported HTTP methods.
Anatol Belski [Tue, 2 May 2017 10:38:04 +0000 (12:38 +0200)]
[ci skip] update NEWS
Anatol Belski [Tue, 2 May 2017 10:31:00 +0000 (12:31 +0200)]
Fixed bug #74510 win32/sendmail.c anchors CC header but not BCC
Fabien Villepinte [Mon, 17 Apr 2017 09:20:47 +0000 (11:20 +0200)]
Fix bug #74457 Wrong reflection on XMLReader::expand
Fabien Villepinte [Tue, 18 Apr 2017 15:03:42 +0000 (17:03 +0200)]
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
Anatol Belski [Mon, 1 May 2017 16:01:05 +0000 (18:01 +0200)]
Tests to ensure BC with undocumented behavior used in hacks
Should become obsolete, once behaviors change.
Nikita Popov [Mon, 1 May 2017 10:14:53 +0000 (12:14 +0200)]
Fix typo in SplFixedArray has_dimension implementation
Michael Heimpold [Mon, 17 Apr 2017 22:22:34 +0000 (00:22 +0200)]
Fix compiler warnings when compiled against musl libc
musl libc is complaining when <sys/poll.h> is used instead of <poll.h>
so change this.
This issue was reported for OpenWrt/LEDE where musl libc is the standard
C library instead of e.g. glibc, see the following link for the original PR:
https://github.com/openwrt/packages/pull/4263
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
--
v3: refined checks/fallback paths as suggested by @bukka
v2: rebased to resolve merge conflict in main/php_network.h
v1: initial PR
Jakub Zelenka [Thu, 27 Apr 2017 14:44:26 +0000 (15:44 +0100)]
Fix possible memory leak in openssl_encrypt and openssl_decrypt
Jakub Zelenka [Thu, 27 Apr 2017 14:10:55 +0000 (15:10 +0100)]
Prefer using DIRECTORY_SEPARATOR in OpenSSL config path
Jakub Zelenka [Thu, 27 Apr 2017 14:09:58 +0000 (15:09 +0100)]
Add oid_section to the testing openssl.cnf
It tests repeated OID addition
Anatol Belski [Thu, 27 Apr 2017 09:35:00 +0000 (11:35 +0200)]
[ci skip] update NEWS
Anatol Belski [Thu, 27 Apr 2017 00:49:12 +0000 (02:49 +0200)]
Revert "Detect invalid port in xp_socket parse ip address"
This reverts commit
bab0b99f376dac9170ac81382a5ed526938d595a .
Anatol Belski [Thu, 27 Apr 2017 00:49:01 +0000 (02:49 +0200)]
Revert "Follow up patch regarding bug #74216, see bug #74429"
This reverts commit
cda7dcf4cacef3346f9dc2a4dc947e6a74769259 .
Anatol Belski [Wed, 26 Apr 2017 15:04:29 +0000 (17:04 +0200)]
sync bin sdk version
Jakub Zelenka [Wed, 3 Aug 2016 19:01:41 +0000 (20:01 +0100)]
Do not add already added object to the internal OpenSSL table
This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.
Remi Collet [Wed, 26 Apr 2017 12:41:40 +0000 (14:41 +0200)]
rely on bundle config, instead of system one
Anatol Belski [Thu, 23 Mar 2017 02:09:30 +0000 (03:09 +0100)]
skip the test on OpenSSL < 1.1 for now
Anatol Belski [Tue, 25 Apr 2017 12:06:17 +0000 (14:06 +0200)]
move next
Anatol Belski [Tue, 25 Apr 2017 11:59:20 +0000 (13:59 +0200)]
[ci skip] update NEWS
Sara Golemon [Tue, 25 Apr 2017 10:52:48 +0000 (12:52 +0200)]
Follow up patch regarding bug #74216, see bug #74429
While the case in bug #74429 is not documented and is only worky due to
an implementation bug, the strength seems to breach some real world
apps. Given this patch doesn't impact the initial security fix for
bug #74216, it is reasonable to let the apps keep working. As mentioned
in the ticket, this behavior is a subject to change in future versions
and should not be abused.
Anatol Belski [Mon, 24 Apr 2017 20:10:32 +0000 (22:10 +0200)]
don't backup older deps after upgrades
Anatol Belski [Mon, 24 Apr 2017 20:08:45 +0000 (22:08 +0200)]
update SDK version for AppVeyor
Jakub Zelenka [Mon, 24 Apr 2017 16:11:36 +0000 (17:11 +0100)]
Fix bug #73833 (null character not allowed in openssl_pkey_get_private)
Anatol Belski [Mon, 24 Apr 2017 13:46:22 +0000 (15:46 +0200)]
Support also no,shared configure arg vals by default
This indirectly fixes bug #74398 where --with-extname is expected to be
configured shared with our default dependency package. With a non
default deps, it still can be enforced --with-extname=static
Jakub Zelenka [Sun, 23 Apr 2017 20:03:35 +0000 (21:03 +0100)]
Add missing NEWS entries for 7.0.19
Anatol Belski [Sun, 23 Apr 2017 19:27:34 +0000 (21:27 +0200)]
extend zlib export required for the recent libpng
Jakub Zelenka [Sun, 23 Apr 2017 19:30:14 +0000 (20:30 +0100)]
Fix bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH key)
Anatol Belski [Sat, 22 Apr 2017 20:39:59 +0000 (22:39 +0200)]
[ci skip] update NEWS
Anton Serbulov [Fri, 14 Apr 2017 08:26:13 +0000 (15:26 +0700)]
#74337 pointer returned by php_stream_fopen_tmpfile not validated in memory.c
Steve Walk [Tue, 18 Apr 2017 15:43:03 +0000 (08:43 -0700)]
Avoid exact floating point comparison
Alexander Ilyin [Tue, 18 Apr 2017 09:44:34 +0000 (02:44 -0700)]
Update php_network.h
```
In file included from /usr/local/include/php/main/php_network.h:124:0,
from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
```
Michael Heimpold [Thu, 13 Apr 2017 20:43:26 +0000 (22:43 +0200)]
ext/gettext: respect passed in library directory for all checks
A directory given to configure by --with-gettext=dir is only
used within the very first AC_CHECK_LIB. This is because the
temporary modified LDFLAGS variable is reset too early.
This results in functions not detected properly.
The original issue and patch was reported for OpenWrt/LEDE
distribution by @Dimazhan at:
https://github.com/openwrt/packages/issues/4250
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Craig Duncan [Sat, 1 Apr 2017 16:56:31 +0000 (17:56 +0100)]
Fixed bug #74080 Add datetime constant for RFC7231
Fabien Villepinte [Fri, 14 Apr 2017 12:08:26 +0000 (14:08 +0200)]
Fixed bug #74439 Wrong reflection on the Locale methods
Anatol Belski [Sun, 16 Apr 2017 12:54:19 +0000 (14:54 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 15 Apr 2017 17:30:30 +0000 (19:30 +0200)]
improve/fix error handling
GetLastError() should not be called, if the function didn't fail.
Anatol Belski [Sat, 15 Apr 2017 16:14:25 +0000 (18:14 +0200)]
fix error handling
Nikita Popov [Sat, 15 Apr 2017 16:06:42 +0000 (18:06 +0200)]
Improve accuracy of opline lineno information
If compile_var() was used instead of compile_expr() we did not
update the current lineno.
Nikita Popov [Sat, 15 Apr 2017 10:35:09 +0000 (12:35 +0200)]
Fix compact_literals of INIT_METHOD_CALL with CONST op1
Johannes Schlüter [Fri, 14 Apr 2017 14:30:10 +0000 (16:30 +0200)]
Add support for MySQL 8's Unicode types
Fabien Villepinte [Thu, 13 Apr 2017 11:25:13 +0000 (13:25 +0200)]
Fixed bug #74433 Wrong reflection on the Normalizer methods
Remi Collet [Thu, 13 Apr 2017 05:10:37 +0000 (07:10 +0200)]
NEWS
Fabien Villepinte [Tue, 11 Apr 2017 15:26:03 +0000 (17:26 +0200)]
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
Christopher Jones [Wed, 12 Apr 2017 04:02:46 +0000 (14:02 +1000)]
Fixed uninitialized data causing random crash (Dmitry)
Christopher Jones [Wed, 12 Apr 2017 03:23:19 +0000 (13:23 +1000)]
Add missing NEWS
Anatol Belski [Tue, 11 Apr 2017 11:48:04 +0000 (13:48 +0200)]
Fix misleading typo in identifiers
Joe Watkins [Tue, 11 Apr 2017 11:13:21 +0000 (12:13 +0100)]
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
Xinchen Hui [Tue, 11 Apr 2017 10:46:16 +0000 (18:46 +0800)]
Fixed bug #74408 (Endless loop bypassing execution time limit)
Anatol Belski [Tue, 11 Apr 2017 08:59:45 +0000 (10:59 +0200)]
fix re2c version comparison
Matt Ficken [Tue, 11 Apr 2017 08:54:57 +0000 (01:54 -0700)]
Fix #74410 by calling WaitForMultipleObjects() instead of
MsgWaitForMultipleObjects()
Sebastian Bergmann [Tue, 11 Apr 2017 06:27:17 +0000 (08:27 +0200)]
Fix bug #74409
Nikita Popov [Mon, 10 Apr 2017 20:26:14 +0000 (22:26 +0200)]
Forgot to commit test file...
Nikita Popov [Mon, 10 Apr 2017 20:09:34 +0000 (22:09 +0200)]
Fix JMPZ+JMP => NOP+JMP optimization
Joe Watkins [Mon, 10 Apr 2017 11:51:17 +0000 (12:51 +0100)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Joe Watkins [Mon, 10 Apr 2017 11:48:51 +0000 (12:48 +0100)]
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)
Xinchen Hui [Mon, 10 Apr 2017 11:02:50 +0000 (19:02 +0800)]
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
Joe Watkins [Mon, 10 Apr 2017 07:07:24 +0000 (08:07 +0100)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Fixed condition check
Fixed issue #2466 Invalid integer constant expression error in php.h
Joe Watkins [Mon, 10 Apr 2017 07:05:31 +0000 (08:05 +0100)]
Fixed bug #74400 (phpdbg comparing socket function to int)
Xinchen Hui [Mon, 10 Apr 2017 06:47:24 +0000 (14:47 +0800)]
Fixed condition check
Xinchen Hui [Mon, 10 Apr 2017 06:41:29 +0000 (14:41 +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:
fix news
Fix of Bug #74383: Wrong reflection on Phar::running
Xinchen Hui [Mon, 10 Apr 2017 06:40:44 +0000 (14:40 +0800)]
Fixed issue #2466 Invalid integer constant expression error in php.h
Joe Watkins [Mon, 10 Apr 2017 05:44:20 +0000 (06:44 +0100)]
fix news
Mitch Hagstrand [Sun, 9 Apr 2017 22:30:35 +0000 (15:30 -0700)]
Fix of Bug #74383: Wrong reflection on Phar::running