Bug #60616 [Csd]: odbc_fetch_into returns junk data at end of multi-byte char fields

From: Date: Thu, 31 Jul 2014 17:31:45 +0000
Subject: Bug #60616 [Csd]: odbc_fetch_into returns junk data at end of multi-byte char fields
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186916@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60616&edit=1 ID: 60616 User updated by: j dot faithw at yahoo dot com Reported by: j dot faithw at yahoo dot com Summary: odbc_fetch_into returns junk data at end of multi-byte char fields Status: Closed Type: Bug Package: ODBC related Operating System: Linux PHP Version: 5.3.8 Assigned To: keyur Block user comment: N Private report: N New Comment: I had a look over the new patch and it looks good to me. I also downloaded and built a snapshot(php5.5-201407311430) and did a quick test, both char and varchar work fine now. Thank you for the fix. Previous Comments: ------------------------------------------------------------------------ [2014-07-30 09:52:20] tyrael@php.net Automatic comment on behalf of keyur Revision: http://git.php.net/?p=php-src.git;a=commit;h=00546bc9b7cb8208c27de9c6ebd12156401a5607 Log: Fix bug #60616 (odbc_fetch_into returns junk at end of multi-byte char fields) ------------------------------------------------------------------------ [2014-07-30 02:57:44] keyur@php.net The fix for this bug has been committed. 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. Thanks for the note! I fixed the problem for CHAR fields as well (https://github.com/php/php-src/commit/65364fe7d00319f6bfb4814980988d34183f9f78) Please try and reopen this if it doesn't work. ------------------------------------------------------------------------ [2014-07-29 09:45:00] j dot faithw at yahoo dot com The patch adds support for WVARCHAR which should fix issues with that datatype but this bug was for the CHAR datatype which is still broken. ------------------------------------------------------------------------ [2014-07-28 23:30:25] keyur@php.net The fix for this bug has been committed. 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. ------------------------------------------------------------------------ [2014-07-28 23:29:06] keyur@php.net Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Patch committed to Git https://github.com/php/php-src/commit/00546bc9b7cb8208c27de9c6ebd12156401a5607 ------------------------------------------------------------------------ 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=60616 -- Edit this bug report at https://bugs.php.net/bug.php?id=60616&edit=1

« previous php.bugs (#186916) next »