https://bugs.winehq.org/show_bug.cgi?id=53714
Bug ID: 53714 Summary: proxyodbc SQLGetInfoW wrong behaviour when InfoValue null Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: odbc Assignee: wine-bugs@winehq.org Reporter: pollyielderah@gmail.com Distribution: ---
Difference between odbc and proxyodbc.
Expected behaviour:
Calling proxyodbc SQLGetInfoW with null InfoValue should fill StringLength with total bytes to be written. This allows to create appropriate size buffer on second call.
Current behaviour:
proxyodbc SQLGetInfoW logs warning "Unexpected NULL InfoValue address" and returns SQL_ERROR without returning bytes to be written.
https://bugs.winehq.org/show_bug.cgi?id=53714
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=53714
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |7.17 Summary|proxyodbc SQLGetInfoW wrong |SQLGetInfo(W) doesn't fill |behaviour when InfoValue |StringLength when InfoValue |null |is NULL
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Do you have an application that depends on this?
https://bugs.winehq.org/show_bug.cgi?id=53714
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=53714
--- Comment #2 from pollyielderah@gmail.com --- Just something I encountered while playing around with wine, so no specific application to pin to. Thought it might still be worth reporting though.
https://bugs.winehq.org/show_bug.cgi?id=53714
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |e8b7c1da6cc7de8374c02df1267 | |19844e4744bb5 Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/e8b7c1da6cc7de8374c02df12671984...
https://bugs.winehq.org/show_bug.cgi?id=53714
--- Comment #4 from pollyielderah@gmail.com --- That was quick! Thank you.
https://bugs.winehq.org/show_bug.cgi?id=53714
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.19.
https://bugs.winehq.org/show_bug.cgi?id=53714
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=53714
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.2.