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

 ID:               51300
 User updated by:  tanguy dot pruvot at gmail dot com
 Reported by:      tanguy dot pruvot at gmail dot com
 Summary:          SELECT * CRASH With LibMySQL > 5.0.51
 Status:           Bogus
 Type:             Bug
 Package:          PDO related
 Operating System: Windows 7
 PHP Version:      5.2.13

 New Comment:

Sure i understand... but why 5.0.51 ? 5.0 community server has been
replaced by 

5.1 since .... a lot of time



I hope my solution will be usefull to others like me who want same
environnement 

for symfony in linux and windows... with a 5.0.52 to 90 or 5.1 MySQL
Server



Detected and fixed the problem with OllyDbg... mysqli is not affected



Does all other PDO db use this same 0x50 byte-sized column structure ?


Previous Comments:
------------------------------------------------------------------------
[2010-03-15 10:23:46] paj...@php.net

Sorry but there is a misunderstanding.



We provide libmysql 5.0.x (don't remember which version exactly right
now). PHP was compiled against this version, size of the struct and
other elemenets were defined at compilation and linking time.



Further updates of the 5.0.x libraries should not change these sizs or
it will break the binary compatibility and makes the applications behave
badly (crashes being one of these effects).



Thanks for your understanding but there is no bug in php.

------------------------------------------------------------------------
[2010-03-15 10:16:23] paj...@php.net

See the definition of ABI and explain it to the mysql developers: 



http://en.wikipedia.org/wiki/Application_binary_interface



That's not something we can or could test or change at runtime.

------------------------------------------------------------------------
[2010-03-15 10:14:53] tanguy dot pruvot at gmail dot com

The Binary Fix is for php_pdo_mysql.dll ... not libmysql

------------------------------------------------------------------------
[2010-03-15 10:13:36] tanguy dot pruvot at gmail dot com

please make a check of column data length in pdo mysql startup... An
error is 

better than a crash without log...

------------------------------------------------------------------------
[2010-03-15 10:09:57] tanguy dot pruvot at gmail dot com

I'm sure, there is nothing in my PATH... i have posted the solution
(working with 

all new versions....)

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


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

    http://bugs.php.net/bug.php?id=51300


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

Reply via email to