php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8836 memory fault after sybase_connect
Submitted: 2001-01-22 07:41 UTC Modified: 2001-05-27 19:34 UTC
From: fabien at usa dot net Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.4pl1 OS: Win32
Private report: No CVE-ID: None
 [2001-01-22 07:41 UTC] fabien at usa dot net
memory fault after sybase_connect

in order to connect to sybase server with PHP4 and Sybase openclient 11.1.1, you need to change some lines in php_sybase_ct.c

all sybase message handler must be declared with CS_PUBLIC :

CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_CLIENTMSG *errmsg)

and

CS_RETCODE CS_PUBLIC _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_SERVERMSG *srvmsg)

please change these lines.
thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 19:34 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.0.6.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC