[Libreoffice-commits] core.git: connectivity/source

Julien Nabet serval2412 at yahoo.fr
Wed Jun 11 10:27:15 PDT 2014


 connectivity/source/drivers/firebird/StatementCommonBase.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0acd0ed3a58698a34e11dd82f3368a983f8530df
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Jun 11 19:24:03 2014 +0200

    Related fdo#79714 OSX-crash opening query or table in embedded Firebird ODB
    
    See https://bugs.freedesktop.org/attachment.cgi?id=100839 and other comments
    
    Change-Id: I1187b171caf54997f5e8850ade4a3fb35ad9ec29

diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
index 381b14b..49415fa 100644
--- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx
+++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
@@ -194,6 +194,7 @@ void OStatementCommonBase::prepareAndDescribeStatement(const OUString& sql,
         free(pOutSqlda);
         pOutSqlda = (XSQLDA*) malloc(XSQLDA_LENGTH(n));
         pOutSqlda->version = SQLDA_VERSION1;
+        pOutSqlda->sqln = n;
         aErr = isc_dsql_describe(m_statusVector,
                                  &m_aStatementHandle,
                                  1,


More information about the Libreoffice-commits mailing list