3 Replies Latest reply: Apr 25, 2013 5:07 PM by 880328 RSS

    Bug in Driver 11.2.00.01 SQLUSMALLINT returns 32-bit instead of 16-Bit

    292542
      Hello,

      there is a bug in ODBC Driver 11.02.00.01.

      The memory buffer specified with
      SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_STATUS_PTR, nRowStatusArray, 0);
      should be of type SQLUSMALLINT *.

      After calling SQLFetchScroll the buffer is filled with Int32 data.
      This will corrupt the heap of the Client application.

      Is this a known bug?
      Are there any patched available?

      Thanks
      Dieter