Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong set-up of empty-string in case of SQL_C_WCHAR and NULL-value [ODBC182] #171

Closed
firebird-automations opened this issue Nov 3, 2014 · 8 comments

Comments

@firebird-automations
Copy link

Submitted by: Jojakim Stahl (jstahl)

Attachments:
bug-182.patch

In case of a NULL column value, several conversion functions for converting data to SQL_C_WCHAR set only the first byte (char) to '\0' instead of the first word (wchar_t)
Depending on Initial memory Contents, this results in a not correctly terminated = non-empty string.

Commits: 0137121 1657494

@firebird-automations
Copy link
Author

Modified by: Jojakim Stahl (jstahl)

Version: 2.0.2 [ 10465 ]

@firebird-automations
Copy link
Author

Commented by: Jojakim Stahl (jstahl)

uploaded patch

@firebird-automations
Copy link
Author

Modified by: Jojakim Stahl (jstahl)

Attachment: bug-182.patch [ 12614 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.5 [ 10771 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Resolved [ 5 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Reopened [ 4 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Reopened [ 4 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants