]> granicus.if.org Git - php/log
php
8 years agopull-request/1099
Yasuo Ohgaki [Wed, 10 Aug 2016 05:09:48 +0000 (14:09 +0900)]
pull-request/1099
Request #65081 - implemeting mb_scrub

8 years agopull-request/1100
Yasuo Ohgaki [Wed, 10 Aug 2016 00:47:27 +0000 (09:47 +0900)]
pull-request/1100
Request #65081 mb_chr() and mb_ord()

Added test cases and little optimization.

8 years agoMerge branch 'master' of git.php.net:php-src
Yasuo Ohgaki [Wed, 10 Aug 2016 00:39:17 +0000 (09:39 +0900)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src: (1423 commits)
  Add NEWS
  Fix ASSERT logic
  Bugfix 72791: fix memory leak in PDO persistent connections
  Don't copy mime types in CLI server
  Class constant visibility modifiers are now supported
  Remove obsolete Id tags
  Bump version in OCI8 test
  Update NEWS
  Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
  Remove typo'd commit
  Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
  Swap min/max if min > max
  Allow min > max for mt_rand(). Bug #72784
  Replace dead branch with ZEND_ASSERT()
  Fix array_column() packed hash initialization
  Add test for bug #69107: finfo no longer detects PHP files
  check malloc result
  Implement #38992: invoke() and invokeArgs() static method calls should match
  Fix bug #55451
  Fix stream_socket_enable_crypto() test
  ...

8 years agoAdd NEWS
Keyur [Tue, 9 Aug 2016 17:29:36 +0000 (17:29 +0000)]
Add NEWS

8 years agoFix ASSERT logic
Keyur [Tue, 9 Aug 2016 14:41:20 +0000 (14:41 +0000)]
Fix ASSERT logic

8 years agoBugfix 72791: fix memory leak in PDO persistent connections
Keyur [Tue, 9 Aug 2016 14:01:25 +0000 (14:01 +0000)]
Bugfix 72791: fix memory leak in PDO persistent connections

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Tue, 9 Aug 2016 13:35:22 +0000 (15:35 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 9 Aug 2016 13:35:04 +0000 (15:35 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoDon't copy mime types in CLI server
Nikita Popov [Tue, 9 Aug 2016 13:33:15 +0000 (15:33 +0200)]
Don't copy mime types in CLI server

This is both unnecessary and causes leaks in valgrind.

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Tue, 9 Aug 2016 09:55:30 +0000 (11:55 +0200)]
Merge branch 'PHP-7.1'

8 years agoClass constant visibility modifiers are now supported
Christoph M. Becker [Tue, 9 Aug 2016 09:54:43 +0000 (11:54 +0200)]
Class constant visibility modifiers are now supported

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 9 Aug 2016 06:14:53 +0000 (16:14 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 9 Aug 2016 06:13:27 +0000 (16:13 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoRemove obsolete Id tags
Christopher Jones [Tue, 9 Aug 2016 06:12:58 +0000 (16:12 +1000)]
Remove obsolete Id tags

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 9 Aug 2016 06:01:46 +0000 (16:01 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 9 Aug 2016 06:00:44 +0000 (16:00 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoBump version in OCI8 test
Christopher Jones [Tue, 9 Aug 2016 05:59:59 +0000 (15:59 +1000)]
Bump version in OCI8 test

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Tue, 9 Aug 2016 03:33:38 +0000 (11:33 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Update NEWS
  Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
  Remove typo'd commit
  Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.

8 years agoUpdate NEWS
Xinchen Hui [Tue, 9 Aug 2016 03:32:55 +0000 (11:32 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Tue, 9 Aug 2016 03:32:34 +0000 (11:32 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
  Remove typo'd commit
  Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.

8 years agoFixed bug #72788 (Invalid memory access when using persistent PDO connection)
Xinchen Hui [Tue, 9 Aug 2016 03:32:16 +0000 (11:32 +0800)]
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)

8 years agoMerge branch 'bug72788' of https://github.com/keyurdg/php-src into PHP-7.0
Xinchen Hui [Tue, 9 Aug 2016 03:25:32 +0000 (11:25 +0800)]
Merge branch 'bug72788' of https://github.com/keyurdg/php-src into PHP-7.0

* 'bug72788' of https://github.com/keyurdg/php-src:
  Remove typo'd commit
  Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.

8 years agoRemove typo'd commit
Keyur [Tue, 9 Aug 2016 01:36:15 +0000 (01:36 +0000)]
Remove typo'd commit

8 years agoFix bug 72788: Invalid memory access when database_object_handle
Keyur [Mon, 8 Aug 2016 23:34:00 +0000 (23:34 +0000)]
Fix bug 72788: Invalid memory access when database_object_handle
is undefined. Also fix memory leak in dbh_free when using persistent
PDO connections.

8 years agoMerge branch 'PHP-7.1'
Leigh [Mon, 8 Aug 2016 21:33:18 +0000 (22:33 +0100)]
Merge branch 'PHP-7.1'

8 years agoSwap min/max if min > max
Leigh [Mon, 8 Aug 2016 21:31:59 +0000 (22:31 +0100)]
Swap min/max if min > max

8 years agoMerge branch 'PHP-7.1'
Leigh [Mon, 8 Aug 2016 21:18:08 +0000 (22:18 +0100)]
Merge branch 'PHP-7.1'

8 years agoAllow min > max for mt_rand(). Bug #72784
Leigh [Mon, 8 Aug 2016 21:16:27 +0000 (22:16 +0100)]
Allow min > max for mt_rand(). Bug #72784

8 years agoMerge branch 'PHP-7.1'
Andrea Faulds [Mon, 8 Aug 2016 20:01:28 +0000 (21:01 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Andrea Faulds [Mon, 8 Aug 2016 20:00:49 +0000 (21:00 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoReplace dead branch with ZEND_ASSERT()
Andrea Faulds [Mon, 8 Aug 2016 19:56:11 +0000 (20:56 +0100)]
Replace dead branch with ZEND_ASSERT()

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Mon, 8 Aug 2016 16:57:14 +0000 (18:57 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Mon, 8 Aug 2016 16:51:34 +0000 (18:51 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 8 Aug 2016 16:48:32 +0000 (18:48 +0200)]
Merge branch 'PHP-7.1'

8 years agoFix array_column() packed hash initialization
Nikita Popov [Mon, 8 Aug 2016 16:46:54 +0000 (18:46 +0200)]
Fix array_column() packed hash initialization

FILL assumes enough space is alredy allocated -- do that. Note that
the used size is an upper bound, albeit a likely one.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 8 Aug 2016 16:45:27 +0000 (18:45 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd test for bug #69107: finfo no longer detects PHP files
Christoph M. Becker [Mon, 8 Aug 2016 16:43:33 +0000 (18:43 +0200)]
Add test for bug #69107: finfo no longer detects PHP files

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Mon, 8 Aug 2016 10:18:57 +0000 (12:18 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  check malloc result

8 years agocheck malloc result
Anatol Belski [Sat, 6 Aug 2016 20:33:29 +0000 (22:33 +0200)]
check malloc result

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Sun, 7 Aug 2016 23:47:05 +0000 (01:47 +0200)]
Merge branch 'PHP-7.1'

8 years agoImplement #38992: invoke() and invokeArgs() static method calls should match
Christoph M. Becker [Sun, 7 Aug 2016 23:27:21 +0000 (01:27 +0200)]
Implement #38992: invoke() and invokeArgs() static method calls should match

We don't want ReflectionMethod::invoke() to simply ignore its first argument,
if the method to invoke is a static method. Instead we match its ZPP with
that of ReflectionMethod::invokeArgs(). Furthermore, we apply the DRY
principle by factoring out the code to a common helper function to prevent
inadvertent future divergence of the implementations of both methods.

As can be seen from the necessity to adapt some test cases, this causes a
BC break for some pathological cases. Therefore we apply this patch to PHP
7.1 only, which is still in beta phase.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sun, 7 Aug 2016 16:50:34 +0000 (18:50 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 7 Aug 2016 16:50:14 +0000 (18:50 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix bug #55451
Lauri Kenttä [Wed, 3 Aug 2016 08:29:12 +0000 (11:29 +0300)]
Fix bug #55451

Make substr_compare ignore the length if it's NULL. This allows to
use the last parameter (case_insensitivity) with the default length.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sun, 7 Aug 2016 16:38:49 +0000 (18:38 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 7 Aug 2016 16:38:43 +0000 (18:38 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sun, 7 Aug 2016 16:38:28 +0000 (18:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix stream_socket_enable_crypto() test
Nikita Popov [Sun, 7 Aug 2016 16:36:32 +0000 (18:36 +0200)]
Fix stream_socket_enable_crypto() test

The whole test doesn't make any sense at all, but this only fixes
the additional warnings you get when linked against openssl w/o
SSL3.

8 years agoUpdate php_version.h
Nikita Popov [Sun, 7 Aug 2016 15:52:37 +0000 (17:52 +0200)]
Update php_version.h

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sun, 7 Aug 2016 15:47:17 +0000 (17:47 +0200)]
Merge branch 'PHP-7.1'

8 years agoFix PUTC warning
Nikita Popov [Sun, 7 Aug 2016 14:44:31 +0000 (16:44 +0200)]
Fix PUTC warning

Change the macro to not provide a useless return value using a
comma expression, which generates warnings.

8 years agoAvoid use of scratch space in HTTP fopen wrapper
Nikita Popov [Thu, 4 Aug 2016 13:12:33 +0000 (15:12 +0200)]
Avoid use of scratch space in HTTP fopen wrapper

Instead directly write into req_buf smart_str.

8 years agoNote about the recent change to the WSA version check on Windows
Kalle Sommer Nielsen [Sun, 7 Aug 2016 03:40:56 +0000 (05:40 +0200)]
Note about the recent change to the WSA version check on Windows

8 years agoFixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in...
Kalle Sommer Nielsen [Sun, 7 Aug 2016 03:35:46 +0000 (05:35 +0200)]
Fixed bug #71534 (Type confusion in exif_read_data() leading to heap  overflow in debug mode)

Unlike the original patch, this does not return an unknown format in case an unsigned compatible type cannot be found (cases for SINGLE and DOUBLE removed), as these seems rare cases according to the inline comments.

Note, the test does not test if PHP is in debug mode, although the report originally states it only occurs there only.

The fix is based on a patch by hlt99 at blinkenshell dot org

8 years agoAdded some extended info about ext/exif to phpinfo()
Kalle Sommer Nielsen [Sun, 7 Aug 2016 03:11:40 +0000 (05:11 +0200)]
Added some extended info about ext/exif to phpinfo()

8 years agoRemove void comment
Kalle Sommer Nielsen [Sun, 7 Aug 2016 02:58:29 +0000 (04:58 +0200)]
Remove void comment

8 years agoFix tests, although I was not able to reproduce these failures on an x86 build/Window...
Kalle Sommer Nielsen [Sun, 7 Aug 2016 02:22:27 +0000 (04:22 +0200)]
Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Sun, 7 Aug 2016 00:25:41 +0000 (10:25 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Sun, 7 Aug 2016 00:25:16 +0000 (10:25 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoRemove old $Id$ tags
Christopher Jones [Sun, 7 Aug 2016 00:24:56 +0000 (10:24 +1000)]
Remove old $Id$ tags

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Sun, 7 Aug 2016 00:21:46 +0000 (10:21 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Sun, 7 Aug 2016 00:21:14 +0000 (10:21 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoSync with 7.1 branch changes from Nikita & Dimitri to keep OCI8 code identical
Christopher Jones [Sun, 7 Aug 2016 00:17:06 +0000 (10:17 +1000)]
Sync with 7.1 branch changes from Nikita & Dimitri to keep OCI8 code identical

8 years agoNews for 7.1
Christopher Jones [Sun, 7 Aug 2016 00:06:11 +0000 (10:06 +1000)]
News for 7.1

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Sun, 7 Aug 2016 00:02:53 +0000 (10:02 +1000)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Sun, 7 Aug 2016 00:02:14 +0000 (10:02 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix bug #72524 (Binding null values triggers ORA-24816 error)
Christopher Jones [Thu, 4 Aug 2016 02:45:32 +0000 (12:45 +1000)]
Fix bug #72524 (Binding null values triggers ORA-24816 error)

8 years ago[ast] Fix exporting **= in expansion of assign op
Sara Golemon [Sat, 6 Aug 2016 22:12:09 +0000 (15:12 -0700)]
[ast] Fix exporting **= in expansion of assign op

8 years agoMerge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:40:12 +0000 (12:40 +0200)]
Merge branch 'master' of git.php.net:php-src

8 years agoNEWS + UPGRADING for recent EXIF additions
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:39:05 +0000 (12:39 +0200)]
NEWS + UPGRADING for recent EXIF additions

8 years agoAdded support for Sigma/Foveon EXIF tags
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

8 years agoAdded support for Minolta EXIF tags
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:31:01 +0000 (12:31 +0200)]
Added support for Minolta EXIF tags

8 years agoAdded support for PENTAX EXIF tags
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:24:19 +0000 (12:24 +0200)]
Added support for PENTAX EXIF tags

8 years agoRemove this redundant entry for Canon
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:18:12 +0000 (12:18 +0200)]
Remove this redundant entry for Canon

8 years agoMerge branch 'PHP-7.1'
Leigh [Sat, 6 Aug 2016 10:17:10 +0000 (11:17 +0100)]
Merge branch 'PHP-7.1'

8 years agomt_rand 32/64-bit consistency
Leigh [Sat, 6 Aug 2016 10:15:26 +0000 (11:15 +0100)]
mt_rand 32/64-bit consistency

8 years agoFix the fix (Nikita), thanks!
Kalle Sommer Nielsen [Sat, 6 Aug 2016 10:08:13 +0000 (12:08 +0200)]
Fix the fix (Nikita), thanks!

8 years agoAdded a warning in case --with-mp is combined with --enable-debug
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

8 years agoCheck the return value of dbconvert() in mssql_guid_string(), as it may return -1...
Kalle Sommer Nielsen [Sat, 6 Aug 2016 08:17:49 +0000 (10:17 +0200)]
Check the return value of dbconvert() in mssql_guid_string(), as it may return -1 in case the conversion failed. In that case false is returned.

Also initialize buffer and buffer2 to NULL, which should fix bug #72039 (Use of uninitialised value on mssql_guid_string).

This only applies to 5.6, as we do not have mssql in 7.0 anymore

8 years agoFixed bug #5453 (WSA cleanup executes before MSHUTDOWN)
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).

8 years agoMerge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Sat, 6 Aug 2016 01:39:10 +0000 (03:39 +0200)]
Merge branch 'master' of git.php.net:php-src

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 21:10:32 +0000 (23:10 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into 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

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

8 years agoFix #72764
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.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 17:56:48 +0000 (19:56 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into 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

8 years agoFix bug #72767
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...)

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 5 Aug 2016 14:32:25 +0000 (16:32 +0200)]
Merge branch 'PHP-7.1'

8 years agoAdd assertion to prevent type narrowing
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.

8 years agoFixed bug #72762
Nikita Popov [Fri, 5 Aug 2016 14:27:55 +0000 (16:27 +0200)]
Fixed bug #72762

8 years agoMerge branch 'PHP-7.1'
Christoph M. Becker [Fri, 5 Aug 2016 11:23:33 +0000 (13:23 +0200)]
Merge branch 'PHP-7.1'

8 years agoFix #72711: `mb_ereg` does not clear the `$regs` parameter on failure
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.

8 years agopefree() these (with persistent=0), as internally in zend_multibyte.c they do the...
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.

8 years agoFix line endings, getting a little annoyed with VS' warning about mismatch
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

8 years agoFixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail...
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.

8 years agoNEWS and UPGRADING for recent fixes and additions to ext/exif
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

8 years agoAdded support for Sony pictures in EXIF as per requested in bug #72735
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.

8 years agoSplit this test up to a 64bit version for more coverage
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

8 years agoFix exif_imagetype() test after zpp change
Nikita Popov [Thu, 4 Aug 2016 20:27:20 +0000 (22:27 +0200)]
Fix exif_imagetype() test after zpp change