ID: 21114 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Sybase (dblib) related Operating System: linux 2.4.19 PHP Version: 4.2.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-12-20 08:39:45] [EMAIL PROTECTED] When selecting an image field from a table sybase_query causes a segmentation fault in apache server. The error occures when converting datatype image to char in file php_sybase_db.c function php_sybase_get_column_content. The problem is that the buffer is to small for the hex-string. The buffer had to be the double size because a char is translated in 2 bytes. If you increase the buffersize to 2*res_length its ok. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21114&edit=1