Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 292513 Details for
Bug 429693
php-pdo reproducable segmentation fault
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing segfault
php-5.1.6-BUG-37445.patch (text/plain), 1.18 KB, created by
Arturas Moskvinas
on 2008-01-22 14:24:54 UTC
(
hide
)
Description:
Patch fixing segfault
Filename:
MIME Type:
Creator:
Arturas Moskvinas
Created:
2008-01-22 14:24:54 UTC
Size:
1.18 KB
patch
obsolete
>diff -r -u php-5.1.6/ext/pdo/pdo_dbh.c php-5.1.6.fixed/ext/pdo/pdo_dbh.c >--- php-5.1.6/ext/pdo/pdo_dbh.c 2006-05-04 00:58:38.000000000 +0300 >+++ php-5.1.6.fixed/ext/pdo/pdo_dbh.c 2008-01-22 14:59:42.000000000 +0200 >@@ -550,6 +550,7 @@ > stmt->dbh = dbh; > /* give it a reference to me */ > zend_objects_store_add_ref(getThis() TSRMLS_CC); >+ php_pdo_dbh_addref(dbh TSRMLS_CC); > stmt->database_object_handle = *getThis(); > /* we haven't created a lazy object yet */ > ZVAL_NULL(&stmt->lazy_object_ref); >@@ -974,6 +975,7 @@ > stmt->dbh = dbh; > /* give it a reference to me */ > zend_objects_store_add_ref(getThis() TSRMLS_CC); >+ php_pdo_dbh_addref(dbh TSRMLS_CC); > stmt->database_object_handle = *getThis(); > /* we haven't created a lazy object yet */ > ZVAL_NULL(&stmt->lazy_object_ref); >diff -r -u php-5.1.6/ext/pdo/pdo_stmt.c php-5.1.6.fixed/ext/pdo/pdo_stmt.c >--- php-5.1.6/ext/pdo/pdo_stmt.c 2006-04-22 22:10:53.000000000 +0300 >+++ php-5.1.6.fixed/ext/pdo/pdo_stmt.c 2008-01-22 15:00:52.000000000 +0200 >@@ -2225,6 +2225,7 @@ > do_fetch_opt_finish(stmt, 1 TSRMLS_CC); > > zend_objects_store_del_ref(&stmt->database_object_handle TSRMLS_CC); >+ php_pdo_dbh_delref(stmt->dbh TSRMLS_CC); > efree(stmt); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 429693
: 292513