]> granicus.if.org Git - php/log
php
8 years agoFix bug #71575 removing extra semicolons outside macros
James Titcumb [Tue, 16 Feb 2016 22:47:37 +0000 (22:47 +0000)]
Fix bug #71575 removing extra semicolons outside macros

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Thu, 3 Mar 2016 15:38:13 +0000 (16:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix intermixed SKIPIF and XFAIL sections in test
Nikita Popov [Tue, 1 Mar 2016 23:50:46 +0000 (00:50 +0100)]
Fix intermixed SKIPIF and XFAIL sections in test

8 years agoDisable upload_2G test on travis
Nikita Popov [Tue, 1 Mar 2016 23:29:01 +0000 (00:29 +0100)]
Disable upload_2G test on travis

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 2 Mar 2016 16:05:05 +0000 (17:05 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  show correct MINFO with libpq >= 9.5.x

8 years agoshow correct MINFO with libpq >= 9.5.x
Anatol Belski [Wed, 2 Mar 2016 16:03:20 +0000 (17:03 +0100)]
show correct MINFO with libpq >= 9.5.x

8 years agoPHP-7 zend_call_function() doesn't support symbol_table substitution
Dmitry Stogov [Wed, 2 Mar 2016 13:56:39 +0000 (16:56 +0300)]
PHP-7 zend_call_function() doesn't support symbol_table substitution

8 years agoBetter fix for IS_INDIRECT support in zend_hash_merge()
Dmitry Stogov [Wed, 2 Mar 2016 12:09:04 +0000 (15:09 +0300)]
Better fix for IS_INDIRECT support in zend_hash_merge()

8 years agoFixed test (sizeof(zend_string) is different on 32 and 64-bit systems)
Dmitry Stogov [Wed, 2 Mar 2016 10:01:42 +0000 (13:01 +0300)]
Fixed test (sizeof(zend_string) is different on 32 and 64-bit systems)

8 years agoIntroduce zend_symtable_exists_ind() for API consistency
Dmitry Stogov [Wed, 2 Mar 2016 08:53:47 +0000 (11:53 +0300)]
Introduce zend_symtable_exists_ind() for API consistency

8 years agofix wddx merge
Stanislav Malyshev [Wed, 2 Mar 2016 08:02:33 +0000 (00:02 -0800)]
fix wddx merge

8 years agoUpdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 07:09:47 +0000 (23:09 -0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0.4' into PHP-7.0
Stanislav Malyshev [Wed, 2 Mar 2016 07:08:19 +0000 (23:08 -0800)]
Merge branch 'PHP-7.0.4' into PHP-7.0

* PHP-7.0.4: (21 commits)
  update NEWS
  fix test file
  Fix version
  update NEWS
  Update NEWS
  Fix bug #71610: Type Confusion Vulnerability - SOAP / make_http_soap_request()
  Fix bug #71637: Multiple Heap Overflow due to integer overflows
  extend check for add_flag
  Fixed another segfault with file_cache_only now
  set version
  fix nmake clean in phpize mode
  Fixed segfault with file_cache_only
  Fixed possible crash at PCRE on MSHUTDOWN
  Fixed more synchronisation issues during SHM reload
  Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string
  sync with improvements in NEWS
  Fixed process synchronisation problem, that may cause crashes after opcache restart
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  fix ts buld
  prep for 5.6.19RC1
  ...

Conflicts:
configure.in
main/php_version.h

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Stanislav Malyshev [Wed, 2 Mar 2016 07:07:49 +0000 (23:07 -0800)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:php-src:
  limit size of result set so unit test runs reliably

8 years agoupdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 07:07:32 +0000 (23:07 -0800)]
update NEWS

8 years agoMerge branch 'PHP-5.6.19' into PHP-7.0.4
Stanislav Malyshev [Wed, 2 Mar 2016 07:01:48 +0000 (23:01 -0800)]
Merge branch 'PHP-5.6.19' into PHP-7.0.4

* PHP-5.6.19:
  fix test file
  Fix version
  update NEWS
  Update NEWS
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  fix ts buld
  prep for 5.6.19RC1
  5.6.20 is next
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

Conflicts:
configure.in
ext/wddx/wddx.c
main/php_version.h

8 years agoMerge branch 'PHP-5.6.19' into PHP-5.6
Stanislav Malyshev [Wed, 2 Mar 2016 06:56:08 +0000 (22:56 -0800)]
Merge branch 'PHP-5.6.19' into PHP-5.6

* PHP-5.6.19:
  fix test file
  Fix version
  Update NEWS

8 years agoMerge branch 'PHP-5.5' into PHP-5.6.19
Stanislav Malyshev [Wed, 2 Mar 2016 06:55:49 +0000 (22:55 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6.19

* PHP-5.5:
  fix test file
  Fix version
  Update NEWS

8 years agofix test file
Stanislav Malyshev [Wed, 2 Mar 2016 06:55:02 +0000 (22:55 -0800)]
fix test file

8 years agoFix version
Stanislav Malyshev [Wed, 2 Mar 2016 06:47:27 +0000 (22:47 -0800)]
Fix version

8 years agoMerge branch 'PHP-5.6.19' into PHP-5.6
Stanislav Malyshev [Wed, 2 Mar 2016 06:41:29 +0000 (22:41 -0800)]
Merge branch 'PHP-5.6.19' into PHP-5.6

* PHP-5.6.19:
  update NEWS
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  fix ts buld
  prep for 5.6.19RC1
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

8 years agoupdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 06:41:10 +0000 (22:41 -0800)]
update NEWS

8 years agoMerge branch 'PHP-5.5.33' into PHP-5.6.19
Stanislav Malyshev [Wed, 2 Mar 2016 06:40:00 +0000 (22:40 -0800)]
Merge branch 'PHP-5.5.33' into PHP-5.6.19

* PHP-5.5.33:
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

8 years agoUpdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 06:37:23 +0000 (22:37 -0800)]
Update NEWS

8 years agoFix bug #71610: Type Confusion Vulnerability - SOAP / make_http_soap_request()
Stanislav Malyshev [Mon, 22 Feb 2016 07:45:57 +0000 (23:45 -0800)]
Fix bug #71610: Type Confusion Vulnerability - SOAP / make_http_soap_request()

8 years agoFix bug #71637: Multiple Heap Overflow due to integer overflows
Stanislav Malyshev [Mon, 22 Feb 2016 07:14:29 +0000 (23:14 -0800)]
Fix bug #71637: Multiple Heap Overflow due to integer overflows

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Wed, 2 Mar 2016 06:27:09 +0000 (14:27 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  limit size of result set so unit test runs reliably

8 years agoMerge branch 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src into PHP-5.6
Xinchen Hui [Wed, 2 Mar 2016 06:26:34 +0000 (14:26 +0800)]
Merge branch 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src into PHP-5.6

* 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src:
  limit size of result set so unit test runs reliably

8 years agoMerge branch 'PHP-7.0.4' into PHP-7.0
Stanislav Malyshev [Wed, 2 Mar 2016 06:22:47 +0000 (22:22 -0800)]
Merge branch 'PHP-7.0.4' into PHP-7.0

* PHP-7.0.4:
  Fix bug #71610: Type Confusion Vulnerability - SOAP / make_http_soap_request()
  Fix bug #71637: Multiple Heap Overflow due to integer overflows
  set versions

Conflicts:
configure.in
main/php_version.h

8 years agoFixed test ext/readline/tests/readline_read_history_error_001.phpt
Xinchen Hui [Wed, 2 Mar 2016 04:29:15 +0000 (12:29 +0800)]
Fixed test ext/readline/tests/readline_read_history_error_001.phpt

This only pass with libedit

8 years agoUse hash_exists_ind in symbol table
Xinchen Hui [Wed, 2 Mar 2016 04:11:13 +0000 (12:11 +0800)]
Use hash_exists_ind in symbol table

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 1 Mar 2016 23:37:40 +0000 (00:37 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix intermittent failure of bug_68819_002.phpt
Nikita Popov [Tue, 1 Mar 2016 23:34:36 +0000 (00:34 +0100)]
Fix intermittent failure of bug_68819_002.phpt

The test used rand(32, 127) to select the character, however
chr(127) results in "data" instead of the expected result, so this
test would fail in something like 1% of the runs.

Replace rand() with fixed character "a".

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 1 Mar 2016 22:32:24 +0000 (23:32 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix bug #71694
mpyw [Tue, 1 Mar 2016 06:30:04 +0000 (15:30 +0900)]
Fix bug #71694

Exports contants CURLM_ADDED_ALREADY.

8 years agolimit size of result set so unit test runs reliably
Adam Baratz [Tue, 1 Mar 2016 22:15:07 +0000 (17:15 -0500)]
limit size of result set so unit test runs reliably

8 years agoMaybe we should introduce a symtable_exists_ind
Xinchen Hui [Tue, 1 Mar 2016 12:01:02 +0000 (20:01 +0800)]
Maybe we should introduce a symtable_exists_ind

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Tue, 1 Mar 2016 11:20:57 +0000 (19:20 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  remove unused vars
  fix possible pointer truncation on win64
  Updated NEWS
  extend check for add_flag
  LDAP - Added support to change the certificates verification

8 years agoFixed bug #71695 (Global variables are reserved before execution).
Xinchen Hui [Tue, 1 Mar 2016 11:19:07 +0000 (19:19 +0800)]
Fixed bug #71695 (Global variables are reserved before execution).

Instead of slow down hash_merge, we may also check the array(whether it
contains INDIRECT) outside of the loop, however, consisdering hash_merge
is not widly used, I prefer fix this in the current way to keep the
codes simple

8 years agoremove unused vars
Anatol Belski [Tue, 1 Mar 2016 09:52:49 +0000 (10:52 +0100)]
remove unused vars

8 years agofix possible pointer truncation on win64
Anatol Belski [Tue, 1 Mar 2016 09:51:55 +0000 (10:51 +0100)]
fix possible pointer truncation on win64

8 years agoUpdated NEWS
Côme Bernigaud [Tue, 1 Mar 2016 08:55:24 +0000 (09:55 +0100)]
Updated NEWS

8 years agoextend check for add_flag
Anatol Belski [Tue, 1 Mar 2016 08:35:00 +0000 (09:35 +0100)]
extend check for add_flag

8 years agoextend check for add_flag
Anatol Belski [Tue, 1 Mar 2016 08:35:00 +0000 (09:35 +0100)]
extend check for add_flag

8 years agoFixed another segfault with file_cache_only now
Xinchen Hui [Tue, 1 Mar 2016 02:50:56 +0000 (10:50 +0800)]
Fixed another segfault with file_cache_only now

8 years agoLDAP - Added support to change the certificates verification
Edwin Hoksberg [Tue, 16 Feb 2016 08:39:58 +0000 (09:39 +0100)]
LDAP - Added support to change the certificates verification

8 years agoFixed another segfault with file_cache_only now
Xinchen Hui [Tue, 1 Mar 2016 02:50:56 +0000 (10:50 +0800)]
Fixed another segfault with file_cache_only now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Mon, 29 Feb 2016 21:44:06 +0000 (22:44 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/phar/tar.c

8 years agoFixed bugs #71317 and #71504
Jos Elstgeest [Tue, 2 Feb 2016 23:24:06 +0000 (00:24 +0100)]
Fixed bugs #71317 and #71504

If there are duplicate filenames in tar, the last one wins.

8 years agoset version
Anatol Belski [Mon, 29 Feb 2016 19:44:00 +0000 (20:44 +0100)]
set version

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

* PHP-5.6:
  add test for bug #68957

8 years agoadd test for bug #68957
Anatol Belski [Mon, 29 Feb 2016 17:43:03 +0000 (18:43 +0100)]
add test for bug #68957

8 years agoupdate NEWS
Anatol Belski [Mon, 29 Feb 2016 17:26:48 +0000 (18:26 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 29 Feb 2016 17:26:08 +0000 (18:26 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 29 Feb 2016 17:25:16 +0000 (18:25 +0100)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 29 Feb 2016 16:07:05 +0000 (17:07 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed #54648 PDO::MSSQL forces format of datetime fields

8 years agoFixed #54648 PDO::MSSQL forces format of datetime fields
Anatol Belski [Mon, 29 Feb 2016 16:04:49 +0000 (17:04 +0100)]
Fixed #54648 PDO::MSSQL forces format of datetime fields

adopted patch by steven dot lambeth at gmx dot de

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 29 Feb 2016 15:30:33 +0000 (16:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  remove unneeded free parts

8 years agoremove unneeded free parts
Anatol Belski [Mon, 29 Feb 2016 15:26:46 +0000 (16:26 +0100)]
remove unneeded free parts

See bug #71667, free_statement already does the job

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

* PHP-5.6:
  fix leaks and add one more NULL check
  add NULL check
  fix C89 compat
  fix arg type

8 years agofix leaks and add one more NULL check
Anatol Belski [Mon, 29 Feb 2016 14:38:42 +0000 (15:38 +0100)]
fix leaks and add one more NULL check

8 years agoadd NULL check
Anatol Belski [Mon, 29 Feb 2016 14:26:57 +0000 (15:26 +0100)]
add NULL check

8 years agofix C89 compat
Anatol Belski [Mon, 29 Feb 2016 14:24:31 +0000 (15:24 +0100)]
fix C89 compat

8 years agofix arg type
Anatol Belski [Mon, 29 Feb 2016 14:23:53 +0000 (15:23 +0100)]
fix arg type

8 years agofix nmake clean in phpize mode
Anatol Belski [Mon, 29 Feb 2016 09:58:56 +0000 (10:58 +0100)]
fix nmake clean in phpize mode

8 years agofix nmake clean in phpize mode
Anatol Belski [Mon, 29 Feb 2016 09:58:56 +0000 (10:58 +0100)]
fix nmake clean in phpize mode

8 years agoThe test self should be fixed(maybe relates to env?)
Xinchen Hui [Mon, 29 Feb 2016 07:19:18 +0000 (15:19 +0800)]
The test self should be fixed(maybe relates to env?)

Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt"

This reverts commit 69e26f9f8fb444fab29bba0fc99fab0cf6f80dd4.

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Mon, 29 Feb 2016 07:07:38 +0000 (15:07 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  test fixes
  update NEWS
  Fix bug #71536 Access Violation crashes php-cgi.exe

8 years agoFixed test ext/readline/tests/readline_read_history_error_001.phpt
Xinchen Hui [Mon, 29 Feb 2016 07:07:19 +0000 (15:07 +0800)]
Fixed test ext/readline/tests/readline_read_history_error_001.phpt

8 years agoFixed segfault with file_cache_only
Xinchen Hui [Sun, 28 Feb 2016 03:50:06 +0000 (11:50 +0800)]
Fixed segfault with file_cache_only

8 years agotest fixes
Anatol Belski [Sun, 28 Feb 2016 10:53:21 +0000 (11:53 +0100)]
test fixes

8 years agoupdate NEWS
Anatol Belski [Sun, 28 Feb 2016 10:06:55 +0000 (11:06 +0100)]
update NEWS

8 years agoFix bug #71536 Access Violation crashes php-cgi.exe
Anatol Belski [Sun, 28 Feb 2016 10:01:00 +0000 (11:01 +0100)]
Fix bug #71536 Access Violation crashes php-cgi.exe

8 years agoFixed segfault with file_cache_only
Xinchen Hui [Sun, 28 Feb 2016 03:50:06 +0000 (11:50 +0800)]
Fixed segfault with file_cache_only

8 years agoFixed possible crash at PCRE on MSHUTDOWN
Dmitry Stogov [Wed, 24 Feb 2016 20:46:11 +0000 (23:46 +0300)]
Fixed possible crash at PCRE on MSHUTDOWN

8 years agoFixed more synchronisation issues during SHM reload
Dmitry Stogov [Wed, 24 Feb 2016 18:15:53 +0000 (21:15 +0300)]
Fixed more synchronisation issues during SHM reload

8 years agoSet proper type flags (REFCOUNTED and COPYABLE) according to interned or regular...
Dmitry Stogov [Thu, 18 Feb 2016 20:15:38 +0000 (23:15 +0300)]
Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string

8 years agoFixed bug #71660 (array_column behaves incorrectly after foreach by reference)
Xinchen Hui [Thu, 25 Feb 2016 08:07:22 +0000 (16:07 +0800)]
Fixed bug #71660 (array_column behaves incorrectly after foreach by reference)

8 years agoFix construction of AO with overloaded object error
Nikita Popov [Wed, 24 Feb 2016 21:31:17 +0000 (22:31 +0100)]
Fix construction of AO with overloaded object error

a) Fix uses of zend_string in error message
b) Don't assign the overloaded object as the backing storage, that
   sort of defeats the point. Instead leave the previous value.

8 years agoFix AO object properties separation
Nikita Popov [Wed, 24 Feb 2016 18:08:18 +0000 (19:08 +0100)]
Fix AO object properties separation

8 years agoForbid exchangeArray() during sorting
Nikita Popov [Wed, 24 Feb 2016 17:27:56 +0000 (18:27 +0100)]
Forbid exchangeArray() during sorting

Previously this would leak.

8 years agoFix typo in foreach_017.phpt
Nikita Popov [Wed, 24 Feb 2016 17:23:42 +0000 (18:23 +0100)]
Fix typo in foreach_017.phpt

8 years agoFixed possible crash at PCRE on MSHUTDOWN
Dmitry Stogov [Wed, 24 Feb 2016 20:46:11 +0000 (23:46 +0300)]
Fixed possible crash at PCRE on MSHUTDOWN

8 years agoFixed more synchronisation issues during SHM reload
Dmitry Stogov [Wed, 24 Feb 2016 18:15:53 +0000 (21:15 +0300)]
Fixed more synchronisation issues during SHM reload

8 years agoFix leak on assignment to illegal AO offset
Nikita Popov [Wed, 24 Feb 2016 16:39:16 +0000 (17:39 +0100)]
Fix leak on assignment to illegal AO offset

8 years agoDon't use ht applyCount for AO sorting protection
Nikita Popov [Wed, 24 Feb 2016 16:18:07 +0000 (17:18 +0100)]
Don't use ht applyCount for AO sorting protection

Instead use the AOs own applyCount that just got freed up. Using the
apply count of the HashTable has various side effects, e.g. preventing
the ArrayObject from being dumped.

8 years agoRemove recursion checks from AO get_properties
Nikita Popov [Wed, 24 Feb 2016 16:10:28 +0000 (17:10 +0100)]
Remove recursion checks from AO get_properties

These are pointless, there is no recursion (of that kind) happening
there.

8 years agoFix "Call to member function on unknown"
Nikita Popov [Wed, 24 Feb 2016 16:00:04 +0000 (17:00 +0100)]
Fix "Call to member function on unknown"

Should be "on null".

8 years agoFixed bug #71470
Nikita Popov [Wed, 24 Feb 2016 13:07:06 +0000 (14:07 +0100)]
Fixed bug #71470

Don't report hashtable iterator leaks on unclean shutdown, those
are expected.

8 years agofix NEWS
Anatol Belski [Wed, 24 Feb 2016 11:29:23 +0000 (12:29 +0100)]
fix NEWS

8 years agofix NEWS
Remi Collet [Wed, 24 Feb 2016 11:26:25 +0000 (12:26 +0100)]
fix NEWS

8 years agosync with improvements in NEWS
Anatol Belski [Wed, 24 Feb 2016 11:23:26 +0000 (12:23 +0100)]
sync with improvements in NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 24 Feb 2016 11:06:35 +0000 (12:06 +0100)]
update NEWS

8 years agoPort patch and test for bug #47803 to 7.0
Anatol Belski [Wed, 24 Feb 2016 11:00:26 +0000 (12:00 +0100)]
Port patch and test for bug #47803 to 7.0

See ff115e285ab5192f9e12a43d5dc202d88b01f1ea

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 24 Feb 2016 10:57:15 +0000 (11:57 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS
  add test for bug #47803
  Fixed bug #47803

8 years agoupdate NEWS
Anatol Belski [Wed, 24 Feb 2016 10:56:12 +0000 (11:56 +0100)]
update NEWS

8 years agoadd test for bug #47803
Anatol Belski [Wed, 24 Feb 2016 10:49:02 +0000 (11:49 +0100)]
add test for bug #47803

8 years agoFixed bug #47803
Anatol Belski [Wed, 24 Feb 2016 10:40:35 +0000 (11:40 +0100)]
Fixed bug #47803

Executing prepared statements is succesfull only for the first two statements

The reworked patch descends to the bug #69526 which is fixed by
this as well. The broken logic in the current code was, that
SQLDescribeParam was executed in odbc_execute every time. This piece
is now moved into odbc_prepare and the results are carried on in an
additional structure.

Since the ext/odbc headers are not being currently installed and the
corresponding structs like odbc_result are not used outside ext/odbc,
the binary compatibility persists. Executing SQLDescribeParam only once
in odbc_prepare is also an optimization as the filds usually won't
change that fast and thus requestind the descriptions on every
execution is not required.

8 years agoFixed process synchronisation problem, that may cause crashes after opcache restart
Dmitry Stogov [Wed, 17 Feb 2016 10:58:05 +0000 (13:58 +0300)]
Fixed process synchronisation problem, that may cause crashes after opcache restart

8 years agoFixed bug #71535 (Integer overflow in zend_mm_alloc_heap())
Dmitry Stogov [Wed, 24 Feb 2016 08:04:48 +0000 (11:04 +0300)]
Fixed bug #71535 (Integer overflow in zend_mm_alloc_heap())