#30414 [Opn->Asn]: Possible crash fixes

From: Date: Wed, 13 Oct 2004 07:17:32 +0000
Subject: #30414 [Opn->Asn]: Possible crash fixes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67514@lists.php.net to get a copy of this message
ID: 30414 Updated by: derick@php.net Reported By: mikael dot suvi at trigger dot ee -Status: Open +Status: Assigned Bug Type: OCI8 related Operating System: gentoo PHP Version: 5.0.2 -Assigned To: +Assigned To: tony2001 Previous Comments: ------------------------------------------------------------------------ [2004-10-12 21:50:20] 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; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30414&edit=1

« previous php.bugs (#67514) next »