Edit report at https://bugs.php.net/bug.php?id=62594&edit=1
ID: 62594 Updated by: larue...@php.net Reported by: larue...@php.net Summary: segfault in mysqlnd_res_meta::set_mode Status: Closed Type: Bug Package: MySQL related PHP Version: 5.4.4 Assigned To: laruence Block user comment: N Private report: N New Comment: backtrace: (gdb) bt #0 0x000000000080186f in php_mysqlnd_debug_set_mode_pub (self=0x133ad930, mode=0x0) at /home/huixinchen/opensource/trunk/ext/mysqlnd/mysqlnd_debug.c:522 #1 0x0000000000803dd3 in zm_activate_mysqlnd (type=1, module_number=17) at /home/huixinchen/opensource/trunk/ext/mysqlnd/php_mysqlnd.c:316 #2 0x00000000008b941d in zend_activate_modules () at /home/huixinchen/opensource/trunk/Zend/zend_API.c:2296 #3 0x0000000000820fe4 in php_request_startup () at /home/huixinchen/opensource/trunk/main/main.c:1560 #4 0x00000000009fb491 in do_cli (argc=64, argv=0x7fffeb79d458) at /home/huixinchen/opensource/trunk/sapi/cli/php_cli.c:956 #5 0x00000000009fc684 in main (argc=64, argv=0x7fffeb79d458) at /home/huixinchen/opensource/trunk/sapi/cli/php_cli.c:1360 Previous Comments: ------------------------------------------------------------------------ [2012-07-18 11:05:53] larue...@php.net This bug has been fixed in SVN. 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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2012-07-18 11:05:34] larue...@php.net Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=25be12a3bcd4a56a094d28b73cdc5cee68970bf3 Log: Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode) ------------------------------------------------------------------------ [2012-07-18 11:05:03] larue...@php.net Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=25be12a3bcd4a56a094d28b73cdc5cee68970bf3 Log: Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode) ------------------------------------------------------------------------ [2012-07-18 11:02:41] larue...@php.net Description: ------------ there is a line: unsigned int mode_len = strlen(mode) but mode may be NULL. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62594&edit=1