KB953589

Consider the following scenario:

  • On a Windows Vista-based computer, or on a Windows Server 2008-based computer, you run an application that uses the Open Database Connectivity (ODBC) API.
  • The application uses the SQLSetConnectAttr function to set an attribute.
  • You pass an SQL_NTS constant as the StringLength parameter to the SQLSetConnectAttr function.

In this scenario, an access violation may occur if you pass an INTEGER value to the ValuePtr parameter of the SQLSetConnectAttr function.

Note: This issue does not occur in Microsoft Windows 2000 Server, in Windows XP, or in Windows Server 2003.

Leave a Reply