[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Tue Jun 18 05:01:35 PDT 2013
connectivity/source/parse/sqlnode.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b9fe182902c9aedcc1fde16fcab8e8cbbb20b5ea
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Tue Jun 18 12:26:55 2013 +0200
fdo#65653 make columnMatchP safer
Change-Id: Id994ab5aed6172d8a93fd331a366fca10a663a48
Reviewed-on: https://gerrit.libreoffice.org/4338
Reviewed-by: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Tested-by: Zolnai Tamás <zolnaitamas2000 at gmail.com>
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index f0590c1..272deb1 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -135,6 +135,9 @@ namespace
using namespace connectivity;
assert(SQL_ISRULE(pSubTree,column_ref));
+ if(!rParam.xField.is())
+ return false;
+
// retrieve the field's name & table range
OUString aFieldName;
try
More information about the Libreoffice-commits
mailing list