Bug 5344 - Invalid length parameter passed to SQLSetConnectionAttr(...)
: Invalid length parameter passed to SQLSetConnectionAttr(...)
Status: RESOLVED FIXED
: Replica Location
RLS
: development
: All All
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-05-31 16:12 by
Modified: 2007-05-31 16:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-05-31 16:12:17
Calls to SQLSetConnectionAttr(...) should set the length parameter according to
the input value pointer contents. In the case of passing a SQL_xxx flag in the
vlaue field the length parameter should be either SQL_IS_UINTEGER or
SQL_IS_INTEGER. In db.c, the length was passed as 0 in the begintran and
endtran functions. ODBC drivers do not all return errors for this condition,
but the sqlite3odbc ver. 0.74 does.
------- Comment #1 From 2007-05-31 16:24:01 -------
Fix committed to HEAD and globus_4_0_branch.