History log of /PHP-8.2/ext/oci8/oci8.c (Results 1 – 25 of 496)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 91d3aaaa 20-Apr-2023 Christopher Jones

Bump OCI8 version to make a PECL release for 8.2

# de90edc4 24-Aug-2022 Máté Kocsis

Declare ext/oci8 constants in stubs (#9419)

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

# ac6dbbd1 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/oci8 as sensitive

# b9e895bc 31-Mar-2022 Max Kellermann

Replace memcmp() with zend_string functions (#8216)

* ext/oci8: use zend_string_equals()

Eliminate duplicate code.

* main/php_variables: use zend_string_equals_literal()

Replace memcmp() with zend_string functions (#8216)

* ext/oci8: use zend_string_equals()

Eliminate duplicate code.

* main/php_variables: use zend_string_equals_literal()

Eliminate duplicate code.

* Zend/zend_string: add zend_string_equals_cstr()

Allows eliminating duplicate code.

* Zend, ext/{opcache,standard}, main/output: use zend_string_equals_cstr()

Eliminate duplicate code.

* Zend/zend_string: add zend_string_starts_with()

* ext/{opcache,phar,spl,standard}: use zend_string_starts_with()

This adds missing length checks to several callers, e.g. in
cache_script_in_shared_memory(). This is important when the
zend_string is shorter than the string parameter, when memcmp()
happens to check backwards; this can result in an out-of-bounds memory
access.

show more ...

# 900c94fc 12-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call


# c35be036 12-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call


# c435e677 12-Dec-2021 Christoph M. Becker

Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call

We must not use the TSRM accessor macros in GINIT and GSHUTDOWN, but
rather use the passed pointers directly. For si

Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call

We must not use the TSRM accessor macros in GINIT and GSHUTDOWN, but
rather use the passed pointers directly. For simplicity, we inline
`php_oci_cleanup_global_handles()`, and also the `PHP_OCI_CALL()`
macros; the latter are unlikely to be needed here, but don't hurt.

Closes GH-7766.

show more ...

# 93f6af69 12-Dec-2021 Christopher Jones

It's past time to drop linking support for Oracle Client 10g

# ac91b83c 28-Nov-2021 Christopher Jones

Add oci_set_prefetch_lob()

# 9cd7f41f 12-Nov-2021 Christopher Jones

Add oci8.prefetch_lob_size

# c96be7b8 24-Sep-2021 Tim Starling

Use ASCII lower case for misc case folding

Use ASCII case conversion instead of locale-dependent case conversion in
the following places:

* grapheme_stripos() and grapheme_strri

Use ASCII lower case for misc case folding

Use ASCII case conversion instead of locale-dependent case conversion in
the following places:

* grapheme_stripos() and grapheme_strripos() in the "fast" path
* ldap_get_entries()
* oci_pconnect() for case folding of parameters when constructing a key
into the connection or session pool
* SoapClient: case folding of function names
* get_meta_tags(): case conversion of property names
* http stream wrapper: header names
* phpinfo(): anchor names
* php_verror(): docref URLs
* rfc1867.c: Content-Type boundary parameter name
* streams.c: stream protocol names

Using locale-dependent case folding for these cases is either
unnecessary or actively incorrect. These functions could have
misbehaved when used with certain locales (e.g. Turkish).

Closes GH-7511.

show more ...

# 14f599ea 31-Aug-2021 Nikita Popov

Use zend_long for resource ID

Currently, resource IDs are limited to 32-bits. As resource IDs
are not reused, this means that resource ID overflow for
long-running processes is very

Use zend_long for resource ID

Currently, resource IDs are limited to 32-bits. As resource IDs
are not reused, this means that resource ID overflow for
long-running processes is very possible.

This patch switches resource IDs to use zend_long instead, which
means that on 64-bit systems, 64-bit resource IDs will be used.
This makes resource ID overflow practically impossible.

The tradeoff is an 8 byte increase in zend_resource size.

Closes GH-7436.

show more ...

# 87c181a0 22-Jul-2021 Máté Kocsis

Fix oci8.old_oci_close_semantics deprecation is always displayed

# e120d526 19-Jul-2021 Máté Kocsis

Deprecate oci8.old_oci_close_semantics (#7258)

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# af56982a 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql

Closes GH-6691

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 2e974c8c 14-Dec-2020 Christoph M. Becker

Add Windows support for OCI 19

As requested by Christopher Jones.

# 3b0fecd5 07-Sep-2020 Máté Kocsis

Fix UNKNOWN default values in ext/oci8

Closes GH-6089

# 47c787ff 22-Aug-2020 Christopher Jones

Squash a Linux compile warning

# ff66e494 21-Aug-2020 Christopher Jones

OCI8 classes were already renamed in 8; this now follows the new-new standard

# 0d146cb3 20-May-2020 George Peter Banyard

Some cleanup in OCI8 extension for PHP 8

# 74ca2a39 20-Jul-2020 Christopher Jones

Rename OCI8 classes to use standard names so arg stub parsing works

# 80587762 15-Jul-2020 Christopher Jones

Bump OCI8 version to 3.0 so a PHP 8 PECL release can be made

12345678910>>...20