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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mikael dot suvi at trigger dot ee
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Jun 19 14:01:31 2024 UTC