Update of /cvsroot/sblim/sfcb
In directory vz-cvs-3.sog:/tmp/cvs-serv26261
Modified Files:
cimXmlRequest.c ChangeLog NEWS
Log Message:
[ 3414236 ] updateMethodParamTypes uses incorrect qualifier count
Index: NEWS
===================================================================
RCS file: /cvsroot/sblim/sfcb/NEWS,v
retrieving revision 1.611
retrieving revision 1.612
diff -u -d -r1.611 -r1.612
--- NEWS 23 Sep 2011 20:21:28 -0000 1.611
+++ NEWS 27 Sep 2011 15:00:17 -0000 1.612
@@ -14,6 +14,7 @@
- 3400114 sfcb fails to start with ipv6 disabled
- 3412033 New files from 3313833 missed release tarball
- 3413031 fixes to perform check before calling free
+- 3414236 updateMethodParamTypes uses incorrect qualifier count
Changes in 1.3.12
=================
Index: cimXmlRequest.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/cimXmlRequest.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- cimXmlRequest.c 8 Jun 2011 22:00:12 -0000 1.62
+++ cimXmlRequest.c 27 Sep 2011 15:00:17 -0000 1.63
@@ -2036,10 +2036,11 @@
would have type as string. Check here to not fail the else-if below. */
if (param && (ptok->type & CMPI_instance)) {
int isEI = 0;
- int qcount = ClClassGetMethParmQualifierCount(cl, meth, i);
+ int qcount = ClClassGetMethParmQualifierCount(cl, meth, p);
+ fprintf(stderr, "qcount is %d\n", qcount);
for (; qcount > 0; qcount--) {
char* qname;
- ClClassGetMethParamQualifierAt(cl, param, qcount, NULL, &qname);
+ ClClassGetMethParamQualifierAt(cl, param, (qcount-1), NULL, &qname);
if (strcmp(qname, "EmbeddedInstance") == 0) {
// fprintf(stderr, " is EmbeddedInstance\n");
isEI = 1;
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sblim/sfcb/ChangeLog,v
retrieving revision 1.687
retrieving revision 1.688
diff -u -d -r1.687 -r1.688
--- ChangeLog 23 Sep 2011 20:20:58 -0000 1.687
+++ ChangeLog 27 Sep 2011 15:00:17 -0000 1.688
@@ -1,3 +1,8 @@
+2011-09-27 Chris Buccella <buc...@li...>
+
+ * cimXmlRequest.c:
+ [ 3414236 ] updateMethodParamTypes uses incorrect qualifier count
+
2011-09-23 Narasimha Sharoff <nsh...@us...>
* providerDrv.c, support.c, result.c
|