cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: ODBC 7.7.07.14 may crash when using SQLBindCol with odbc api traces

Former Member
0 Kudos

Hi,

we have some code calling SQLBindCol to set bindings, at which time the fetch memory is not yet allocated.

Later it calls SQLSetStmtAttr (SQL_ATTR_ROW_BIND_OFFSET_PTR) to offset the bindings to the allocated buffers, then fetch.

If I use odbc_cons config trace api on to activate api traces, SQLBindCol will try to read the value pointed by its TargetValuePtr argument, resulting in a crash.

The ODBC documentation says that SQLBindCol will not access the memory.

Thanks,

GuB

Accepted Solutions (0)

Answers (2)

Answers (2)

TTK
Employee
Employee
0 Kudos

Hello

For the files, the bug is fixed in 7.7.07.17

Thanks again and kind regards

Thomas

TTK
Employee
Employee
0 Kudos

Hello

Thx for the bug report. I try to look at this in the next days. As soon as I will have some information for you, I will post here.

Kind regards Thomas