We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9ad4e commit 6a06587Copy full SHA for 6a06587
NEWS
@@ -20,6 +20,8 @@ PHP NEWS
20
- PDO_sqlite:
21
. Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
22
on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
23
+ . Fixed bug #52958 (Segfault in PDO_OCI on cleanup after running a long
24
+ testsuite) (hswong3i, Lars)
25
26
?? ??? 2012, PHP 5.4.11
27
ext/pdo_oci/oci_driver.c
@@ -227,8 +227,10 @@ static int oci_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */
227
H->server = NULL;
228
}
229
230
- OCIHandleFree(H->err, OCI_HTYPE_ERROR);
231
- H->err = NULL;
+ if (H->err) {
+ OCIHandleFree(H->err, OCI_HTYPE_ERROR);
232
+ H->err = NULL;
233
+ }
234
235
if (H->charset && H->env) {
236
OCIHandleFree(H->env, OCI_HTYPE_ENV);
0 commit comments