Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.1
-
Maria DB 10.3.14/64 Bit
Maria ODBC Driver 3.1.1/x86
Windows 10/64 Bit
Microsoft Data Access SDK 2.8
Description
If MADB_StmtExecDirect get called with a StatementText "\0" (only TN contained) an exception occures in "char* FixIsoFormat(char * StmtString, size_t *Length)".
This causes the client application to crash.
Steps to reproduce:
WCHAR * StatementText = L"\0";
RetCode = SQLExecDirect(hStmt, StatementText, SQL_NTS);
or
- Start odbct32w.exe from Microsoft Data Access SDK 2.8.
- Choose from menu: Conn...Full connect (choose any Maria DSN)
- Choose from menu: Stmt..SqlExecDirect
- Choose "statment text=<empty string>" and "statement length=SQL_NTS=-3 (3.0)"
- Press Ok
- odbct32w.exe crashes
–
This issue was originally observed when connecting via the Borland Database Engine (BDE).
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | General [ 14302 ] | |
Fix Version/s | 3.1.2 [ 23700 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 97299 ] | MariaDB v4 [ 135523 ] |
The fix has been pushed in commit 79fb9cb