This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SFCB - Small Footprint CIM Broker".
The branch, master has been updated
via 8b22cfe811da606dffd4adc8892696d40fa7a8c9 (commit)
via 6bb6d6fdbeefac2dc3a8f713d3773b47958f1bf7 (commit)
from fb972b6c9bfe08db98b0a84f1c71e8ef55e57517 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8b22cfe811da606dffd4adc8892696d40fa7a8c9
Author: Michael Chase-Salerno <br...@li...>
Date: Tue Apr 5 12:10:46 2011 -0400
[ 3213591 ] Local intf client abort abnormally on enum filter syntax err
commit 6bb6d6fdbeefac2dc3a8f713d3773b47958f1bf7
Author: Michael Chase-Salerno <br...@li...>
Date: Tue Apr 5 12:08:02 2011 -0400
[ 3213591 ] Local intf client abort abnormally on enum filter syntax err
patch from cpoblete
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index a6f53a4..00878ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,14 @@
+2011-04-05 Michael Chase-Salerno <br...@li...>
+
+ * cimcClientSfcbLocal.c:
+ [ 3213591 ] Local intf client abort abnormally on enum filter syntax err
+ (patch by cpoblete)
+
2011-04-04 Michael Chase-Salerno <br...@li...>
- * queryOperation.c, providerDrv.c
+ * queryOperation.c, providerDrv.c:
[ 3261868 ] Enum CQL filter on NULL cause incorrect rsp
- (based on patch by cpoblete)
+ (based on patch by cpoblete)
2011-04-02 Chris Buccella <buc...@li...>
diff --git a/NEWS b/NEWS
index c0eb9a4..be459da 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ New features:
Bugs fixed:
- 3261868 Enum CQL filter on NULL cause incorrect rsp
+- 3213591 Local intf client abort abnormally on enum filter syntax err
Changes in 1.4.1
================
diff --git a/cimcClientSfcbLocal.c b/cimcClientSfcbLocal.c
index f1b95e0..4862f46 100644
--- a/cimcClientSfcbLocal.c
+++ b/cimcClientSfcbLocal.c
@@ -795,10 +795,18 @@ execQuery(Client * mb,
oHdr.nameSpace = setCharsMsgSegment((char *) ns->hdl);
qs = parseQuery(MEM_TRACKED, query, lang, NULL, &irc);
+ if (irc) {
+ CIMCSetStatusWithChars(rc, CMPI_RC_ERR_INVALID_QUERY,
+ "syntax error in query.");
+ _SFCB_RETURN(NULL);
+ }
+
fCls = qs->ft->getFromClassList(qs);
if (fCls == NULL || *fCls == NULL) {
mlogf(M_ERROR, M_SHOW, "--- from clause missing\n");
- abort();
+ CIMCSetStatusWithChars(rc, CMPI_RC_ERR_INVALID_QUERY,
+ "required from clause is missing.");
+ _SFCB_RETURN(NULL);
}
oHdr.className = setCharsMsgSegment(*fCls);
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|