[PUSHED] Re: [PATCH] [REVIEW:3-5,3-4] odbc 64 bits crash

2012-02-14 Thread Michael Stahl
On 14/02/12 15:37, Lionel Elie Mamane wrote: > Yet another odbc on 64 bit crash because of wrong buffer size. This is > supposed to be a SQLLEN but was hardcoded as 4 bytes. > > You can see that e.g. in > connectivity/source/drivers/odbcbase/OPreparedStatement.cxx, > OPreparedStatement::setNull: >

[PATCH] [REVIEW:3-5,3-4] odbc 64 bits crash

2012-02-14 Thread Lionel Elie Mamane
Yet another odbc on 64 bit crash because of wrong buffer size. This is supposed to be a SQLLEN but was hardcoded as 4 bytes. You can see that e.g. in connectivity/source/drivers/odbcbase/OPreparedStatement.cxx, OPreparedStatement::setNull: sal_Int8* lenBuf = getLengthBuf (parameterIndex);