]> granicus.if.org Git - php/log
php
8 years agofix test portability
Anatol Belski [Sat, 26 Nov 2016 19:27:09 +0000 (20:27 +0100)]
fix test portability

8 years agofurther normalizations, uint vs uint32_t
Anatol Belski [Sat, 26 Nov 2016 14:18:42 +0000 (15:18 +0100)]
further normalizations, uint vs uint32_t

fix merge mistake

yet one more replacement run

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Sat, 26 Nov 2016 15:11:08 +0000 (16:11 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sat, 26 Nov 2016 15:09:07 +0000 (16:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix #73612: preg_*() may leak memory
Christoph M. Becker [Sat, 26 Nov 2016 14:34:27 +0000 (15:34 +0100)]
Fix #73612: preg_*() may leak memory

We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.

8 years agoFix more size_t/int implicit conversions
Stanislav Malyshev [Fri, 25 Nov 2016 23:30:20 +0000 (15:30 -0800)]
Fix more size_t/int implicit conversions

Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.

8 years agoFix int/size_t confusion in isValidPharFilename (bug #73580)
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sat, 26 Nov 2016 02:57:06 +0000 (18:57 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix more size_t/int implicit conversions
  Fix int/size_t confusion in isValidPharFilename (bug #73580)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Fri, 25 Nov 2016 23:32:59 +0000 (15:32 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix more size_t/int implicit conversions

8 years agoFix more size_t/int implicit conversions
Stanislav Malyshev [Fri, 25 Nov 2016 23:30:20 +0000 (15:30 -0800)]
Fix more size_t/int implicit conversions

Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.

8 years agoFix int/size_t confusion in isValidPharFilename (bug #73580)
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)

8 years agoMerge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
Stanislav Malyshev [Fri, 25 Nov 2016 23:31:22 +0000 (15:31 -0800)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1

* 'PHP-7.1' of git.php.net:php-src:
  Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt

8 years agoFix more size_t/int implicit conversions
Stanislav Malyshev [Fri, 25 Nov 2016 23:30:20 +0000 (15:30 -0800)]
Fix more size_t/int implicit conversions

Now the conversions are explicit and do checks. Not sure it's
the best way but at least we can see them now in the open.

8 years agofix oniguruma.h copying
Anatol Belski [Fri, 25 Nov 2016 22:54:34 +0000 (23:54 +0100)]
fix oniguruma.h copying

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Fri, 25 Nov 2016 22:33:02 +0000 (23:33 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 25 Nov 2016 22:27:13 +0000 (23:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 25 Nov 2016 22:16:18 +0000 (23:16 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt
Christoph M. Becker [Fri, 25 Nov 2016 22:02:34 +0000 (23:02 +0100)]
Fix #73582: Failing ext/gd/tests/imagettftext_charmap_order.phpt

This test is not supposed to work with JIS-mapped Japanese font support
enabled.

8 years agofix tests
Anatol Belski [Fri, 25 Nov 2016 22:04:15 +0000 (23:04 +0100)]
fix tests

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Fri, 25 Nov 2016 21:43:59 +0000 (13:43 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix int/size_t confusion in isValidPharFilename (bug #73580)

8 years agoFix int/size_t confusion in isValidPharFilename (bug #73580)
Stanislav Malyshev [Fri, 25 Nov 2016 21:42:35 +0000 (13:42 -0800)]
Fix int/size_t confusion in isValidPharFilename (bug #73580)

8 years agoremove generated file
Anatol Belski [Fri, 25 Nov 2016 21:07:00 +0000 (22:07 +0100)]
remove generated file

8 years agoupgrade to Oniguruma 6.1.2
Anatol Belski [Fri, 25 Nov 2016 21:00:53 +0000 (22:00 +0100)]
upgrade to Oniguruma 6.1.2

8 years agofix spelling
Anatol Belski [Fri, 25 Nov 2016 18:27:01 +0000 (19:27 +0100)]
fix spelling

8 years agoupdate UPGRADING
Anatol Belski [Fri, 25 Nov 2016 18:01:13 +0000 (19:01 +0100)]
update UPGRADING

8 years agoRemove more PHP 6 leftovers from tests
Nikita Popov [Tue, 22 Nov 2016 21:12:07 +0000 (22:12 +0100)]
Remove more PHP 6 leftovers from tests

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 24 Nov 2016 18:28:56 +0000 (19:28 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  add test for bug #57547

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 24 Nov 2016 18:27:50 +0000 (19:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  add test for bug #57547

8 years agoadd test for bug #57547
Anatol Belski [Thu, 24 Nov 2016 18:25:47 +0000 (19:25 +0100)]
add test for bug #57547

8 years agoBump Zend Engine version
Sebastian Bergmann [Thu, 24 Nov 2016 17:43:00 +0000 (18:43 +0100)]
Bump Zend Engine version

8 years agoadd test for FILEINFO_EXTENSION flag
Anatol Belski [Thu, 24 Nov 2016 17:05:11 +0000 (18:05 +0100)]
add test for FILEINFO_EXTENSION flag

8 years agoAdd test for bug #67516
Anatol Belski [Thu, 24 Nov 2016 16:59:09 +0000 (17:59 +0100)]
Add test for bug #67516

8 years agofix test
Anatol Belski [Thu, 24 Nov 2016 16:44:05 +0000 (17:44 +0100)]
fix test

8 years agoapply the current Fedora's data patches
Anatol Belski [Thu, 24 Nov 2016 16:43:16 +0000 (17:43 +0100)]
apply the current Fedora's data patches

8 years agofix c/p mistake
Anatol Belski [Thu, 24 Nov 2016 15:41:57 +0000 (16:41 +0100)]
fix c/p mistake

8 years agocatch up with new finfo constant
Anatol Belski [Thu, 24 Nov 2016 15:23:35 +0000 (16:23 +0100)]
catch up with new finfo constant

8 years agoupdate libmagic.patch
Anatol Belski [Thu, 24 Nov 2016 13:58:54 +0000 (14:58 +0100)]
update libmagic.patch

8 years agomaintain patch level
Anatol Belski [Thu, 24 Nov 2016 13:56:30 +0000 (14:56 +0100)]
maintain patch level

8 years agothe vanilla data is used for now, seems everything is incorporated
Anatol Belski [Thu, 24 Nov 2016 13:50:55 +0000 (14:50 +0100)]
the vanilla data is used for now, seems everything is incorporated

8 years agomore fileinfo test fixes
Anatol Belski [Thu, 24 Nov 2016 13:48:33 +0000 (14:48 +0100)]
more fileinfo test fixes

Note the behavior change, FILEINFO_CONTINUE will now always
append a string \012-. I'm leaving this as is for now, as this is
the behavior change in libmagic.

8 years agofix tests
Anatol Belski [Thu, 24 Nov 2016 13:36:49 +0000 (14:36 +0100)]
fix tests

8 years agoUpgraded libmagic to 5.29
Anatol Belski [Tue, 25 Oct 2016 16:51:05 +0000 (18:51 +0200)]
Upgraded libmagic to 5.29

yet unfinished port to libmagic 5.28

catch with missing libmagic port pieces

regenerate data file with magic from 5.28

test magic files from 5.28

missing files

fix path

pure c99 is still not supported

move right to 5.29, yet some bugs present

more sync with orig lib

more ZMM usage

use unpatched data for now

partial revert according to bug #67705

Revert "more ZMM usage"

This reverts commit 5e3c9b851034b455942b219b18bdc49c8315c3ee.

several fixes, so it's now closer to the clean port

8 years agoUpdated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:17 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)

8 years agoEmpty merge
Derick Rethans [Thu, 24 Nov 2016 10:40:16 +0000 (10:40 +0000)]
Empty merge

8 years agoUpdated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:15 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)

8 years agoEmpty merge
Derick Rethans [Thu, 24 Nov 2016 10:40:15 +0000 (10:40 +0000)]
Empty merge

8 years agoUpdated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:14 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)

8 years agoEmpty merge
Derick Rethans [Thu, 24 Nov 2016 10:40:13 +0000 (10:40 +0000)]
Empty merge

8 years agoUpdated to version 2016.10 (2016j)
Derick Rethans [Thu, 24 Nov 2016 10:40:11 +0000 (10:40 +0000)]
Updated to version 2016.10 (2016j)

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Thu, 24 Nov 2016 04:05:07 +0000 (12:05 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Update NEWS
  Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)

8 years agoUpdate NEWS
Xinchen Hui [Thu, 24 Nov 2016 04:04:03 +0000 (12:04 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Thu, 24 Nov 2016 04:03:23 +0000 (12:03 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)

8 years agoFixed bug #73585 (Logging of "Internal Zend error - Missing class information" missin...
Xinchen Hui [Thu, 24 Nov 2016 04:02:02 +0000 (12:02 +0800)]
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)

Actually, I doubt how thing bug could be triggered

8 years agoMerge branch 'PHP-7.1'
Ferenc Kovacs [Thu, 24 Nov 2016 00:59:40 +0000 (01:59 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Thu, 24 Nov 2016 00:58:46 +0000 (01:58 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 24 Nov 2016 00:57:42 +0000 (01:57 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years ago5.6.30 will be next
Ferenc Kovacs [Thu, 24 Nov 2016 00:54:23 +0000 (01:54 +0100)]
5.6.30 will be next

8 years agoMerge branch 'PHP-7.1'
Remi Collet [Wed, 23 Nov 2016 13:56:50 +0000 (14:56 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  CS (no leading space in comment for config option)

8 years agoCS (no leading space in comment for config option)
Remi Collet [Wed, 23 Nov 2016 13:56:39 +0000 (14:56 +0100)]
CS (no leading space in comment for config option)

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Wed, 23 Nov 2016 06:27:57 +0000 (14:27 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #73583 (Segfaults when conditionally declared class and function have the same name)

8 years agoFixed bug #73583 (Segfaults when conditionally declared class and function have the...
Xinchen Hui [Wed, 23 Nov 2016 06:24:46 +0000 (14:24 +0800)]
Fixed bug #73583 (Segfaults when conditionally declared class and function have the same name)

bug was introduced in rev 88eae43f , and the runtime defined key is not
merged-able

8 years agoFix test
Nikita Popov [Tue, 22 Nov 2016 21:46:34 +0000 (22:46 +0100)]
Fix test

8 years agoFix foreach object property visibility checks
Nikita Popov [Tue, 22 Nov 2016 20:01:15 +0000 (21:01 +0100)]
Fix foreach object property visibility checks

Again, check_property_access() does not correctly work for properties
that look like mangled private propert names (but aren't). Fix this
by only checking visibility for INDIRECT properties.

foreach currently still unmangles property names, even if they don't
correspond to declared properties. HHVM does not do this (and I think
this is correct.) As this is done consistently, leaving it alone
for now.

8 years agoFix get_class_vars() fast-path/slow-path discrepancies
Nikita Popov [Tue, 22 Nov 2016 19:49:12 +0000 (20:49 +0100)]
Fix get_class_vars() fast-path/slow-path discrepancies

Normalize to the fast-path behavior. In particular, make sure that
the the property visibility check is correct for property names that
are formatted like mangled private properties (but are not). This is
done by only calling zend_check_property_access() for INDIRECT
properties.

8 years agoUse UTC instead of unavailable timezone in test
Craig Duncan [Sun, 20 Nov 2016 16:40:37 +0000 (16:40 +0000)]
Use UTC instead of unavailable timezone in test

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Tue, 22 Nov 2016 18:26:27 +0000 (19:26 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 22 Nov 2016 18:25:53 +0000 (19:25 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 22 Nov 2016 18:25:31 +0000 (19:25 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMake php_url_parse_ex() respect length argument
Nikita Popov [Fri, 18 Nov 2016 15:41:13 +0000 (16:41 +0100)]
Make php_url_parse_ex() respect length argument

This should fix all out-of-bounds reads that could previously
occur if the string passed to php_url_parse_ex() is not NUL
terminated.

8 years agoCleanup parse_url() query/fragment handling
Nikita Popov [Fri, 18 Nov 2016 16:00:56 +0000 (17:00 +0100)]
Cleanup parse_url() query/fragment handling

The query/fragment handling was pretty convoluted, with many parts
being duplicated. Simplify by checking for fragment, then for query,
then for path.

8 years agoCleanup parse_url() gotos
Nikita Popov [Thu, 17 Nov 2016 22:18:05 +0000 (23:18 +0100)]
Cleanup parse_url() gotos

Simplify some unnecessarily complicated code. In particular the
length updates are unnecessary (length is only used at the very
start) and we're goto'ing around a bit too much.

8 years agoFix ext/ftp
Nikita Popov [Tue, 22 Nov 2016 18:06:59 +0000 (19:06 +0100)]
Fix ext/ftp

8 years agoFix two tests
Tom Van Looy [Tue, 22 Nov 2016 16:34:26 +0000 (17:34 +0100)]
Fix two tests

8 years agoExport zend_do_fcall_overloaded()
Dmitry Stogov [Tue, 22 Nov 2016 15:36:27 +0000 (18:36 +0300)]
Export zend_do_fcall_overloaded()

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 22 Nov 2016 11:44:56 +0000 (12:44 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update libs_versions.txt
  update libs versions.txt

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 22 Nov 2016 11:44:06 +0000 (12:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update libs_versions.txt
  update libs versions.txt

8 years agoupdate libs_versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:42:57 +0000 (12:42 +0100)]
update libs_versions.txt

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 22 Nov 2016 11:42:20 +0000 (12:42 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update libs versions.txt

8 years agoupdate libs versions.txt
Anatol Belski [Tue, 22 Nov 2016 11:36:51 +0000 (12:36 +0100)]
update libs versions.txt

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 22 Nov 2016 10:57:26 +0000 (11:57 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  move dev to next

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 22 Nov 2016 10:56:16 +0000 (11:56 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  move dev to next

8 years agomove dev to next
Anatol Belski [Tue, 22 Nov 2016 10:49:09 +0000 (11:49 +0100)]
move dev to next

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 22 Nov 2016 10:29:11 +0000 (13:29 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed use after free

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Tue, 22 Nov 2016 10:28:49 +0000 (13:28 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed use after free

8 years agoFixed use after free
Dmitry Stogov [Tue, 22 Nov 2016 10:28:27 +0000 (13:28 +0300)]
Fixed use after free

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 22 Nov 2016 09:07:06 +0000 (12:07 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Micro-optimization

8 years agoMicro-optimization
Dmitry Stogov [Tue, 22 Nov 2016 09:06:39 +0000 (12:06 +0300)]
Micro-optimization

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 22 Nov 2016 08:51:42 +0000 (11:51 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Removed useless (double) checks for EG(exception). (Bob)

8 years agoRemoved useless (double) checks for EG(exception). (Bob)
Dmitry Stogov [Tue, 22 Nov 2016 08:50:48 +0000 (11:50 +0300)]
Removed useless (double) checks for EG(exception). (Bob)

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 22 Nov 2016 08:23:17 +0000 (11:23 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed memory leak (Bob)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Tue, 22 Nov 2016 08:22:55 +0000 (11:22 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed memory leak (Bob)

8 years agoFixed memory leak (Bob)
Dmitry Stogov [Tue, 22 Nov 2016 08:22:10 +0000 (11:22 +0300)]
Fixed memory leak (Bob)

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 22 Nov 2016 02:00:44 +0000 (03:00 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Revert "fix invalid read, follow up on 97b65cc9"

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 22 Nov 2016 01:59:17 +0000 (02:59 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Revert "fix invalid read, follow up on 97b65cc9"

8 years agoRevert "fix invalid read, follow up on 97b65cc9"
Anatol Belski [Tue, 22 Nov 2016 01:52:23 +0000 (02:52 +0100)]
Revert "fix invalid read, follow up on 97b65cc9"

This reverts commit b52fa5882a276c9397d108cd690721a006acd827.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 22 Nov 2016 01:31:43 +0000 (02:31 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix invalid read, follow up on 97b65cc9

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 22 Nov 2016 01:30:16 +0000 (02:30 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix invalid read, follow up on 97b65cc9

8 years agofix invalid read, follow up on 97b65cc9
Anatol Belski [Tue, 22 Nov 2016 01:28:45 +0000 (02:28 +0100)]
fix invalid read, follow up on 97b65cc9

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 22 Nov 2016 00:02:04 +0000 (01:02 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS
  update NEWS
  update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 22 Nov 2016 00:01:18 +0000 (01:01 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS
  update NEWS