]>
granicus.if.org Git - php/log
Anthony Ferrara [Thu, 19 Mar 2015 21:51:19 +0000 (17:51 -0400)]
Add check for maintaining reference all the way through both type and return values
Anthony Ferrara [Thu, 19 Mar 2015 21:47:43 +0000 (17:47 -0400)]
Reduce the number of times that the zval needs to be separated in return type checking to those that are necessary
Anthony Ferrara [Thu, 19 Mar 2015 18:11:48 +0000 (14:11 -0400)]
Add test to ensure namespaced code can't use scalar types as class names
Anthony Ferrara [Thu, 19 Mar 2015 18:07:03 +0000 (14:07 -0400)]
Disallow relative namespace type declarations
Anthony Ferrara [Thu, 19 Mar 2015 17:51:24 +0000 (13:51 -0400)]
Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse
Anthony Ferrara [Thu, 19 Mar 2015 17:30:11 +0000 (13:30 -0400)]
Refactor as to not use call info, but add the flag to the op_array.
Anthony Ferrara [Thu, 19 Mar 2015 16:26:34 +0000 (12:26 -0400)]
Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come
Anthony Ferrara [Wed, 18 Mar 2015 22:38:16 +0000 (18:38 -0400)]
Fix C89 compatibility by moving a misplaced if statement
Anthony Ferrara [Wed, 18 Mar 2015 22:24:00 +0000 (18:24 -0400)]
Refactor gotos into more elaborate ifs to eliminate goto failure
Anthony Ferrara [Wed, 18 Mar 2015 22:10:08 +0000 (18:10 -0400)]
Fix return type separation with references. It now includes a check in the opcode handler and properly separates the value in both cases
Anthony Ferrara [Wed, 18 Mar 2015 20:53:45 +0000 (16:53 -0400)]
Add error case with invalid type declaration default value
Anthony Ferrara [Wed, 18 Mar 2015 20:50:51 +0000 (16:50 -0400)]
Add tests for using constants as defaults with scalar type declarations
Anthony Ferrara [Wed, 18 Mar 2015 20:38:51 +0000 (16:38 -0400)]
Refactor error messages to only append defined in the event of rendering as a fatal error. Fix relative typehints to not work
Anthony Ferrara [Wed, 18 Mar 2015 20:14:02 +0000 (16:14 -0400)]
Revert gd and mysqli to former calls for arg count errors. Fix first identified issues with zend_compile.c from nikic. Add tests for generator returns prior to first yield
Anthony Ferrara [Wed, 18 Mar 2015 19:45:16 +0000 (15:45 -0400)]
Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH_RETVAL
Anthony Ferrara [Wed, 18 Mar 2015 19:42:49 +0000 (15:42 -0400)]
Clean up API renames for zend_wrong_param_count to maintain BC, introducing a zend_wrong_param_count_ex() function when you know strict value
Anthony Ferrara [Wed, 18 Mar 2015 19:22:21 +0000 (15:22 -0400)]
Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages
Anthony Ferrara [Wed, 18 Mar 2015 16:42:09 +0000 (12:42 -0400)]
Fix more tests, improve error messages in failure output for thrown exception
Anthony Ferrara [Wed, 18 Mar 2015 16:23:09 +0000 (12:23 -0400)]
Refactor error implementation significantly to centralize error mode behavior. Add zend_internal_type_error() function
Anthony Ferrara [Wed, 18 Mar 2015 14:50:11 +0000 (10:50 -0400)]
Merge in master, fix merge conflicts and update patch to support exceptions everywhere
Xinchen Hui [Wed, 18 Mar 2015 14:09:57 +0000 (22:09 +0800)]
Better make this be consistent with DO_ICALL/DO_CALL
Revert "Use more specific op type"
This reverts commit
9b07ed6dcc6f0f77fa75ee6a5c2b21298b87f509 .
Anatol Belski [Wed, 18 Mar 2015 13:25:40 +0000 (14:25 +0100)]
strtod shouldn't recognize hex strings
Dmitry Stogov [Wed, 18 Mar 2015 13:15:00 +0000 (16:15 +0300)]
Enabled global register variables for PPC
Xinchen Hui [Wed, 18 Mar 2015 12:56:28 +0000 (20:56 +0800)]
Use more specific op type
Dmitry Stogov [Wed, 18 Mar 2015 12:31:29 +0000 (15:31 +0300)]
Reimplemented special constant handling. Now __HALT_COMPILER_OFFSET__ is resolved at compile-time. __CLASS__ retrived using separate ZEND_FETCH_CLASS_NAME opcode.
Dmitry Stogov [Wed, 18 Mar 2015 12:25:27 +0000 (15:25 +0300)]
Revert "Improved zend_get_special_constant"
This reverts commit
624eb49e78b7ae50a85bb4b9c4dc601395fbe71e .
Julien Pauli [Wed, 18 Mar 2015 10:35:04 +0000 (11:35 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Julien Pauli [Wed, 18 Mar 2015 10:34:56 +0000 (11:34 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Julien Pauli [Wed, 18 Mar 2015 10:34:45 +0000 (11:34 +0100)]
Updated NEWS
Julien Pauli [Wed, 18 Mar 2015 09:56:03 +0000 (10:56 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Julien Pauli [Wed, 18 Mar 2015 09:55:49 +0000 (10:55 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Julien Pauli [Wed, 18 Mar 2015 09:55:32 +0000 (10:55 +0100)]
Updated NEWS
Stanislav Malyshev [Wed, 18 Mar 2015 05:39:28 +0000 (22:39 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
5.4.40 next
Stanislav Malyshev [Wed, 18 Mar 2015 05:39:21 +0000 (22:39 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
5.4.40 next
Stanislav Malyshev [Wed, 18 Mar 2015 05:39:10 +0000 (22:39 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
5.4.40 next
Conflicts:
configure.in
main/php_version.h
Stanislav Malyshev [Wed, 18 Mar 2015 05:37:16 +0000 (22:37 -0700)]
5.4.40 next
Stanislav Malyshev [Wed, 18 Mar 2015 05:04:39 +0000 (22:04 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
update NEWS
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
oops, no idea how this got in
Fix bug #69248 - heap overflow vulnerability in regcomp.c
add test for bug #68976
add NEWS
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
update news
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
fix tests
Fix bug #69207 - move_uploaded_file allows nulls in path
Conflicts:
ext/ereg/regex/regcomp.c
ext/standard/basic_functions.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
win32/registry.c
Stanislav Malyshev [Wed, 18 Mar 2015 05:02:57 +0000 (22:02 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update NEWS
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
Conflicts:
ext/zip/lib/zip_dirent.c
Stanislav Malyshev [Wed, 18 Mar 2015 05:00:53 +0000 (22:00 -0700)]
update NEWS
Stanislav Malyshev [Wed, 18 Mar 2015 05:00:29 +0000 (22:00 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
Stanislav Malyshev [Wed, 18 Mar 2015 04:59:56 +0000 (21:59 -0700)]
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
Xinchen Hui [Wed, 18 Mar 2015 04:28:27 +0000 (12:28 +0800)]
Re-fix tests
Xinchen Hui [Wed, 18 Mar 2015 04:27:13 +0000 (12:27 +0800)]
Revert "fix tests"
This reverts commit
38e15d89d7b5efdabb599b2894219e3bd9739cfd .
Xinchen Hui [Wed, 18 Mar 2015 04:26:56 +0000 (12:26 +0800)]
Revert "Fixed tests"
This reverts commit
f57f1a903d7d2bff023c67f17626ddedda918bd4 .
Xinchen Hui [Wed, 18 Mar 2015 04:22:07 +0000 (12:22 +0800)]
Improved zend_get_special_constant
Xinchen Hui [Wed, 18 Mar 2015 04:19:56 +0000 (12:19 +0800)]
Fixed tests
Stanislav Malyshev [Wed, 18 Mar 2015 00:10:49 +0000 (17:10 -0700)]
forgot to commit this one
Stanislav Malyshev [Wed, 18 Mar 2015 00:03:46 +0000 (17:03 -0700)]
add test for bug #68976
Stanislav Malyshev [Wed, 18 Mar 2015 00:13:50 +0000 (17:13 -0700)]
oops, no idea how this got in
Stanislav Malyshev [Wed, 18 Mar 2015 00:10:14 +0000 (17:10 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Stanislav Malyshev [Wed, 18 Mar 2015 00:07:38 +0000 (17:07 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #69248 - heap overflow vulnerability in regcomp.c
add test for bug #68976
Stanislav Malyshev [Wed, 18 Mar 2015 00:08:28 +0000 (17:08 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #69248 - heap overflow vulnerability in regcomp.c
add test for bug #68976
Stanislav Malyshev [Wed, 18 Mar 2015 00:07:38 +0000 (17:07 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #69248 - heap overflow vulnerability in regcomp.c
add test for bug #68976
Stanislav Malyshev [Wed, 18 Mar 2015 00:04:57 +0000 (17:04 -0700)]
Fix bug #69248 - heap overflow vulnerability in regcomp.c
Merged from https://github.com/garyhouston/regex/commit/
70bc2965604b6b8aaf260049e64c708dddf85334
Stanislav Malyshev [Wed, 18 Mar 2015 00:03:46 +0000 (17:03 -0700)]
add test for bug #68976
Anatol Belski [Tue, 17 Mar 2015 23:45:37 +0000 (00:45 +0100)]
comb that header
Anatol Belski [Tue, 17 Mar 2015 23:38:19 +0000 (00:38 +0100)]
fix endianness check plus better visual origin compat
Stanislav Malyshev [Tue, 17 Mar 2015 20:20:22 +0000 (13:20 -0700)]
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
Stanislav Malyshev [Fri, 6 Feb 2015 05:54:47 +0000 (21:54 -0800)]
fix tests
Stanislav Malyshev [Tue, 17 Mar 2015 19:47:58 +0000 (12:47 -0700)]
Fix bug #69207 - move_uploaded_file allows nulls in path
Dmitry Stogov [Tue, 17 Mar 2015 23:17:12 +0000 (02:17 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
this check isn't applicable anymore
Dmitry Stogov [Tue, 17 Mar 2015 23:15:49 +0000 (02:15 +0300)]
GCC prior 4.8.0 may generates wrong code
Anatol Belski [Tue, 17 Mar 2015 23:14:20 +0000 (00:14 +0100)]
this check isn't applicable anymore
Nikita Popov [Tue, 17 Mar 2015 21:58:37 +0000 (22:58 +0100)]
Fix phpdbg
Dmitry Stogov [Tue, 17 Mar 2015 21:13:39 +0000 (00:13 +0300)]
Fixed mess in names
Anatol Belski [Tue, 17 Mar 2015 20:08:26 +0000 (21:08 +0100)]
catching up with the git history
Anatol Belski [Tue, 17 Mar 2015 18:57:44 +0000 (19:57 +0100)]
fix undefined symbol
Anatol Belski [Tue, 17 Mar 2015 18:48:55 +0000 (19:48 +0100)]
updated NEWS
Anatol Belski [Tue, 17 Mar 2015 18:47:01 +0000 (19:47 +0100)]
adedd test for bug #68797
Anatol Belski [Tue, 17 Mar 2015 18:41:43 +0000 (19:41 +0100)]
restore freeing stuff and some small improvements
Anatol Belski [Tue, 17 Mar 2015 15:13:10 +0000 (16:13 +0100)]
first shot on updating strtod stuff
Nikita Popov [Thu, 19 Feb 2015 19:17:37 +0000 (20:17 +0100)]
Implement Generator::getReturn()
Conflicts:
Zend/zend_vm_execute.h
Nikita Popov [Tue, 17 Mar 2015 20:33:57 +0000 (21:33 +0100)]
Support ParseException for require etc
Stanislav Malyshev [Tue, 17 Mar 2015 20:24:30 +0000 (13:24 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
add NEWS
Stanislav Malyshev [Tue, 17 Mar 2015 20:24:17 +0000 (13:24 -0700)]
add NEWS
Stanislav Malyshev [Tue, 17 Mar 2015 20:23:51 +0000 (13:23 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
Conflicts:
ext/standard/var_unserializer.c
Stanislav Malyshev [Tue, 17 Mar 2015 20:22:12 +0000 (13:22 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
Conflicts:
ext/standard/var_unserializer.c
Stanislav Malyshev [Tue, 17 Mar 2015 20:20:22 +0000 (13:20 -0700)]
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
Dmitry Stogov [Tue, 17 Mar 2015 20:13:39 +0000 (23:13 +0300)]
Fixed zend_hash_del()
Stanislav Malyshev [Tue, 17 Mar 2015 20:07:59 +0000 (13:07 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update news
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
Stanislav Malyshev [Tue, 17 Mar 2015 20:07:40 +0000 (13:07 -0700)]
update news
Stanislav Malyshev [Tue, 17 Mar 2015 20:06:17 +0000 (13:06 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
Stanislav Malyshev [Tue, 17 Mar 2015 20:04:36 +0000 (13:04 -0700)]
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
Stanislav Malyshev [Tue, 17 Mar 2015 19:58:00 +0000 (12:58 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix tests
Fix bug #69207 - move_uploaded_file allows nulls in path
Stanislav Malyshev [Tue, 17 Mar 2015 19:56:37 +0000 (12:56 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix tests
Stanislav Malyshev [Fri, 6 Feb 2015 05:54:47 +0000 (21:54 -0800)]
fix tests
Stanislav Malyshev [Tue, 17 Mar 2015 19:48:37 +0000 (12:48 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix bug #69207 - move_uploaded_file allows nulls in path
Stanislav Malyshev [Tue, 17 Mar 2015 19:47:58 +0000 (12:47 -0700)]
Fix bug #69207 - move_uploaded_file allows nulls in path
Dmitry Stogov [Tue, 17 Mar 2015 15:53:19 +0000 (18:53 +0300)]
Embed "fast" operator functions (add, sub, increment, etc) into executor with additional optimizations
Dmitry Stogov [Tue, 17 Mar 2015 10:51:02 +0000 (13:51 +0300)]
Enable GCC global register variables if available
Julien Pauli [Tue, 17 Mar 2015 10:07:15 +0000 (11:07 +0100)]
Updated NEWS
julien.pons [Mon, 23 Feb 2015 13:38:55 +0000 (14:38 +0100)]
Add wifcontinued and wcontinued for pcntl
Anatol Belski [Tue, 17 Mar 2015 08:22:11 +0000 (09:22 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fixed bug #65406 Enchant broker plugins are in the wrong place in windows
Anatol Belski [Tue, 17 Mar 2015 08:21:38 +0000 (09:21 +0100)]
updated NEWS
Anatol Belski [Tue, 17 Mar 2015 08:20:54 +0000 (09:20 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #65406 Enchant broker plugins are in the wrong place in windows
Anatol Belski [Tue, 17 Mar 2015 08:20:16 +0000 (09:20 +0100)]
Fixed bug #65406 Enchant broker plugins are in the wrong place in windows
Anatol Belski [Mon, 16 Mar 2015 22:07:33 +0000 (23:07 +0100)]
use default test timeout
Anatol Belski [Mon, 16 Mar 2015 20:55:40 +0000 (13:55 -0700)]
test fixes + added skipif for slow tests
Anatol Belski [Mon, 16 Mar 2015 20:21:33 +0000 (13:21 -0700)]
use busy sleep instead of sleep() for timeout tests
Anatol Belski [Mon, 16 Mar 2015 19:05:40 +0000 (20:05 +0100)]
remove ext/mysql enablement from travis build