]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 27 Nov 2016 22:53:27 +0000 (14:53 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix #73549: Use after free when stream is passed to imagepng

8 years agoFix #73549: Use after free when stream is passed to imagepng
Christoph M. Becker [Thu, 17 Nov 2016 12:44:30 +0000 (13:44 +0100)]
Fix #73549: Use after free when stream is passed to imagepng

If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Matteo Beccati [Sun, 27 Nov 2016 09:20:38 +0000 (10:20 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix occasionaly failing test

8 years agoFix occasionaly failing test
Matteo Beccati [Sun, 27 Nov 2016 09:20:13 +0000 (10:20 +0100)]
Fix occasionaly failing test

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Matteo Beccati [Sun, 27 Nov 2016 09:08:04 +0000 (10:08 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Added missing array key to $JUNIT

8 years agoAdded missing array key to $JUNIT
Matteo Beccati [Sun, 27 Nov 2016 09:07:05 +0000 (10:07 +0100)]
Added missing array key to $JUNIT

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sat, 26 Nov 2016 23:36:57 +0000 (15:36 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
  Add more mbfl string size checks (bug #73505)

8 years agoacinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.
Michael Orlitzky [Fri, 30 Sep 2016 23:47:20 +0000 (19:47 -0400)]
acinclude.m4: fix krb5-config detection and usage in PHP_SETUP_KERBEROS.

When building with kerberos support (--with-kerberos), a few libraries
and flags need to be added to various parts of the build system. The
most reliable way to get those flags is through the krb5-config
program that ships with both major implementations of kerberos. The
PHP_SETUP_KERBEROS macro in acinclude.m4 attempts to detect
krb5-config, and use it.

However, there's a bug in that macro. The --with-kerberos parameter
accepts a directory where the kerberos libraries can be found. When a
directory is given, it is stored in the PHP_KERBEROS variable. The
following test,

  if test "$PHP_KERBEROS" = "yes" && test -x "$KRB5_CONFIG"; then

thus fails whenever a directory is passed to --with-kerberos, since it
compares a directory name against the string "yes". This causes
krb5-config to go unused, and some unreliable fallback logic is
attempted instead. One consequence of this is that the Heimdal
kerberos implementation cannot be substituted for the MIT one, at
least when a directory is passed to --with-kerberos.

This commit reverses the logic and checks for "$PHP_KERBEROS" != "no".
To confirm that this fixes the issue, one can inspect the "-l" library
flags that get appended to the command-line. On a machine with Heimdal
and the unmodified acinclude.m4, running

  ./configure --with-openssl --with-kerberos=/usr

will log (for example) to config.log,

  configure:18082: checking for krb5-config
  configure:18101: found /usr/bin/krb5-config
  configure:18114: result: /usr/bin/krb5-config
  configure:18450: checking for RAND_egd
  configure:18450: cc ... conftest.c ... -lgssapi_krb5 -lkrb5 ...

which are the library names for the MIT implementation. After patching
acinclude.m4 to negate the logic, the same command on the same machine
outputs (to config.log):

  configure:18450: cc ... conftest.c -lgssapi -lheimntlm ...

These are the correct library names for the Heimdal implementation.

PHP-Bug: 73214

8 years agoAdd more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sat, 26 Nov 2016 22:48:40 +0000 (14:48 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add more mbfl string size checks (bug #73505)

8 years agoAdd more mbfl string size checks (bug #73505)
Stanislav Malyshev [Sat, 26 Nov 2016 22:44:58 +0000 (14:44 -0800)]
Add more mbfl string size checks (bug #73505)

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-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 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 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 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-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-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 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 agomove dev to next
Anatol Belski [Tue, 22 Nov 2016 10:49:09 +0000 (11:49 +0100)]
move dev to next

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 agoFixed memory leak (Bob)
Dmitry Stogov [Tue, 22 Nov 2016 08:22:10 +0000 (11:22 +0300)]
Fixed memory leak (Bob)

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 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 agoupdate NEWS
Anatol Belski [Mon, 21 Nov 2016 23:59:40 +0000 (00:59 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 21 Nov 2016 23:59:07 +0000 (00:59 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 21 Nov 2016 23:57:18 +0000 (00:57 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 21 Nov 2016 23:46:03 +0000 (00:46 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #73498
  Add a test for bug 73498

8 years agoFix bug #73498
Craig Duncan [Sun, 20 Nov 2016 20:48:21 +0000 (20:48 +0000)]
Fix bug #73498

Postgres uses the DELIMITER keyword since 7.3
And WITH is no longer required/used

8 years agoAdd a test for bug 73498
Craig Duncan [Mon, 21 Nov 2016 19:49:18 +0000 (19:49 +0000)]
Add a test for bug 73498

8 years agoremove TSRMLS_*
Anatol Belski [Mon, 21 Nov 2016 22:53:37 +0000 (23:53 +0100)]
remove TSRMLS_*

8 years agoupdate php.ini-* for bug #69090
Anatol Belski [Mon, 21 Nov 2016 21:58:23 +0000 (22:58 +0100)]
update php.ini-* for bug #69090

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 21 Nov 2016 21:56:46 +0000 (22:56 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update php.ini-* according to changes for bug #69090

8 years agoupdate php.ini-* according to changes for bug #69090
Anatol Belski [Mon, 21 Nov 2016 21:52:03 +0000 (22:52 +0100)]
update php.ini-* according to changes for bug #69090

8 years agoupdate NEWS
Anatol Belski [Mon, 21 Nov 2016 18:59:30 +0000 (19:59 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 21 Nov 2016 18:58:54 +0000 (19:58 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 21 Nov 2016 18:56:09 +0000 (19:56 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 21 Nov 2016 14:29:44 +0000 (15:29 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test for bug #73452
  Backport 15ac4904 to 5.6

8 years agoadd test for bug #73452
Anatol Belski [Mon, 21 Nov 2016 14:25:46 +0000 (15:25 +0100)]
add test for bug #73452

8 years agoBackport 15ac4904 to 5.6
Anatol Belski [Mon, 21 Nov 2016 14:20:03 +0000 (15:20 +0100)]
Backport 15ac4904 to 5.6

8 years agoUpdate NEWS
Xinchen Hui [Mon, 21 Nov 2016 03:45:49 +0000 (11:45 +0800)]
Update NEWS

8 years agoFix memory leak(null coalescing operator with Spl hash)
Tyson Andre [Sun, 20 Nov 2016 23:18:32 +0000 (15:18 -0800)]
Fix memory leak(null coalescing operator with Spl hash)

The SEPARATE_ARG_IF_REF macro increased the refcount of the object passed as a
key.
However, when the key did not exist in the ArrayAccess implementation,
the code returned early without trying to decrement the refcount.

Add a test of `??` succeeding+failing on a SplObjectStorage instance.

8 years agoFix bug #73526 (php_json_encode depth issue)
Jakub Zelenka [Sun, 20 Nov 2016 20:36:03 +0000 (20:36 +0000)]
Fix bug #73526 (php_json_encode depth issue)

8 years agoFix bug #73538
Craig Duncan [Sun, 20 Nov 2016 17:41:14 +0000 (17:41 +0000)]
Fix bug #73538

Remove any previous default headers and replace with the specified
ones, as documented, and as is the case when a single header is
passed.

8 years agoRevert "Revert "Remove a few unused write warning""
Bob Weinand [Sun, 20 Nov 2016 18:18:50 +0000 (19:18 +0100)]
Revert "Revert "Remove a few unused write warning""

This reverts commit ff5a65d26b139142c5e967582c369ef65b79adf8.

(With zend_ prefix now)

8 years agoRevert "Remove a few unused write warning (backport from master, oops)s"
Nikita Popov [Sun, 20 Nov 2016 18:02:40 +0000 (19:02 +0100)]
Revert "Remove a few unused write warning (backport from master, oops)s"

This reverts commit c65d24eaa3671e61db7c2a3f28daeaf7c74ac758.

8 years agoRemove a few unused write warning (backport from master, oops)s
Bob Weinand [Sun, 20 Nov 2016 13:14:46 +0000 (14:14 +0100)]
Remove a few unused write warning (backport from master, oops)s

8 years agoFixed bug #73483 (Segmentation fault on pcre_replace_callback)
Xinchen Hui [Sun, 20 Nov 2016 07:44:27 +0000 (15:44 +0800)]
Fixed bug #73483 (Segmentation fault on pcre_replace_callback)

8 years agoFix #73219 (fix acinclude when / is present)
Joe Watkins [Sun, 20 Nov 2016 05:34:08 +0000 (05:34 +0000)]
Fix #73219 (fix acinclude when / is present)

8 years agomake it possible to show specific help pages without interactive session
Joe Watkins [Sun, 20 Nov 2016 05:24:14 +0000 (05:24 +0000)]
make it possible to show specific help pages without interactive session

8 years agofix test portability
Anatol Belski [Fri, 18 Nov 2016 21:10:41 +0000 (22:10 +0100)]
fix test portability

8 years agodon't fail miserably, when an unknown vc version is used
Anatol Belski [Fri, 18 Nov 2016 17:19:47 +0000 (18:19 +0100)]
don't fail miserably, when an unknown vc version is used

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 18 Nov 2016 16:56:16 +0000 (17:56 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix the lchwon error test for Travis CI.
Mitch Hagstrand [Fri, 11 Nov 2016 23:40:30 +0000 (15:40 -0800)]
Fix the lchwon error test for Travis CI.

The E_WARNING message from the PHP function lchown is passed
from the system function lchown. The error message returned
from lchown can be filesystem dependent.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 18 Nov 2016 13:29:28 +0000 (14:29 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoRegenerated scanner
Dmitry Stogov [Fri, 18 Nov 2016 13:19:46 +0000 (16:19 +0300)]
Regenerated scanner

8 years agoFixed memory leaks in parse_ini_file()
Dmitry Stogov [Fri, 18 Nov 2016 13:17:52 +0000 (16:17 +0300)]
Fixed memory leaks in parse_ini_file()

8 years agoFix #64526: Add missing mysqlnd.* parameters to php.ini-*
Christoph M. Becker [Fri, 18 Nov 2016 13:17:19 +0000 (14:17 +0100)]
Fix #64526: Add missing mysqlnd.* parameters to php.ini-*

8 years agoDisabled PHP call tracing by default (it makes significant overhead).
Dmitry Stogov [Fri, 18 Nov 2016 10:19:30 +0000 (13:19 +0300)]
Disabled PHP call tracing by default (it makes significant overhead).
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.

8 years agoadd vc15 to the list
Anatol Belski [Thu, 17 Nov 2016 22:43:32 +0000 (23:43 +0100)]
add vc15 to the list

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Thu, 17 Nov 2016 12:58:38 +0000 (15:58 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed test
  Updated NEWS
  Improvement for bug73297
  Simplify ext/standard/tests/http/bug73297.phpt
  http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
  Add failing test for bug#73297

8 years agoFixed test
Dmitry Stogov [Thu, 17 Nov 2016 12:57:40 +0000 (15:57 +0300)]
Fixed test

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Dmitry Stogov [Thu, 17 Nov 2016 11:07:11 +0000 (14:07 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:php-src:
  Updated NEWS
  Improvement for bug73297
  Simplify ext/standard/tests/http/bug73297.phpt
  http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
  Add failing test for bug#73297

8 years agoFixed 64-bit build
Dmitry Stogov [Thu, 17 Nov 2016 11:05:22 +0000 (14:05 +0300)]
Fixed 64-bit build

8 years agoUpdated NEWS
Julien Pauli [Thu, 17 Nov 2016 10:48:32 +0000 (11:48 +0100)]
Updated NEWS

8 years agoImprovement for bug73297
Julien Pauli [Thu, 17 Nov 2016 10:33:36 +0000 (11:33 +0100)]
Improvement for bug73297

8 years agoSimplify ext/standard/tests/http/bug73297.phpt
Rowan Collins [Mon, 24 Oct 2016 18:01:17 +0000 (18:01 +0000)]
Simplify ext/standard/tests/http/bug73297.phpt

8 years agohttp_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Rowan Collins [Sun, 23 Oct 2016 18:24:58 +0000 (18:24 +0000)]
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses

8 years agoAdd failing test for bug#73297
Rowan Collins [Tue, 11 Oct 2016 21:12:18 +0000 (21:12 +0000)]
Add failing test for bug#73297

8 years agoUpdated NEWS
Julien Pauli [Thu, 17 Nov 2016 10:37:13 +0000 (11:37 +0100)]
Updated NEWS

8 years agoImprovement for bug73297
Julien Pauli [Thu, 17 Nov 2016 10:33:36 +0000 (11:33 +0100)]
Improvement for bug73297

8 years agoPrevent modification of immutable arrays (ext/mbstring/tests/bug26639.phpt failure...
Dmitry Stogov [Thu, 17 Nov 2016 10:33:05 +0000 (13:33 +0300)]
Prevent modification of immutable arrays (ext/mbstring/tests/bug26639.phpt failure with opcache.protect_memory=1)

8 years agoOverflow check
Dmitry Stogov [Thu, 17 Nov 2016 10:17:34 +0000 (13:17 +0300)]
Overflow check

8 years agoSimplify ext/standard/tests/http/bug73297.phpt
Rowan Collins [Mon, 24 Oct 2016 18:01:17 +0000 (18:01 +0000)]
Simplify ext/standard/tests/http/bug73297.phpt

8 years agohttp_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses
Rowan Collins [Sun, 23 Oct 2016 18:24:58 +0000 (18:24 +0000)]
http_fopen_wrapper.c - bug#73297 Skip past "100 Continue" responses

8 years agoAdd failing test for bug#73297
Rowan Collins [Tue, 11 Oct 2016 21:12:18 +0000 (21:12 +0000)]
Add failing test for bug#73297

8 years agoSkip 64-bit specific tests on 32-bit systems
Dmitry Stogov [Thu, 17 Nov 2016 08:44:28 +0000 (11:44 +0300)]
Skip 64-bit specific tests on 32-bit systems

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Wed, 16 Nov 2016 22:14:23 +0000 (01:14 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Accorate handling of too big inodes of chroot directories

8 years agoAccorate handling of too big inodes of chroot directories
Dmitry Stogov [Wed, 16 Nov 2016 22:08:42 +0000 (01:08 +0300)]
Accorate handling of too big inodes of chroot directories

8 years agoFix #73546: Logging for opcache has an empty file name
Mitch Hagstrand [Wed, 16 Nov 2016 20:00:52 +0000 (12:00 -0800)]
Fix #73546: Logging for opcache has an empty file name

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Wed, 16 Nov 2016 20:19:56 +0000 (23:19 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  "opcache.validate_root" is useless on Windows

8 years ago"opcache.validate_root" is useless on Windows
Dmitry Stogov [Wed, 16 Nov 2016 20:15:14 +0000 (23:15 +0300)]
"opcache.validate_root" is useless on Windows

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Wed, 16 Nov 2016 20:05:00 +0000 (23:05 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Use full path

8 years agoUse full path
Dmitry Stogov [Wed, 16 Nov 2016 20:01:40 +0000 (23:01 +0300)]
Use full path

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Dmitry Stogov [Wed, 16 Nov 2016 13:47:05 +0000 (16:47 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:php-src:

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Wed, 16 Nov 2016 13:46:54 +0000 (16:46 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed ZTS build
  Fix #73530: Unsetting result set may reset other result set

8 years agoFixed ZTS build
Dmitry Stogov [Wed, 16 Nov 2016 13:43:57 +0000 (16:43 +0300)]
Fixed ZTS build

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 16 Nov 2016 10:55:57 +0000 (11:55 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73530: Unsetting result set may reset other result set
Christoph M. Becker [Wed, 16 Nov 2016 10:49:04 +0000 (11:49 +0100)]
Fix #73530: Unsetting result set may reset other result set

Calling sqlite3_reset() when a result set object is freed can cause
undesired and maybe even hard to track interference with other result
sets. Furthermore, there is no need to call sqlite3_reset(), because
that is implicitly called on SQLite3Stmt::execute(), and users are
encouraged to explicitly call either SQLite3Result::finalize() or
SQLite3Stmt::reset() anyway.