Issue Details (XML | Word | Printable)

Key: ODBC-179
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Potapchenko
Reporter: Jojakim Stahl
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ODBC Driver

For the SQLxxxW family of functions the Wide To Mbs conversion forwards the maximum required buffer size instead of the actual length/needed bytes of the converted input string

Created: 03/Nov/14 09:17 AM   Updated: 05/Jul/16 11:48 AM
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: 2.0.5

File Attachments: 1. Text File bug-179.patch (0.9 kB)

Environment: Win32/Fb2.5


 Description  « Hide
For the SQLxxxW family of functions the Wide To Mbs conversion forwards/returns the eventually needed maximum buffer size as the converted string byte len instead of the actual needed bytes of after the WideToMbs conversion.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jojakim Stahl added a comment - 03/Nov/14 09:29 AM
Uploaded patch to solve this bug.