php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30414 Possible crash fixes
Submitted: 2004-10-12 21:50 UTC Modified: 2004-10-23 11:36 UTC
From: mikael dot suvi at trigger dot ee Assigned: tony2001 (profile)
Status: Closed Package: OCI8 related
PHP Version: 5.0.2 OS: gentoo
Private report: No CVE-ID: None
 [2004-10-12 21:50 UTC] mikael dot suvi at trigger dot ee
Description:
------------
After experiencing several mysterious segfaults with php-5.0.2/apache2/oracle combination under heavy load I have made the following modifications to oci8.c file and the crashes have happily vanished for my case.

diff oci8.c oci8.c.new
1019c1019
<       if (connection->session) {
---
>       if (connection->session && connection->session->explicit) {
2909c2909
<       return sess1->num = sess2->num;
---
>       return sess1->num == sess2->num;


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-23 11:36 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Committed, thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC