]> granicus.if.org Git - php/log
php
9 years agoEnable format checking for strpprintf
Xinchen Hui [Thu, 27 Aug 2015 03:42:50 +0000 (11:42 +0800)]
Enable format checking for strpprintf

9 years agoFixed printing
Xinchen Hui [Thu, 27 Aug 2015 03:34:52 +0000 (11:34 +0800)]
Fixed printing

9 years agomake overflow checks as unexpected
Anatol Belski [Wed, 26 Aug 2015 19:03:55 +0000 (21:03 +0200)]
make overflow checks as unexpected

it's supposed to mark an error case

9 years agoUse new range checks in openssl ext
Jakub Zelenka [Wed, 26 Aug 2015 18:55:16 +0000 (19:55 +0100)]
Use new range checks in openssl ext

9 years agoMark parse error functions as cold
Dmitry Stogov [Wed, 26 Aug 2015 15:29:42 +0000 (18:29 +0300)]
Mark parse error functions as cold

9 years agoRemoved unused functions
Dmitry Stogov [Wed, 26 Aug 2015 15:29:23 +0000 (18:29 +0300)]
Removed unused functions

9 years agofix year in the header
Anatol Belski [Wed, 26 Aug 2015 15:10:23 +0000 (17:10 +0200)]
fix year in the header

9 years agoadd range check to ext/soap
Anatol Belski [Wed, 26 Aug 2015 12:18:42 +0000 (14:18 +0200)]
add range check to ext/soap

9 years agoadd some range checks to pcre
Anatol Belski [Tue, 25 Aug 2015 20:47:23 +0000 (22:47 +0200)]
add some range checks to pcre

9 years agomore range checks in ext/tidy
Anatol Belski [Tue, 25 Aug 2015 19:33:38 +0000 (21:33 +0200)]
more range checks in ext/tidy

9 years agoadd range checks to ext/tidy
Anatol Belski [Tue, 25 Aug 2015 18:32:43 +0000 (20:32 +0200)]
add range checks to ext/tidy

9 years agoadd some range checks to ext/dom
Anatol Belski [Tue, 25 Aug 2015 15:54:27 +0000 (17:54 +0200)]
add some range checks to ext/dom

9 years agofix test
Anatol Belski [Tue, 25 Aug 2015 15:38:11 +0000 (17:38 +0200)]
fix test

9 years agoadd range checks to simplexml
Anatol Belski [Tue, 25 Aug 2015 15:37:35 +0000 (17:37 +0200)]
add range checks to simplexml

9 years agofix typo
Anatol Belski [Tue, 25 Aug 2015 13:30:57 +0000 (15:30 +0200)]
fix typo

9 years agoinclude range checks with the portability header
Anatol Belski [Tue, 25 Aug 2015 09:58:13 +0000 (11:58 +0200)]
include range checks with the portability header

9 years agoadded basic stuff with the zend_range_check.h
Anatol Belski [Tue, 25 Aug 2015 09:40:44 +0000 (11:40 +0200)]
added basic stuff with the zend_range_check.h

9 years agoAvoid duplication
Dmitry Stogov [Wed, 26 Aug 2015 11:53:41 +0000 (14:53 +0300)]
Avoid duplication

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Wed, 26 Aug 2015 11:24:05 +0000 (21:24 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoSquash some more PHP 7 diffs and improve test portability (Senthil)
Christopher Jones [Wed, 26 Aug 2015 11:22:58 +0000 (21:22 +1000)]
Squash some more PHP 7 diffs and improve test portability (Senthil)

9 years agoFix Typos: exteption -> exception
Niklas Keller [Wed, 26 Aug 2015 05:30:56 +0000 (07:30 +0200)]
Fix Typos: exteption -> exception

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Wed, 26 Aug 2015 04:35:41 +0000 (14:35 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoFixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data)
Dmitry Stogov [Wed, 26 Aug 2015 00:27:05 +0000 (03:27 +0300)]
Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data)

9 years agoFix zend_vm_call_opcode_handler (e.g. Generators throwing exceptions) with IP/FP...
Bob Weinand [Tue, 25 Aug 2015 23:25:25 +0000 (00:25 +0100)]
Fix zend_vm_call_opcode_handler (e.g. Generators throwing exceptions) with IP/FP registers

9 years agoAvoid array duplication
Dmitry Stogov [Tue, 25 Aug 2015 19:40:33 +0000 (22:40 +0300)]
Avoid array duplication

9 years agoRemove superfluous forward declaration
Christoph M. Becker [Tue, 25 Aug 2015 12:26:55 +0000 (14:26 +0200)]
Remove superfluous forward declaration

mysqli_get_cache_stats() has been removed with commit f9ad56e; we're finally
getting rid of its remaining forward declaration.

9 years agofix build, use exported symbol
Anatol Belski [Tue, 25 Aug 2015 08:39:43 +0000 (10:39 +0200)]
fix build, use exported symbol

9 years agoAssign CPU registers for GOTO and SWITCH executor as well
Dmitry Stogov [Mon, 24 Aug 2015 23:38:06 +0000 (02:38 +0300)]
Assign CPU registers for GOTO and SWITCH executor as well

9 years agoupdated NEWS
Christoph M. Becker [Mon, 24 Aug 2015 21:16:21 +0000 (23:16 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Mon, 24 Aug 2015 21:11:03 +0000 (23:11 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #67131: setcookie() conditional for empty values not met

Resolved conflicts:
ext/standard/head.c

9 years agoupdated NEWS
Christoph M. Becker [Mon, 24 Aug 2015 21:05:18 +0000 (23:05 +0200)]
updated NEWS

9 years agoFix #67131: setcookie() conditional for empty values not met
Christoph M. Becker [Mon, 24 Aug 2015 21:03:50 +0000 (23:03 +0200)]
Fix #67131: setcookie() conditional for empty values not met

PHP applies a workaround for old MSIE where setting an empty cookie value would
not delete the cookie. This workaround is only triggered if an empty string (or
a value that converts to an empty string) is actually given as $value parameter
of setcookie. If the $value parameter is omitted, an empty cookie value is
sent. This commit fixes the inconsistent behavior.

9 years agoIn 95% cases we initialize "empty" array (with 8 hash slots).
Dmitry Stogov [Mon, 24 Aug 2015 19:07:28 +0000 (22:07 +0300)]
In 95% cases we initialize "empty" array (with 8 hash slots).

9 years agoMark error functions as "cold"
Dmitry Stogov [Mon, 24 Aug 2015 15:07:59 +0000 (18:07 +0300)]
Mark error functions as "cold"

9 years agoFixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)
Xinchen Hui [Mon, 24 Aug 2015 13:09:16 +0000 (21:09 +0800)]
Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't working)

9 years agoFix oplog with eval()ed code
Bob Weinand [Mon, 24 Aug 2015 11:28:35 +0000 (12:28 +0100)]
Fix oplog with eval()ed code

9 years agoOptimize fast path
Dmitry Stogov [Mon, 24 Aug 2015 09:47:06 +0000 (12:47 +0300)]
Optimize fast path

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sun, 23 Aug 2015 20:56:51 +0000 (22:56 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix test
  fix test
  fix test
  fix test

9 years agoadded test for gzgetss()
marcosptf [Thu, 20 Aug 2015 11:34:29 +0000 (08:34 -0300)]
added test for gzgetss()

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:06:51 +0000 (13:06 +0200)]
fix test

backport from master

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:06:00 +0000 (13:06 +0200)]
fix test

backport from master

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:04:36 +0000 (13:04 +0200)]
fix test

9 years agofix test
Anatol Belski [Sun, 23 Aug 2015 11:03:26 +0000 (13:03 +0200)]
fix test

backported from master

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Sun, 23 Aug 2015 12:42:10 +0000 (20:42 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed Bug #70332 (Wrong behavior while returning reference on object)
Xinchen Hui [Sun, 23 Aug 2015 12:17:26 +0000 (20:17 +0800)]
Fixed Bug #70332 (Wrong behavior while returning reference on object)

This fix is actually made for array acessing bug fix (#70262) which is
discarded since we have another better fix, anyway now seems this is still useful

9 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Sun, 23 Aug 2015 11:19:31 +0000 (12:19 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6'

9 years agoFix phpdbg_break_next()
Bob Weinand [Sun, 23 Aug 2015 11:07:14 +0000 (12:07 +0100)]
Fix phpdbg_break_next()

9 years agoFix phpdbg_break_next() and add test
Bob Weinand [Sun, 23 Aug 2015 10:58:32 +0000 (11:58 +0100)]
Fix phpdbg_break_next() and add test

9 years agoFixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
Xinchen Hui [Sun, 23 Aug 2015 05:01:47 +0000 (13:01 +0800)]
Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")

9 years agoRe-Fixed bug #70321 (Magic getter breaks reference to array property)
Xinchen Hui [Sun, 23 Aug 2015 03:40:49 +0000 (11:40 +0800)]
Re-Fixed bug #70321 (Magic getter breaks reference to array property)

9 years agoRevert "Fixed bug #70321 (Magic getter breaks reference to array property)"
Xinchen Hui [Sun, 23 Aug 2015 02:40:28 +0000 (10:40 +0800)]
Revert "Fixed bug #70321 (Magic getter breaks reference to array property)"

This reverts commit 66754585f889e56ddaf3442fd4ac7b9adf93417b.

9 years agoFixed bug #70321 (Magic getter breaks reference to array property)
Bob Weinand [Sat, 22 Aug 2015 22:54:59 +0000 (23:54 +0100)]
Fixed bug #70321 (Magic getter breaks reference to array property)
Note that the UNEXPECTED(zv) was turned into EXPECTED(zv), as zv is mostly set in the context where it is used and usually anyway is checked first with OP*_TYPE == IS_VAR; or maybe just completely remove that (UN)EXPECTED at this place...

9 years agoFix issues with phpdbg SIGINT handler
Bob Weinand [Fri, 21 Aug 2015 22:36:31 +0000 (23:36 +0100)]
Fix issues with phpdbg SIGINT handler
Also fix valgrind warnings in allocator when not using mmap()ed memory

9 years agomake this test Windows only
Anatol Belski [Fri, 21 Aug 2015 17:47:17 +0000 (19:47 +0200)]
make this test Windows only

as we're not in control of the libxml builds everywhere

9 years agohere string isn't supported by every shell
Anatol Belski [Fri, 21 Aug 2015 17:11:53 +0000 (19:11 +0200)]
here string isn't supported by every shell

9 years ago$() isn't supported on every shell
Ferenc Kovacs [Fri, 21 Aug 2015 16:27:03 +0000 (18:27 +0200)]
$() isn't supported on every shell

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 21 Aug 2015 13:48:03 +0000 (15:48 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix tests
  fix dir separator
  fix dir separator in test
  fix dir separator in test

9 years agofix tests
Anatol Belski [Fri, 21 Aug 2015 13:13:39 +0000 (15:13 +0200)]
fix tests

9 years agofix dir separator
Anatol Belski [Fri, 21 Aug 2015 12:08:33 +0000 (14:08 +0200)]
fix dir separator

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:05:58 +0000 (14:05 +0200)]
fix dir separator in test

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:04:08 +0000 (14:04 +0200)]
fix dir separator in test

9 years agounnecessary 1 byte allocted
Xinchen Hui [Fri, 21 Aug 2015 10:28:02 +0000 (18:28 +0800)]
unnecessary 1 byte allocted

9 years agoadd test for bug 70309
Anatol Belski [Fri, 21 Aug 2015 09:47:00 +0000 (11:47 +0200)]
add test for bug 70309

9 years agonote to UPGRADING
Anatol Belski [Thu, 20 Aug 2015 16:48:52 +0000 (18:48 +0200)]
note to UPGRADING

9 years agoFix invalid range error by gawk in order_by_dek.awk
Bob Weinand [Tue, 4 Nov 2014 12:17:35 +0000 (13:17 +0100)]
Fix invalid range error by gawk in order_by_dek.awk

9 years agoRemove assumption that extensions are in ext/ext-name
Bob Weinand [Sun, 2 Nov 2014 22:25:49 +0000 (23:25 +0100)]
Remove assumption that extensions are in ext/ext-name
Fixes also a weird ln (symlink) hack for phpdbg

9 years agoMove __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier
Sara Golemon [Thu, 20 Aug 2015 21:40:08 +0000 (14:40 -0700)]
Move __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier

These defines should apply to windows as well,
so move them out of the non-windows specific section
and always define them for C++ compilations.

9 years agoFix bogus traces with ReflectionGenerator::getTrace()
Bob Weinand [Thu, 20 Aug 2015 21:24:28 +0000 (23:24 +0200)]
Fix bogus traces with ReflectionGenerator::getTrace()

9 years agoEnable definitions of stdint.h limits/constants used by Zend/zend_long.h
Sara Golemon [Thu, 20 Aug 2015 18:09:43 +0000 (11:09 -0700)]
Enable definitions of stdint.h limits/constants used by Zend/zend_long.h

Define __STDC_LIMITS_MACROS and __STDC_CONSTANT_MACROS
prior to including stdint.h for the first time so that it
defines the INT64_MAX / INT64_C / etc... macros we use elsewhere
when building for C++ (C already gets these).

9 years agoAdd overflow check for openssl_pkcs12_read
Jakub Zelenka [Thu, 20 Aug 2015 18:29:54 +0000 (19:29 +0100)]
Add overflow check for openssl_pkcs12_read

9 years agoone new line too much
Anatol Belski [Thu, 20 Aug 2015 09:35:46 +0000 (11:35 +0200)]
one new line too much

9 years agofork test
Anatol Belski [Wed, 19 Aug 2015 23:07:57 +0000 (01:07 +0200)]
fork test

9 years agoRemove path from test
Nikita Popov [Thu, 20 Aug 2015 10:58:36 +0000 (12:58 +0200)]
Remove path from test

9 years agoDon't allow leading \ in group use decl list
Nikita Popov [Thu, 20 Aug 2015 09:47:43 +0000 (11:47 +0200)]
Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the initial implementation.

9 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Thu, 20 Aug 2015 07:57:49 +0000 (09:57 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  5.6.14 next

9 years ago5.6.14 next
Ferenc Kovacs [Thu, 20 Aug 2015 07:56:47 +0000 (09:56 +0200)]
5.6.14 next

9 years agoFixed bug #70308 (PDO::ATTR_PREFETCH is ignored)
Christopher Jones [Thu, 20 Aug 2015 04:09:30 +0000 (14:09 +1000)]
Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored)

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Thu, 20 Aug 2015 03:57:39 +0000 (13:57 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoMerge branch 'pull-request/1471'
Christoph M. Becker [Wed, 19 Aug 2015 20:27:39 +0000 (22:27 +0200)]
Merge branch 'pull-request/1471'

* pull-request/1471:
  add test for php_enchant_broker_free()

9 years agoadd test for php_enchant_broker_free()
marcosptf [Sat, 15 Aug 2015 10:27:57 +0000 (07:27 -0300)]
add test for php_enchant_broker_free()

9 years agoMerge branch 'pull-request/1472'
Christoph M. Becker [Wed, 19 Aug 2015 20:16:42 +0000 (22:16 +0200)]
Merge branch 'pull-request/1472'

* pull-request/1472:
  This is a new test for enchant_broker_free_dict(). This function never was covered by .phpt

9 years agoThis is a new test for enchant_broker_free_dict().
marcosptf [Sun, 16 Aug 2015 17:45:14 +0000 (14:45 -0300)]
This is a new test for enchant_broker_free_dict().
This function never was covered by .phpt

9 years agoMerge branch 'pull-request/1475'
Christoph M. Becker [Wed, 19 Aug 2015 19:59:40 +0000 (21:59 +0200)]
Merge branch 'pull-request/1475'

* pull-request/1475:
  testing enchant_broker_(g|s)et_dict_path

9 years agotesting enchant_broker_(g|s)et_dict_path
marcosptf [Mon, 17 Aug 2015 23:22:37 +0000 (20:22 -0300)]
testing enchant_broker_(g|s)et_dict_path

9 years agoAdd overflow checks for openssl_pkey_* functions
Jakub Zelenka [Wed, 19 Aug 2015 19:10:14 +0000 (20:10 +0100)]
Add overflow checks for openssl_pkey_* functions

9 years agoMove overflow checks in openssl_pbkdf2
Jakub Zelenka [Wed, 19 Aug 2015 19:06:58 +0000 (20:06 +0100)]
Move overflow checks in openssl_pbkdf2

9 years agoRevert "fix occasional fail in zip_close when target arc exists"
Anatol Belski [Wed, 19 Aug 2015 16:54:23 +0000 (18:54 +0200)]
Revert "fix occasional fail in zip_close when target arc exists"

This reverts commit ed78d59a1dc9d84cf6ce77fbad94ab7e2f860cb5.

9 years agofix config.w32 to include suitable lib files
Anatol Belski [Wed, 19 Aug 2015 16:52:33 +0000 (18:52 +0200)]
fix config.w32 to include suitable lib files

9 years agoFixed typo
Dmitry Stogov [Wed, 19 Aug 2015 16:15:30 +0000 (19:15 +0300)]
Fixed typo

9 years agoupdated NEWS
Christoph M. Becker [Wed, 19 Aug 2015 14:35:17 +0000 (16:35 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 19 Aug 2015 14:33:40 +0000 (16:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70303: Incorrect constructor reflection for ArrayObject

9 years agoupdated NEWS
Christoph M. Becker [Wed, 19 Aug 2015 14:25:59 +0000 (16:25 +0200)]
updated NEWS

9 years agoFix #70303: Incorrect constructor reflection for ArrayObject
Christoph M. Becker [Wed, 19 Aug 2015 14:22:04 +0000 (16:22 +0200)]
Fix #70303: Incorrect constructor reflection for ArrayObject

The first parameter of ArrayObject::__construct() is optional. Reflection
should reflect this.

9 years agoimprove error message
Anatol Belski [Wed, 19 Aug 2015 13:21:56 +0000 (15:21 +0200)]
improve error message

9 years agofix occasional fail in zip_close when target arc exists
Anatol Belski [Wed, 19 Aug 2015 13:19:44 +0000 (15:19 +0200)]
fix occasional fail in zip_close when target arc exists

9 years agoFixed typo in proper place
Dmitry Stogov [Wed, 19 Aug 2015 12:45:39 +0000 (15:45 +0300)]
Fixed typo in proper place

9 years agoFixed typo
Dmitry Stogov [Wed, 19 Aug 2015 12:15:17 +0000 (15:15 +0300)]
Fixed typo

9 years agoMark error and exception functions as "cold" (Matt's idea)
Dmitry Stogov [Wed, 19 Aug 2015 11:40:56 +0000 (14:40 +0300)]
Mark error and exception functions as "cold" (Matt's idea)

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Wed, 19 Aug 2015 10:41:46 +0000 (18:41 +0800)]
Merge branch 'PHP-5.6'

9 years agoFixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start)
Xinchen Hui [Wed, 19 Aug 2015 10:41:28 +0000 (18:41 +0800)]
Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start)