#
b87e43d9 |
| 29-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80152: odbc_execute() moves internal pointer of $params
|
#
bf5f07cc |
| 26-Sep-2020 |
Christoph M. Becker |
Fix #80152: odbc_execute() moves internal pointer of $params As least intrusive fix, we separate the passed array argument. Closes GH-6219. |
#
47a166c8 |
| 23-Sep-2020 |
Christoph M. Becker |
Fix #78792: zlib.output_compression disabled by Content-Type: image/ Disabling output compression for images has served to fix bug #16109, where zlib compressed images apparently have ca
Fix #78792: zlib.output_compression disabled by Content-Type: image/ Disabling output compression for images has served to fix bug #16109, where zlib compressed images apparently have caused issues with Navigator 4. This shouldn't be an issue with somewhat contemporary browsers. Other than that, this is an arbitrary restriction – why don't we disable the compression for some other media types as well (e.g. video/* and audio/*)? All in all, we should leave that decision to userland. Closes GH-6198.
show more ...
|
#
9f5a7718 |
| 27-Sep-2020 |
Christoph M. Becker |
Fix #22986: odbc_connect() may reuse persistent connection `odbc_connect()` should not reuse persistent connections, since that prohibits multiple concurrent connections, which are occas
Fix #22986: odbc_connect() may reuse persistent connection `odbc_connect()` should not reuse persistent connections, since that prohibits multiple concurrent connections, which are occasionally desireable. We fix that by no longer looking for already cached connections when `odbc_connect()` is called, and instead creating a new connection instead. Closes GH-6223.
show more ...
|
#
e08f6919 |
| 29-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80150: Failure to fetch error message
|
#
df5efa2f |
| 25-Sep-2020 |
Christoph M. Becker |
Fix #80150: Failure to fetch error message In case of statement related errors, we need to pass the respective statement handle to `SQLError()`. Closes GH-6217. |
#
f1d8395c |
| 28-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #67465: NULL Pointer dereference in odbc_handle_preparer
|
#
6acfb792 |
| 28-Sep-2020 |
Christoph M. Becker |
Fix #67465: NULL Pointer dereference in odbc_handle_preparer We have to initialize `stmt->driver_data` before we use it. Closes GH-6225. |
#
1086e4ec |
| 25-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80147: BINARY strings may not be properly zero-terminated
|
#
a49555a9 |
| 25-Sep-2020 |
Christoph M. Becker |
Fix #80147: BINARY strings may not be properly zero-terminated We have to manually ensure that all strings fetched from a data source are zero-terminated. Closes GH-6213. |
#
17a789e2 |
| 18-Dec-2019 |
Simonov Denis |
Fix #64937: Firebird PDO preprocessing sql This patch fixes some problems with preprocessing SQL queries. * The new algorithm takes into account single-line and multi-line com
Fix #64937: Firebird PDO preprocessing sql This patch fixes some problems with preprocessing SQL queries. * The new algorithm takes into account single-line and multi-line comments and ignores the ":" and "?" Parameter markers in them. * The algorithm allows the EXECUTE BLOCK statement to be processed correctly. For this statement, it is necessary to search for parameter markers between EXECUTE BLOCK and AS, the rest should be left as is. The SQL preprocessing code has been ported from Firebird to handle EXECUTE STATEMENT. Closes GH-4920.
show more ...
|
#
901d0220 |
| 24-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #78470: odbc_specialcolumns() no longer accepts $nullable
|
#
610e7d2c |
| 24-Sep-2020 |
Christoph M. Becker |
Fix #78470: odbc_specialcolumns() no longer accepts $nullable It is mandatory to pass either `SQL_NO_NULLS` or `SQL_NULLABLE` as tenth parameter to `SQLSpecialColumns()`; otherwise the f
Fix #78470: odbc_specialcolumns() no longer accepts $nullable It is mandatory to pass either `SQL_NO_NULLS` or `SQL_NULLABLE` as tenth parameter to `SQLSpecialColumns()`; otherwise the function call fails. Therefore the user must be allowed to pass the desired value as parameter to `odbc_specialcolumns()` again. Closes GH-6200.
show more ...
|
#
a89ac98f |
| 23-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #76735: Incorrect message in fopen on invalid mode
|
#
2576c57a |
| 22-Sep-2020 |
Christoph M. Becker |
Fix #76735: Incorrect message in fopen on invalid mode We have to log errors in `stream_opener` callbacks to the wrapper's error log, because otherwise we may pick up an unrelated `errno
Fix #76735: Incorrect message in fopen on invalid mode We have to log errors in `stream_opener` callbacks to the wrapper's error log, because otherwise we may pick up an unrelated `errno` or a most generic message. Closes GH-6187.
show more ...
|
#
4222ae16 |
| 11-May-2020 |
Alex Dowad |
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the ite
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the iteration state of the outer loop. To illustrate: $spl = SplFixedArray::fromArray([0, 1]); foreach ($spl as $a) { foreach ($spl as $b) { echo "$a $b"; } } Would only print two lines: 0 0 0 1 Use the new InternalIterator feature which was introduced in ff19ec2df3 to convert SplFixedArray to an Aggregate rather than Iterable. As a bonus, we get to trim down some ugly code! Yay!
show more ...
|
#
ff0f6c26 |
| 22-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #76943: Inconsistent stream_wrapper_restore() errors
|
#
5ed0602e |
| 22-Sep-2020 |
Christoph M. Becker |
Fix #76943: Inconsistent stream_wrapper_restore() errors If restoring of any not registered built-in wrapper is requested, the function is supposed to fail with a warning, so we have to
Fix #76943: Inconsistent stream_wrapper_restore() errors If restoring of any not registered built-in wrapper is requested, the function is supposed to fail with a warning, so we have to check this condition first. Furthermore, to be able to detect whether a built-in wrapper has been changed, it is not sufficient to check whether *any* userland wrapper has been registered, but rather whether the specific wrapper has been modified. Closes GH-6183.
show more ...
|
#
f445e9cb |
| 22-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #79423: copy command is limited to size of file it can copy
|
#
4000780b |
| 09-Sep-2020 |
Christoph M. Becker |
Fix #79423: copy command is limited to size of file it can copy Passing `NULL` as `lpFileSizeHigh` to `GetFileSize()` gives wrong results for files larger than 0xFFFFFFFF bytes. We fix
Fix #79423: copy command is limited to size of file it can copy Passing `NULL` as `lpFileSizeHigh` to `GetFileSize()` gives wrong results for files larger than 0xFFFFFFFF bytes. We fix this by using `GetFileSizeEx()`, and let the mapping fail, if the file size is too large for the architecture. Closes GH-5319.
show more ...
|
#
19c84459 |
| 21-Sep-2020 |
Christoph M. Becker |
Fix mmap copying Instead of attempting to map large files into memory at once, we map chunks of at most `PHP_STREAM_MMAP_MAX` bytes, and repeat that until we hit the point where `php
Fix mmap copying Instead of attempting to map large files into memory at once, we map chunks of at most `PHP_STREAM_MMAP_MAX` bytes, and repeat that until we hit the point where `php_stream_seek()` fails (see bug 54902), and copy the rest of the file by reading and writing small chunks. We also fix the mapping behavior for zero bytes on Windows, which did not error (as with `mmap()`), but would have mapped the remaining file.
show more ...
|
#
d27dc5c0 |
| 19-Sep-2020 |
Christoph M. Becker |
Fix #80118: Erroneous whitespace match with JIT only We backport r1273[1] from PCRE2. [1] <https://vcs.pcre.org/pcre2?revision=1273&view=revision> Closes GH-6165. |
#
105132bd |
| 20-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80114: parse_url does not accept URLs with port 0
|
#
81b2f3e5 |
| 20-Sep-2020 |
Christoph M. Becker |
Fix #80114: parse_url does not accept URLs with port 0 URIs with a 0 port are generally valid, so `parse_url()` should recognize such URIs, but still report the port as missing.
Fix #80114: parse_url does not accept URLs with port 0 URIs with a 0 port are generally valid, so `parse_url()` should recognize such URIs, but still report the port as missing. Co-authored-by: twosee <twose@qq.com> Closes GH-6152.
show more ...
|
#
5e7c5a82 |
| 18-Sep-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix bug #80107: Handling of large compressed packets Bug #80107 Add test for mysqli_query() fails for ~16 MB long query when compre
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix bug #80107: Handling of large compressed packets Bug #80107 Add test for mysqli_query() fails for ~16 MB long query when compression is enabled
show more ...
|