Edit report at https://bugs.php.net/bug.php?id=63258&edit=1

 ID:                 63258
 Comment by:         jwatson at fh dot org
 Reported by:        paul dot visco at roswellpark dot org
 Summary:            seg fault with PDO and dblib using DBSETOPT(H->link,
                     DBQUOTEDIDENT, 1);
 Status:             Closed
 Type:               Bug
 Package:            PDO related
 Operating System:   centos 5.8
 PHP Version:        5.4.7
 Assigned To:        ssufficool
 Block user comment: N
 Private report:     N

 New Comment:

Is there any chance this might make it into a PHP 5.4.x release? I looked in 
the 
repo and saw that this is only checked in to PHP5.5. This is a critical bug-fix 
for existing systems.


Previous Comments:
------------------------------------------------------------------------
[2013-01-21 09:33:42] f dot marquis at of2m dot fr

currently using FreeTDS, on CentOS 6.3

------------------------------------------------------------------------
[2013-01-19 02:55:55] ssuffic...@php.net

Are you compiling against FreeTDS or Sybase libs? It looks like the segfault is 
in the DB LIB, not PHP. FreeTDS is passing a null pointer (or something 
invalid) 
to the libc strlen() function.

To further debug this issue, FreeTDS will need to be recompiled with debug 
symbols intact, php recompiled and the segfault back trace reproduced. This 
will 
give better insight to the code generating the error.

------------------------------------------------------------------------
[2013-01-18 13:03:08] f dot marquis at of2m dot fr

this patch seems to cause an error :
#63638 Cannot connect to SQL Server 2008 with PDO dblib

------------------------------------------------------------------------
[2012-10-12 02:39:42] larue...@php.net

Automatic comment on behalf of laruence
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=0c0b5a3543f37dc3dfe7fa55629f2749c0b05294
Log: Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, 
DBQUOTEDIDENT, 1))

------------------------------------------------------------------------
[2012-10-12 02:38:28] larue...@php.net

Automatic comment on behalf of laruence
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=0c0b5a3543f37dc3dfe7fa55629f2749c0b05294
Log: Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, 
DBQUOTEDIDENT, 1))

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=63258


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63258&edit=1

Reply via email to