]>
granicus.if.org Git - php/log
Sara Golemon [Sat, 6 Aug 2016 22:12:09 +0000 (15:12 -0700)]
[ast] Fix exporting **= in expansion of assign op
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:40:12 +0000 (12:40 +0200)]
Merge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:39:05 +0000 (12:39 +0200)]
NEWS + UPGRADING for recent EXIF additions
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:37:10 +0000 (12:37 +0200)]
Added support for Sigma/Foveon EXIF tags
Note, the tag_info_array is re-used for both SIGMA and FOVEON, as their IFD headers can differ
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:31:01 +0000 (12:31 +0200)]
Added support for Minolta EXIF tags
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:24:19 +0000 (12:24 +0200)]
Added support for PENTAX EXIF tags
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:18:12 +0000 (12:18 +0200)]
Remove this redundant entry for Canon
Leigh [Sat, 6 Aug 2016 10:17:10 +0000 (11:17 +0100)]
Merge branch 'PHP-7.1'
Leigh [Sat, 6 Aug 2016 10:15:26 +0000 (11:15 +0100)]
mt_rand 32/64-bit consistency
Kalle Sommer Nielsen [Sat, 6 Aug 2016 09:00:22 +0000 (11:00 +0200)]
Added a warning in case --with-mp is combined with --enable-debug
This causes a D9030 since we specify a minimal build using /Gm in case we make a debug build
Kalle Sommer Nielsen [Sat, 6 Aug 2016 02:06:50 +0000 (04:06 +0200)]
Fixed bug #5453 (WSA cleanup executes before MSHUTDOWN)
This moves the WSACleanup() call to after zend_shutdown() in main.c, I did some testing and I could not find any issues with this. I don't expect this to cause any issues on Netware either, although untested as I do not have such an env available (do we even support Netware anymore? Last release was in 2009 and it is now discontinued)
Besides the movie, then this commit also contains a fix to the check of WSAStartup() where we don't actually confirm we get the desired version of the winsock.dll (We use 2.0).
Kalle Sommer Nielsen [Sat, 6 Aug 2016 01:39:10 +0000 (03:39 +0200)]
Merge branch 'master' of git.php.net:php-src
Nikita Popov [Fri, 5 Aug 2016 21:10:32 +0000 (23:10 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 21:09:53 +0000 (23:09 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 5 Aug 2016 21:09:30 +0000 (23:09 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/standard/ftp_fopen_wrapper.c
Ville Hukkamaki [Fri, 5 Aug 2016 13:09:13 +0000 (16:09 +0300)]
Fix #72764
Negotiate data channel encryption after NLST command.
This is to prevent issues with IIS and ProFTPD.
Nikita Popov [Fri, 5 Aug 2016 17:56:48 +0000 (19:56 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 17:56:02 +0000 (19:56 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 5 Aug 2016 17:51:51 +0000 (19:51 +0200)]
Fix bug #72767
The page size calculation did not account for the size of the
stack header (or rather it did account for it, but in the wrong
direction...)
Nikita Popov [Fri, 5 Aug 2016 14:32:25 +0000 (16:32 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 14:30:57 +0000 (16:30 +0200)]
Add assertion to prevent type narrowing
Currently type narrowing is always a bug, make sure we know about
it.
Nikita Popov [Fri, 5 Aug 2016 14:27:55 +0000 (16:27 +0200)]
Fixed bug #72762
Christoph M. Becker [Fri, 5 Aug 2016 11:23:33 +0000 (13:23 +0200)]
Merge branch 'PHP-7.1'
ju1ius [Sat, 30 Jul 2016 11:55:46 +0000 (13:55 +0200)]
Fix #72711: `mb_ereg` does not clear the `$regs` parameter on failure
When `mb_ereg` failed to match, it didn't update the `$regs` argument.
Now it will always set it to the empty array.
Kalle Sommer Nielsen [Fri, 5 Aug 2016 09:17:26 +0000 (11:17 +0200)]
pefree() these (with persistent=0), as internally in zend_multibyte.c they do the same, and at the same time also cast them to void pointers to silence the compiler warnings.
Kalle Sommer Nielsen [Fri, 5 Aug 2016 09:12:51 +0000 (11:12 +0200)]
Fix line endings, getting a little annoyed with VS' warning about mismatch
Kalle Sommer Nielsen [Fri, 5 Aug 2016 08:03:14 +0000 (10:03 +0200)]
Fixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail dot com)
This patch changes processing a little and causes some crafted tags to not be parsed and generate a warning.
This is a slight BC break from earlier versions, since it will no longer return the tags of that it was mismatching (see bug68799.phpt), namely the "WINXP" section and the "Author" tag is no longer returned due to this. Although this BC break is merely only for crafted tags, this can also have some real life effects on pictures re-saved from editors that can cause bad exif data writes, so lets keep it here.
Kalle Sommer Nielsen [Fri, 5 Aug 2016 05:54:36 +0000 (07:54 +0200)]
NEWS and UPGRADING for recent fixes and additions to ext/exif
Kalle Sommer Nielsen [Fri, 5 Aug 2016 05:45:02 +0000 (07:45 +0200)]
Added support for Sony pictures in EXIF as per requested in bug #72735
Sony is a little more interesting, as it is have a large range of tags it support in different models. For now I have added all the tags found within the Exif.Sony1 namespace.
Kalle Sommer Nielsen [Fri, 5 Aug 2016 05:15:34 +0000 (07:15 +0200)]
Split this test up to a 64bit version for more coverage
The 32bit version does not have the 64bit float values here, we already have 3 float tests which I guess will do for now at least
Nikita Popov [Thu, 4 Aug 2016 20:27:20 +0000 (22:27 +0200)]
Fix exif_imagetype() test after zpp change
Nikita Popov [Thu, 4 Aug 2016 12:23:16 +0000 (14:23 +0200)]
Merge branch 'PHP-7.1'
Ville Hukkamäki [Thu, 28 Jul 2016 19:17:20 +0000 (19:17 +0000)]
Implement request #27814
Construct HTTP request headers into smart_str and send whole
request in one go.
Xinchen Hui [Thu, 4 Aug 2016 11:10:56 +0000 (19:10 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #72743 (Out-of-bound read in php_stream_filter_create)
Xinchen Hui [Thu, 4 Aug 2016 11:10:40 +0000 (19:10 +0800)]
Fixed bug #72743 (Out-of-bound read in php_stream_filter_create)
Christoph M. Becker [Thu, 4 Aug 2016 10:11:02 +0000 (12:11 +0200)]
Merge branch 'PHP-7.1'
Christoph M. Becker [Thu, 4 Aug 2016 10:10:34 +0000 (12:10 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Thu, 4 Aug 2016 10:09:16 +0000 (12:09 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 4 Aug 2016 10:06:07 +0000 (12:06 +0200)]
Fix broken skip marker in test case
Matteo Beccati [Thu, 4 Aug 2016 07:38:10 +0000 (09:38 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Clean up FR #72633
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Matteo Beccati [Thu, 4 Aug 2016 07:37:40 +0000 (09:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Clean up FR #72633
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Conflicts:
ext/oci8/package.xml
Matteo Beccati [Thu, 4 Aug 2016 07:30:48 +0000 (09:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Clean up FR #72633
Matteo Beccati [Thu, 4 Aug 2016 07:28:58 +0000 (09:28 +0200)]
Clean up FR #72633
Christopher Jones [Thu, 4 Aug 2016 04:48:07 +0000 (14:48 +1000)]
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Christopher Jones [Thu, 4 Aug 2016 07:02:44 +0000 (17:02 +1000)]
Merge branch 'PHP-7.1'
Christopher Jones [Thu, 4 Aug 2016 07:02:08 +0000 (17:02 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Thu, 4 Aug 2016 07:01:57 +0000 (17:01 +1000)]
Fixed invalid handle error with Implicit Result Sets
Christopher Jones [Thu, 4 Aug 2016 04:48:07 +0000 (14:48 +1000)]
Fixed invalid handle error with Implicit Result Sets and bump OCI8 version.
Christopher Jones [Thu, 4 Aug 2016 06:45:31 +0000 (16:45 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Thu, 4 Aug 2016 06:45:29 +0000 (16:45 +1000)]
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
Stanislav Malyshev [Thu, 4 Aug 2016 06:04:07 +0000 (23:04 -0700)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix bug #72716 - initialize buffer before read
Stanislav Malyshev [Thu, 4 Aug 2016 06:03:15 +0000 (23:03 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix bug #72716 - initialize buffer before read
Stanislav Malyshev [Thu, 4 Aug 2016 06:00:32 +0000 (23:00 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #72716 - initialize buffer before read
Conflicts:
ext/standard/ftp_fopen_wrapper.c
Stanislav Malyshev [Thu, 4 Aug 2016 05:59:01 +0000 (22:59 -0700)]
Fix bug #72716 - initialize buffer before read
Ferenc Kovacs [Wed, 3 Aug 2016 23:44:18 +0000 (01:44 +0200)]
Merge branch 'PHP-7.1'
Ferenc Kovacs [Wed, 3 Aug 2016 23:43:27 +0000 (01:43 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 3 Aug 2016 23:42:00 +0000 (01:42 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
configure.in
main/php_version.h
Ferenc Kovacs [Wed, 3 Aug 2016 23:39:37 +0000 (01:39 +0200)]
5.6.26 will be next
Kalle Sommer Nielsen [Wed, 3 Aug 2016 21:57:51 +0000 (23:57 +0200)]
Use 'p' to validate a path in exif_imagetype() (like the other exif function already does)
Nikita Popov [Wed, 3 Aug 2016 21:10:29 +0000 (23:10 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Wed, 3 Aug 2016 21:09:17 +0000 (23:09 +0200)]
Fix leak on self-referencing constants
Davey Shafik [Wed, 3 Aug 2016 19:31:15 +0000 (12:31 -0700)]
Move fix for #72735 to 7.1.0beta3
Anatol Belski [Wed, 3 Aug 2016 16:26:29 +0000 (18:26 +0200)]
improve the check, avoid strlen on NULL
Kalle Sommer Nielsen [Wed, 3 Aug 2016 15:05:31 +0000 (17:05 +0200)]
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.
The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.
This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.
Jakub Zelenka [Wed, 3 Aug 2016 19:07:57 +0000 (20:07 +0100)]
Merge branch 'PHP-7.1'
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, 3 Aug 2016 16:33:26 +0000 (18:33 +0200)]
- add a test for makernote (#72682)
- reduce image size
- add panasonic.jpg sample
Anatol Belski [Wed, 3 Aug 2016 16:30:18 +0000 (18:30 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
improve the check, avoid strlen on NULL
Anatol Belski [Wed, 3 Aug 2016 16:29:42 +0000 (18:29 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
improve the check, avoid strlen on NULL
Anatol Belski [Wed, 3 Aug 2016 16:28:48 +0000 (18:28 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
improve the check, avoid strlen on NULL
Anatol Belski [Wed, 3 Aug 2016 16:26:29 +0000 (18:26 +0200)]
improve the check, avoid strlen on NULL
Anatol Belski [Wed, 3 Aug 2016 15:45:43 +0000 (17:45 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
update NEWS
update NEWS
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Anatol Belski [Wed, 3 Aug 2016 15:44:50 +0000 (17:44 +0200)]
update NEWS
Fix for 72735 is now merged in 5.6 up
Anatol Belski [Wed, 3 Aug 2016 15:42:45 +0000 (17:42 +0200)]
update NEWS
Anatol Belski [Wed, 3 Aug 2016 15:40:38 +0000 (17:40 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Anatol Belski [Wed, 3 Aug 2016 15:39:55 +0000 (17:39 +0200)]
update NEWS
Anatol Belski [Wed, 3 Aug 2016 15:39:22 +0000 (17:39 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Anatol Belski [Wed, 3 Aug 2016 15:38:11 +0000 (17:38 +0200)]
update NEWS
Kalle Sommer Nielsen [Wed, 3 Aug 2016 15:05:31 +0000 (17:05 +0200)]
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.
The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.
This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.
(cherry picked from commit
aabcb5481d9e717df77192dab2894468b9fc63b4 )
Kalle Sommer Nielsen [Wed, 3 Aug 2016 15:33:18 +0000 (17:33 +0200)]
Fixed bug #72682 (exif_read_data() fails to read all data for some images)
This is fixed by adding DJI signatures to the MAKERNOTE and its supported tags, list is credits to ExifTool documentation.
Kalle Sommer Nielsen [Wed, 3 Aug 2016 15:06:39 +0000 (17:06 +0200)]
NEWS
Kalle Sommer Nielsen [Wed, 3 Aug 2016 15:05:31 +0000 (17:05 +0200)]
Changed the way MAKERNOTE is handled in case we do not have a matching signature (Remi).
Before this patch, exif_process_IFD_in_MAKERNOTE() would return false, then causing the rest of the EXIF parsing to be interrupted. This is a regression from earlier which was most likely a part of a security fix for MAKERNOTE.
The new behavior is to instead of stopping to parse, to continue so we can still fetch data like thumbnail and GPS, thrus allowing yet unsupported formats to parse. If EXIF's debugging mode is enabled, a notice will display in case we do not match against a valid MAKERNOTE signature.
This should temporarily fix bug #72682 (exif_read_data() fails to read all data for some images) until I get around to debug it further.
Kalle Sommer Nielsen [Wed, 3 Aug 2016 14:42:01 +0000 (16:42 +0200)]
Merge branch 'master' of git.php.net:php-src
Anatol Belski [Wed, 3 Aug 2016 13:07:10 +0000 (15:07 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
update libs_versions.txt
update libs_versions.txt
Anatol Belski [Wed, 3 Aug 2016 13:06:39 +0000 (15:06 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update libs_versions.txt
update libs_versions.txt
Anatol Belski [Wed, 3 Aug 2016 13:06:02 +0000 (15:06 +0200)]
update libs_versions.txt
Anatol Belski [Wed, 3 Aug 2016 13:05:39 +0000 (15:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update libs_versions.txt
Anatol Belski [Wed, 3 Aug 2016 13:03:41 +0000 (15:03 +0200)]
update libs_versions.txt
Remi Collet [Wed, 3 Aug 2016 12:28:45 +0000 (14:28 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Minor revert of
be3640150cb2f88d38a8d405b2bf708f04be39ef
Remi Collet [Wed, 3 Aug 2016 12:27:46 +0000 (14:27 +0200)]
Minor revert of
be3640150cb2f88d38a8d405b2bf708f04be39ef
On 32bits this may cause php to hangs forever.
Remi Collet [Wed, 3 Aug 2016 12:24:46 +0000 (14:24 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix paths in tests
Remi Collet [Wed, 3 Aug 2016 12:24:35 +0000 (14:24 +0200)]
fix paths in tests
Remi Collet [Wed, 3 Aug 2016 10:59:21 +0000 (12:59 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
clean removed functions (since they are alias)
Remi Collet [Wed, 3 Aug 2016 10:59:14 +0000 (12:59 +0200)]
clean removed functions (since they are alias)
Remi Collet [Wed, 3 Aug 2016 10:56:52 +0000 (12:56 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix 32bits tests
Remi Collet [Wed, 3 Aug 2016 10:56:07 +0000 (12:56 +0200)]
Fix 32bits tests
Notice: this warning is only raise since rand is an alias to mt_rand
Kalle Sommer Nielsen [Wed, 3 Aug 2016 10:29:09 +0000 (12:29 +0200)]
NEWS
Anatol Belski [Wed, 3 Aug 2016 10:20:52 +0000 (12:20 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix ts build
Anatol Belski [Wed, 3 Aug 2016 10:20:23 +0000 (12:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix ts build
Anatol Belski [Wed, 3 Aug 2016 10:19:29 +0000 (12:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix ts build