You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(45) |
Apr
(150) |
May
(145) |
Jun
(150) |
Jul
(79) |
Aug
(313) |
Sep
(160) |
Oct
(309) |
Nov
(115) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(160) |
Feb
(144) |
Mar
(127) |
Apr
(48) |
May
(102) |
Jun
(54) |
Jul
(245) |
Aug
(94) |
Sep
(152) |
Oct
(162) |
Nov
(166) |
Dec
(740) |
2007 |
Jan
(752) |
Feb
(437) |
Mar
(328) |
Apr
(373) |
May
(569) |
Jun
(399) |
Jul
(369) |
Aug
(627) |
Sep
(100) |
Oct
(306) |
Nov
(166) |
Dec
(282) |
2008 |
Jan
(68) |
Feb
(145) |
Mar
(180) |
Apr
(160) |
May
(277) |
Jun
(229) |
Jul
(1188) |
Aug
(51) |
Sep
(97) |
Oct
(99) |
Nov
(95) |
Dec
(170) |
2009 |
Jan
(39) |
Feb
(73) |
Mar
(120) |
Apr
(121) |
May
(104) |
Jun
(262) |
Jul
(57) |
Aug
(171) |
Sep
(131) |
Oct
(88) |
Nov
(64) |
Dec
(83) |
2010 |
Jan
(55) |
Feb
(67) |
Mar
(124) |
Apr
(64) |
May
(130) |
Jun
(75) |
Jul
(164) |
Aug
(64) |
Sep
(44) |
Oct
(17) |
Nov
(43) |
Dec
(31) |
2011 |
Jan
(21) |
Feb
(10) |
Mar
(43) |
Apr
(46) |
May
(52) |
Jun
(71) |
Jul
(7) |
Aug
(16) |
Sep
(51) |
Oct
(14) |
Nov
(33) |
Dec
(15) |
2012 |
Jan
(12) |
Feb
(61) |
Mar
(129) |
Apr
(76) |
May
(70) |
Jun
(52) |
Jul
(29) |
Aug
(41) |
Sep
(32) |
Oct
(23) |
Nov
(38) |
Dec
(26) |
2013 |
Jan
(35) |
Feb
(37) |
Mar
(51) |
Apr
(15) |
May
(52) |
Jun
(15) |
Jul
(23) |
Aug
(21) |
Sep
(46) |
Oct
(69) |
Nov
(57) |
Dec
(26) |
2014 |
Jan
(5) |
Feb
(13) |
Mar
(17) |
Apr
(1) |
May
(5) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(16) |
Nov
(8) |
Dec
(4) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Chris B. <buc...@us...> - 2011-03-31 15:41:49
|
Update of /cvsroot/sblim/mofc In directory vz-cvs-3.sog:/tmp/cvs-serv5776 Modified Files: backend_sfcb.c ChangeLog NEWS Log Message: [ 3179149 ] mofc sigsegv at backend_sfcb:468 w/o correct property name Index: NEWS =================================================================== RCS file: /cvsroot/sblim/mofc/NEWS,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- NEWS 8 Jan 2009 16:46:33 -0000 1.28 +++ NEWS 31 Mar 2011 15:41:47 -0000 1.29 @@ -5,6 +5,10 @@ - 2441640 mofc needs to import instances for migration +Bugs fixed: + +- 3179149 mofc sigsegv at backend_sfcb:468 w/o correct property name + Changes in 0.8.4 ================ Index: backend_sfcb.c =================================================================== RCS file: /cvsroot/sblim/mofc/backend_sfcb.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- backend_sfcb.c 22 Dec 2009 00:18:29 -0000 1.21 +++ backend_sfcb.c 31 Mar 2011 15:41:47 -0000 1.22 @@ -465,6 +465,10 @@ inst_props -> prop_id, ie -> class_id ); } class_prop = check_for_prop(ce, inst_props->prop_id); + if (!class_prop) { + fprintf(stderr, "bad property name \"%s\"\n", inst_props->prop_id); + return 1; + } data = make_cmpi_data(class_prop->prop_type, class_prop->prop_array, inst_props->prop_value); ClInstanceAddProperty(inst, inst_props->prop_id, data); inst_props = inst_props->prop_next; Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/mofc/ChangeLog,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- ChangeLog 8 Jan 2009 16:46:33 -0000 1.34 +++ ChangeLog 31 Mar 2011 15:41:47 -0000 1.35 @@ -1,3 +1,8 @@ +2011-03-31 Chris Buccella <buc...@li...> + + * backend_sfcb.c: + Fixed [ 3179149 ] mofc sigsegv at backend_sfcb:468 w/o correct property name + 2009-01-08 Chris Buccella <buc...@li...> * backend_print.c, backend_sfcb.c, mofc.y, mofdecl.h, |
From: Michael Chase-S. <mc...@us...> - 2011-03-31 01:25:10
|
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 f4af1a9c107500036415863845319d6bcd77d78f (commit) from f39cf6391b093ba6d0c997828b803baa5adc6955 (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 f4af1a9c107500036415863845319d6bcd77d78f Author: Michael Chase-Salerno <br...@li...> Date: Wed Mar 30 21:24:39 2011 -0400 3206663 Enum CQL filter on NULL cause segfault and incorrect rsp ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 7a27fbe..56a4108 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-30 Michael Chase-Salerno <br...@li...> + * queryOperation.c + [ 3206663 ] Enum CQL filter on NULL cause segfault and incorrect rsp + (based on patch by cpoblete) + 2011-03-30 Chris Buccella <buc...@li...> * interopProvider.c, indCIMXMLHandler.c: diff --git a/NEWS b/NEWS index 72b50cd..f2bce31 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,7 @@ Bugs fixed: - 3177707 ExecQuery 1 to 4 tests segfault on power LPAR - 3185034 exec query test failures on power - char16 mismatch - 2990315 cmciRelease not called in case of error +- 3206663 Enum CQL filter on NULL cause segfault and incorrect rsp Changes in 1.4.0 ================ diff --git a/queryOperation.c b/queryOperation.c index 39f3162..2c04139 100644 --- a/queryOperation.c +++ b/queryOperation.c @@ -230,6 +230,14 @@ charsCompare(QLOperand * self, QLOperand * op, QLPropertySource * src) else ov = op->charsVal; + if (sov == NULL || ov == NULL) { + if (sov == NULL && ov == NULL) + return 0; // both null + if (sov == NULL) + return -1; // left only null + return 1; // right only null + } + if (type == QL_Chars) return strcmp(sov, ov); return -2; @@ -299,7 +307,19 @@ propCompare(QLOperand * self, QLOperand * op, QLPropertySource * src) ; // what should we do here ? } - rc = nop->ft->compare(nop, op, src); + if (nop) { + rc=nop->ft->compare(nop,op,src); + } else { + rc=-2; + if ((type == QL_Null) && (op->type == QL_PropertyName)) { + // both are property names + v=getPropValue(op, src, &type); + if (type == QL_Null) { + rc=0; // both are NULL, a match + } + } + } + QL_TRACE(fprintf (stderr, "propCompare(%s) %d\n", self->propertyName->propName, rc)); diff --git a/test/xmltest/execQuerySeg01.lines b/test/xmltest/execQuerySeg01.lines new file mode 100644 index 0000000..ecfc3f7 --- /dev/null +++ b/test/xmltest/execQuerySeg01.lines @@ -0,0 +1 @@ +!exiting due to a SIGSEGV signal diff --git a/test/TestProviders/tests/execQuery.xml b/test/xmltest/execQuerySeg01.xml similarity index 80% copy from test/TestProviders/tests/execQuery.xml copy to test/xmltest/execQuerySeg01.xml index a44675e..c3d8863 100644 --- a/test/TestProviders/tests/execQuery.xml +++ b/test/xmltest/execQuerySeg01.xml @@ -8,13 +8,12 @@ <NAMESPACE NAME="cimv2"/> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="QueryLanguage"> -<VALUE>WQL</VALUE> +<VALUE>CQL</VALUE> </IPARAMVALUE> <IPARAMVALUE NAME="Query"> -<VALUE>SELECT ElementName,n16,n64,s32,s8 FROM Test_Query </VALUE> +<VALUE>SELECT * FROM CIM_ComputerSystem WHERE instanceId='embedded'</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> - diff --git a/test/xmltest/execQuerySeg02.lines b/test/xmltest/execQuerySeg02.lines new file mode 100644 index 0000000..ecfc3f7 --- /dev/null +++ b/test/xmltest/execQuerySeg02.lines @@ -0,0 +1 @@ +!exiting due to a SIGSEGV signal diff --git a/test/TestProviders/tests/execQuery.xml b/test/xmltest/execQuerySeg02.xml similarity index 80% copy from test/TestProviders/tests/execQuery.xml copy to test/xmltest/execQuerySeg02.xml index a44675e..d60e1aa 100644 --- a/test/TestProviders/tests/execQuery.xml +++ b/test/xmltest/execQuerySeg02.xml @@ -8,13 +8,12 @@ <NAMESPACE NAME="cimv2"/> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="QueryLanguage"> -<VALUE>WQL</VALUE> +<VALUE>CQL</VALUE> </IPARAMVALUE> <IPARAMVALUE NAME="Query"> -<VALUE>SELECT ElementName,n16,n64,s32,s8 FROM Test_Query </VALUE> +<VALUE>SELECT * FROM CIM_ComputerSystem WHERE instanceId=Description</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> - hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Tyrel D. <ty...@us...> - 2011-03-31 00:53:54
|
Update of /cvsroot/sblim/testsuite In directory vz-cvs-3.sog:/tmp/cvs-serv14228 Modified Files: NEWS Log Message: Fixed 3261822: perl errors seen at runtime with perl5.10 Index: NEWS =================================================================== RCS file: /cvsroot/sblim/testsuite/NEWS,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- NEWS 30 Jun 2009 02:39:26 -0000 1.11 +++ NEWS 31 Mar 2011 00:53:51 -0000 1.12 @@ -1,3 +1,9 @@ +Changes in 1.3.1 +================ + +Bugs fixed: +- 3261822 perl errors seen at runtime with perl5.10 + Changes in 1.3.0 ================ |
From: Tyrel D. <ty...@us...> - 2011-03-31 00:52:27
|
Update of /cvsroot/sblim/testsuite In directory vz-cvs-3.sog:/tmp/cvs-serv14151 Modified Files: consistence.pm Log Message: Fixed 3261822: perl errors seen at runtime with perl5.10 Index: consistence.pm =================================================================== RCS file: /cvsroot/sblim/testsuite/consistence.pm,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- consistence.pm 19 Jun 2009 00:27:08 -0000 1.35 +++ consistence.pm 31 Mar 2011 00:52:24 -0000 1.36 @@ -52,21 +52,21 @@ # asked for in parameter ${class} -> Provider failure ? # -my $CLASS=""; +our $CLASS=""; my $INPUT_FILE; my $REPORT_FILE; my $OLD_HDL; # save file handle of STDOUT; necesarry when report file is generated -my $keyname; -my $keyval; -my $inst; -my $checkRef_ain; -my $checkRef_gi; -my $sourceClass; -my $targetClass; +our $keyname; +our $keyval; +our $inst; +our $checkRef_ain; +our $checkRef_gi; +our $sourceClass; +our $targetClass; -my @rc = (0,""); +our @rc = (0,""); #******************************************************************************# |
From: Michael Chase-S. <mc...@us...> - 2011-03-31 00:50:13
|
Update of /cvsroot/sblim/sfcb/test/xmltest In directory vz-cvs-3.sog:/tmp/cvs-serv13978/test/xmltest Added Files: execQuerySeg01.lines execQuerySeg01.xml execQuerySeg02.lines execQuerySeg02.xml Log Message: 3206663 Enum CQL filter on NULL cause segfault and incorrect rsp --- NEW FILE: execQuerySeg02.lines --- !exiting due to a SIGSEGV signal --- NEW FILE: execQuerySeg01.xml --- <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="1000" PROTOCOLVERSION="1.0"> <SIMPLEREQ> <IMETHODCALL NAME="ExecQuery"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root"/> <NAMESPACE NAME="cimv2"/> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="QueryLanguage"> <VALUE>CQL</VALUE> </IPARAMVALUE> <IPARAMVALUE NAME="Query"> <VALUE>SELECT * FROM CIM_ComputerSystem WHERE instanceId='embedded'</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> --- NEW FILE: execQuerySeg02.xml --- <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="1000" PROTOCOLVERSION="1.0"> <SIMPLEREQ> <IMETHODCALL NAME="ExecQuery"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root"/> <NAMESPACE NAME="cimv2"/> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="QueryLanguage"> <VALUE>CQL</VALUE> </IPARAMVALUE> <IPARAMVALUE NAME="Query"> <VALUE>SELECT * FROM CIM_ComputerSystem WHERE instanceId=Description</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> --- NEW FILE: execQuerySeg01.lines --- !exiting due to a SIGSEGV signal |
From: Tyrel D. <ty...@us...> - 2011-03-31 00:31:33
|
Update of /cvsroot/sblim/testsuite In directory vz-cvs-3.sog:/tmp/cvs-serv11858 Added Files: .cvsignore Log Message: Files to be ignored by CVS --- NEW FILE: .cvsignore --- Makefile Makefile.in aclocal.m4 autom4te.cache config.log config.status configure sblim-testsuite-1.3.0.tar.bz2 sblim-testsuite-1.3.0.tar.gz sblim-testsuite.spec |
From: Chris B. <buc...@us...> - 2011-03-30 22:17:11
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 961c08d3b7e87a9aa8582d08e44fd216970408e0 (commit) from 8710f4ef375acfa4f2177d8e785c9783de1a805f (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 961c08d3b7e87a9aa8582d08e44fd216970408e0 Author: buccella <buc...@li...> Date: Wed Mar 30 18:16:56 2011 -0400 bump version ----------------------------------------------------------------------- Summary of changes: diff --git a/configure.ac b/configure.ac index f8a3713..fbe677b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(sblim-sfcc, 2.2.2preview, sbl...@li...) +AC_INIT(sblim-sfcc, 2.2.2, sbl...@li...) AC_CONFIG_SRCDIR([cimc/cimcclient.c]) AC_CONFIG_HEADER([config.h]) hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-30 22:13:32
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 8710f4ef375acfa4f2177d8e785c9783de1a805f (commit) from e2b78eb8ad893ed4cbe931f06e872b302e867534 (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 8710f4ef375acfa4f2177d8e785c9783de1a805f Author: buccella <buc...@li...> Date: Wed Mar 30 18:13:20 2011 -0400 fixed compiler warning ----------------------------------------------------------------------- Summary of changes: diff --git a/TEST/v2test_im.c b/TEST/v2test_im.c index 8592662..832a4fd 100644 --- a/TEST/v2test_im.c +++ b/TEST/v2test_im.c @@ -87,8 +87,8 @@ int main() if (status.msg) CMRelease(status.msg); if (!status.rc) { - char *cv = value2Chars(retval.type,&(retval.value)); - printf("result(s):\n\treturn value: "%s"\n", cv); + char *cv = value2Chars(retval.type,(CMPIValue*)&(retval.value)); + printf("result(s):\n\treturn value: \"%s\"\n", cv); } if (objectpath) CMRelease(objectpath); hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-30 22:06:20
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via e2b78eb8ad893ed4cbe931f06e872b302e867534 (commit) from 35df1bd7f91416bd45df12c5a7dd34b7c417d1a3 (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 e2b78eb8ad893ed4cbe931f06e872b302e867534 Author: buccella <buc...@li...> Date: Wed Mar 30 18:06:08 2011 -0400 added v2test_im ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index b3c53da..bf810ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-30 Chris Buccella <buc...@li...> + + * TEST/v2test_im.c: + Added file + 2011-03-30 Michael Chase-Salerno <br...@li...> * backend/cimxml/constClass.c, backend/cimxml/grammar.c hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-30 22:02:16
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 35df1bd7f91416bd45df12c5a7dd34b7c417d1a3 (commit) from f43b3f6e71bc969e91a11e905b06e46132e70245 (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 35df1bd7f91416bd45df12c5a7dd34b7c417d1a3 Author: buccella <buc...@li...> Date: Wed Mar 30 18:02:02 2011 -0400 added v2test_im ----------------------------------------------------------------------- Summary of changes: diff --git a/TEST/Makefile.am b/TEST/Makefile.am index cd2e705..adc9359 100644 --- a/TEST/Makefile.am +++ b/TEST/Makefile.am @@ -62,7 +62,8 @@ noinst_PROGRAMS = test \ v2test_ei \ v2test_ein \ v2test_gc \ - print-types + v2test_im \ + print-types test_SOURCES = test.c show.c test_LDADD = ../libcmpisfcc.la @@ -192,6 +193,9 @@ v2test_ein_LDADD = ../libcmpisfcc.la v2test_gc_SOURCES = v2test_gc.c show.c v2test_gc_LDADD = ../libcmpisfcc.la +v2test_im_SOURCES = v2test_im.c show.c +v2test_im_LDADD = ../libcmpisfcc.la + print_types_SOURCES = print-types.c #@INC_AMINCLUDE@ diff --git a/TEST/v2test_im.c b/TEST/v2test_im.c new file mode 100644 index 0000000..8592662 --- /dev/null +++ b/TEST/v2test_im.c @@ -0,0 +1,99 @@ +/* + * test_im1.c + * + * (C) Copyright IBM Corp. 2005 + * (C) Copyright Intel Corp. 2005 + * + * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE + * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE + * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. + * + * You can obtain a current copy of the Eclipse Public License from + * http://www.opensource.org/licenses/eclipse-1.0.php + * + * Author: Adrian Schuur <sc...@de...> + * + * Description: + * + * Testing method invocation over SfcbLocal using + * SFCB's cmpiTestMethodProvider + */ + +#include <cimc.h> +#include <cmci.h> +#include <native.h> +#include <unistd.h> +#include <stdlib.h> + +#include "show.h" + +int main() +{ + CIMCEnv* ce; + CIMCClient* client; + char* msg; + CIMCStatus cstatus; + int rc; + + CIMCObjectPath * objectpath; + CMPIStatus status; + CIMCArgs * args; + char *cim_host, *cim_host_passwd, *cim_host_userid, *cim_host_port; + CIMCData retval; + CIMCValue arg; + + /* Setup a connection to the CIMOM */ + cim_host = getenv("CIM_HOST"); + if (cim_host == NULL) cim_host = "localhost"; + cim_host_userid = getenv("CIM_HOST_USERID"); + if (cim_host_userid == NULL) cim_host_userid = "root"; + cim_host_passwd = getenv("CIM_HOST_PASSWD"); + if (cim_host_passwd == NULL) cim_host_passwd = "password"; + cim_host_port = getenv("CIM_HOST_PORT"); + if (cim_host_port == NULL) cim_host_port = "5988"; + + ce = NewCIMCEnv("SfcbLocal",0,&rc,&msg); + // ce = NewCIMCEnv("XML",0,&rc,&msg); + client = ce->ft->connect(ce, cim_host , "http", cim_host_port, cim_host_userid, cim_host_passwd , &cstatus); + + objectpath = ce->ft->newObjectPath(ce, "root/cimv2", "Sample_Method", NULL); + + printf("+++creating args\n"); + + args = ce->ft->newArgs(ce, NULL); + CIMCValue a; + const int ARR_SIZE = 1672; + a.array = ce->ft->newArray(ce, ARR_SIZE, CMPI_uint8, NULL); + + arg.uint8 = 123; + + int i; + for (i = 0; i < ARR_SIZE; i++) { + a.array->ft->setElementAt(a.array, i, &arg, CMPI_uint8); + } + + args->ft->addArg(args, "IntArray", &a, CMPI_uint8A); + + printf("+++calling invoke method\n"); + + retval = client->ft->invokeMethod(client, objectpath, "CheckArrayNoType", args, NULL, &cstatus); + + /* Print the results */ + printf( "invokeMethod() rc=%d, msg=%s\n", + status.rc, (status.msg)? (char *)status.msg->hdl : NULL); + + // if (args) CMRelease(args); + printf("release status\n"); + if (status.msg) CMRelease(status.msg); + + if (!status.rc) { + char *cv = value2Chars(retval.type,&(retval.value)); + printf("result(s):\n\treturn value: "%s"\n", cv); + } + + if (objectpath) CMRelease(objectpath); + if (ce) CMRelease(ce); + + return 0; +} + hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-30 19:32:43
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv32735 Modified Files: interopProvider.c indCIMXMLHandler.c ChangeLog NEWS Log Message: [ 3038078 ] Can create indication filters and destinations w/o key props Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.574 retrieving revision 1.575 diff -u -d -r1.574 -r1.575 --- NEWS 9 Mar 2011 00:40:20 -0000 1.574 +++ NEWS 30 Mar 2011 19:32:41 -0000 1.575 @@ -11,6 +11,7 @@ - 3175770 execQuery returns multiple instances of same object - 3203290 Basic Auth Should Consider Expired Passwords - 3202420 CDATA value in a string property is improperly XML escaped +- 3038078 Can create indication filters and destinations w/o key props Changes in 1.3.10 ================= Index: indCIMXMLHandler.c =================================================================== RCS file: /cvsroot/sblim/sfcb/indCIMXMLHandler.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- indCIMXMLHandler.c 28 Oct 2010 19:33:22 -0000 1.33 +++ indCIMXMLHandler.c 30 Mar 2011 19:32:41 -0000 1.34 @@ -238,6 +238,21 @@ CMPIObjectPath* copLocal = CMClone(cop, NULL); memLinkObjectPath(copLocal); + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sysname=ciLocal->ft->getProperty(ciLocal,"SystemName",&st).value.string; if (sysname == NULL || sysname->hdl == NULL) { char hostName[512]; Index: interopProvider.c =================================================================== RCS file: /cvsroot/sblim/sfcb/interopProvider.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- interopProvider.c 28 Oct 2010 00:20:05 -0000 1.45 +++ interopProvider.c 30 Mar 2011 19:32:41 -0000 1.46 @@ -836,6 +836,22 @@ st=processSubscription(_broker,ctx,ciLocal,copLocal); } else if (isa(nss, cns, "cim_indicationfilter")) { + + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + QLStatement *qs=NULL; int rc,i,n,m; char *key=NULL,*ql,lng[16]; Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.647 retrieving revision 1.648 diff -u -d -r1.647 -r1.648 --- ChangeLog 9 Mar 2011 00:40:20 -0000 1.647 +++ ChangeLog 30 Mar 2011 19:32:41 -0000 1.648 @@ -1,3 +1,8 @@ +2011-03-30 Chris Buccella <buc...@li...> + + * interopProvider.c, indCIMXMLHandler.c: + [ 3038078 ] Can create indication filters and destinations w/o key props + 2011-03-08 Chris Buccella <buc...@li...> * cimXmlGen.c: |
From: Chris B. <buc...@us...> - 2011-03-30 19:03:55
|
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 f39cf6391b093ba6d0c997828b803baa5adc6955 (commit) from 8b9671bfa82879b56f596b5ed4e6c1b8a721ff73 (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 f39cf6391b093ba6d0c997828b803baa5adc6955 Author: buccella <buc...@li...> Date: Wed Mar 30 15:03:39 2011 -0400 [ 3038078 ] Can create indication filters and destinations w/o key props ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index cfc2946..7a27fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-30 Chris Buccella <buc...@li...> + + * interopProvider.c, indCIMXMLHandler.c: + [ 3038078 ] Can create indication filters and destinations w/o key props + 2011-03-22 Narasimha Sharoff <nsh...@us...> * cimcClientSfcbLocal.c diff --git a/NEWS b/NEWS index f307f99..72b50cd 100644 --- a/NEWS +++ b/NEWS @@ -67,6 +67,7 @@ Bugs fixed: - 3175770 execQuery returns multiple instances of same object - 3203290 Basic Auth Should Consider Expired Passwords - 3202420 CDATA value in a string property is improperly XML escaped +- 3038078 Can create indication filters and destinations w/o key props Changes in 1.3.10 ================= diff --git a/indCIMXMLHandler.c b/indCIMXMLHandler.c index eff5659..7dcf882 100644 --- a/indCIMXMLHandler.c +++ b/indCIMXMLHandler.c @@ -279,6 +279,21 @@ IndCIMXMLHandlerCreateInstance(CMPIInstanceMI * mi, CMPIObjectPath* copLocal = CMClone(cop, NULL); memLinkObjectPath(copLocal); + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sysname=ciLocal->ft->getProperty(ciLocal,"SystemName",&st).value.string; if (sysname == NULL || sysname->hdl == NULL) { char hostName[512]; diff --git a/interopProvider.c b/interopProvider.c index 2f7f648..438d481 100644 --- a/interopProvider.c +++ b/interopProvider.c @@ -948,6 +948,23 @@ InteropProviderCreateInstance(CMPIInstanceMI * mi, st = processSubscription(_broker, ctx, ciLocal, copLocal); } else if (isa(nss, cns, "cim_indicationfilter")) { + + CMPIString *ccn = ciLocal->ft->getProperty(ciLocal, "creationclassname", + &st).value.string; + if (CMIsNullObject(ccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "CreationClassName property not found"); + _SFCB_RETURN(st); + } + CMPIString *sccn = ciLocal->ft->getProperty(ciLocal, "systemcreationclassname", + &st).value.string; + if (CMIsNullObject(sccn)) { + setStatus(&st, CMPI_RC_ERR_FAILED, + "SystemCreationClassName property not found"); + _SFCB_RETURN(st); + } + + QLStatement *qs = NULL; int rc, i, hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Michael Chase-S. <mc...@us...> - 2011-03-30 18:16:24
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via f43b3f6e71bc969e91a11e905b06e46132e70245 (commit) from 2654341affe0c249aee6060bfa9fa598d4712961 (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 f43b3f6e71bc969e91a11e905b06e46132e70245 Author: Michael Chase-Salerno <br...@li...> Date: Wed Mar 30 14:15:54 2011 -0400 2847964 [patch] sfcc's getClass() fails to report class qualifiers ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 1f7e77d..b3c53da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-30 Michael Chase-Salerno <br...@li...> + + * backend/cimxml/constClass.c, backend/cimxml/grammar.c + [ 2847964 ] sfcc's getClass() fails to report class qualifiers + (patch by Klaus Kampf) + 2011-03-30 Narasimha Sharoff <nsh...@us...> * backend/cimxml/value.c frontend/cpp/CimData.cpp ; sfcclient.c @@ -74,7 +80,7 @@ Fixed 2849853: getClass reports most property types as CMPI_Instance (patch by Klaus Kampf) -2009-09-02 Michael Chase-Salerno <br...@li...> +2009-09-02 Michael Chase-Salerno <ckend/cimxml/con...@li...> * backend/cimxml/client.c Fixed 2847782: sfcc getClass crashes if cimom isn't running (patch by Klaus Kämpf) diff --git a/NEWS b/NEWS index 26229f8..cf0a070 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ Bugs: - 3196128: enumInstances does not set NameSpace in ObjectPath in XML mode - 1956407: CIM-XML/HTTP connection to unix socket - 2967257: Use of CMPI_chars in SFCC. General CMPI specification bug +- 2847964: sfcc's getClass() fails to report class qualifiers Changes in 2.2.1 ================ diff --git a/backend/cimxml/constClass.c b/backend/cimxml/constClass.c index 3fd20e6..c750676 100644 --- a/backend/cimxml/constClass.c +++ b/backend/cimxml/constClass.c @@ -71,6 +71,7 @@ static CMPIConstClass * __ccft_clone ( CMPIConstClass * ccls, CMPIStatus * rc ) new->ccls = cc->ccls; new->classname = strdup ( cc->classname ); + new->qualifiers= qualifierFT.clone ( cc->qualifiers, rc ); new->props = propertyFT.clone ( cc->props, rc ); return (CMPIConstClass *) new; diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c index ca16176..660c1a1 100644 --- a/backend/cimxml/grammar.c +++ b/backend/cimxml/grammar.c @@ -429,6 +429,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) dontLex = 1; class(parm, (parseUnion*)&lvalp.xtokClass); cls = native_new_CMPIConstClass(lvalp.xtokClass.className,NULL); + setClassQualifiers(cls, &lvalp.xtokClass.qualifiers); setClassProperties(cls, &lvalp.xtokClass.properties); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&cls,CMPI_class); ct = localLex(&lvalp, parm); hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Narasimha S. <nsh...@us...> - 2011-03-30 17:58:55
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 2654341affe0c249aee6060bfa9fa598d4712961 (commit) from 705df8e8c466bd097920c5c2b8f77d26fab748e7 (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 2654341affe0c249aee6060bfa9fa598d4712961 Author: Narasimha Sharoff <nsh...@us...> Date: Wed Mar 30 10:57:18 2011 -0700 [ 2967257 ] Use of CMPI_chars in SFCC. General CMPI specification bug ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 26da31a..1f7e77d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-30 Narasimha Sharoff <nsh...@us...> + + * backend/cimxml/value.c frontend/cpp/CimData.cpp ; sfcclient.c + [ 2967257 ] Use of CMPI_chars in SFCC. General CMPI specification bug + (patch by Klaus Kampf) + 2011-03-29 Chris Buccella <buc...@li...> * backend/cimxml/client.c: diff --git a/NEWS b/NEWS index 184cfd1..26229f8 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,7 @@ Bugs: - 2990315: cmciRelease not called in case of error - 3196128: enumInstances does not set NameSpace in ObjectPath in XML mode - 1956407: CIM-XML/HTTP connection to unix socket +- 2967257: Use of CMPI_chars in SFCC. General CMPI specification bug Changes in 2.2.1 ================ diff --git a/TEST/print-types.c b/TEST/print-types.c index a3a1fa4..7d32819 100644 --- a/TEST/print-types.c +++ b/TEST/print-types.c @@ -86,7 +86,7 @@ main() PRINT_TYPE(CMPI_numericString); PRINT_TYPE(CMPI_booleanString); PRINT_TYPE(CMPI_dateTimeString); - PRINT_TYPE(CMPI_classNameString); + // PRINT_TYPE(CMPI_classNameString); /* Deprecated SF#2967247 */ PRINT_TYPE(CMPI_nameString); PRINT_TYPE(CMPI_goodValue); diff --git a/backend/cimxml/value.c b/backend/cimxml/value.c index b9471a8..e484bdb 100644 --- a/backend/cimxml/value.c +++ b/backend/cimxml/value.c @@ -178,11 +178,14 @@ static char *value2CharsUri(CMPIType type, CMPIValue * value, int uri) case CMPI_filter: break; + case CMPI_chars: + return strdup(value->chars ? (char*)value->chars : "NULL"); + case CMPI_string: case CMPI_numericString: case CMPI_booleanString: case CMPI_dateTimeString: - case CMPI_classNameString: + //case CMPI_classNameString: /* Deprecated SF#2967257 */ return strdup(value->string ? (char*)value->string->hdl : "NULL"); case CMPI_dateTime: diff --git a/frontend/cpp/CimData.cpp b/frontend/cpp/CimData.cpp index 5ed0cdf..9f55b5d 100644 --- a/frontend/cpp/CimData.cpp +++ b/frontend/cpp/CimData.cpp @@ -143,9 +143,12 @@ CimData::operator CimString() const { } CimData::operator const char* () const { - if (_data.type!=CIMC_string) + if (_data.type == CIMC_string) + return (const char *)cim.string; + else if (_data.type == CIMC_chars) + return _data.value.chars; + else throw CimStatus(CIMC_RC_ERR_TYPE_MISMATCH); - else return (const char*)cim.string; } CimData::operator CimDateTime() const { diff --git a/frontend/sfcc/sfcclient.c b/frontend/sfcc/sfcclient.c index 2418410..89736ad 100644 --- a/frontend/sfcc/sfcclient.c +++ b/frontend/sfcc/sfcclient.c @@ -245,11 +245,15 @@ char * value2Chars (CMPIType type, CMPIValue *value) case CMPI_filter: break; + case CMPI_chars: + return strdup(value->chars ? (char*)value->chars : "NULL"); + break; + case CMPI_string: case CMPI_numericString: case CMPI_booleanString: case CMPI_dateTimeString: - case CMPI_classNameString: + //case CMPI_classNameString: /* Deprecated SF# 2967257 */ return strdup((value->string && value->string->hdl) ? (char*)value->string->hdl : "NULL"); hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-29 20:34:58
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 705df8e8c466bd097920c5c2b8f77d26fab748e7 (commit) from ddae6fe79ba7283a27b46bafb3da1c5fdf0fc6c1 (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 705df8e8c466bd097920c5c2b8f77d26fab748e7 Author: buccella <buc...@li...> Date: Tue Mar 29 16:34:43 2011 -0400 [ 1956407 ] CIM-XML/HTTP connection to unix socket ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 7027f98..26da31a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-03-29 Chris Buccella <buc...@li...> + * backend/cimxml/client.c: + [ 1956407 ] CIM-XML/HTTP connection to unix socket + (patch by Bart Whiteley) + * backend/cimxml/grammar.c: [ 3196128 ] enumInstances does not set NameSpace in ObjectPath in XML mode (patch by Josef Moellers) diff --git a/NEWS b/NEWS index d007ee6..184cfd1 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ Bugs: - 3195267: sfcc v2 tests segfault when sfcb is not running - 2990315: cmciRelease not called in case of error - 3196128: enumInstances does not set NameSpace in ObjectPath in XML mode +- 1956407: CIM-XML/HTTP connection to unix socket Changes in 2.2.1 ================ diff --git a/backend/cimxml/client.c b/backend/cimxml/client.c index ced221f..fb56094 100644 --- a/backend/cimxml/client.c +++ b/backend/cimxml/client.c @@ -27,6 +27,7 @@ #include <time.h> // new #include <sys/time.h> // new +#include <sys/un.h> // new #include "config.h" @@ -269,6 +270,27 @@ static size_t writeHeaders(void *ptr, size_t size, } +#if LIBCURL_VERSION_NUM >= 0x071101 +static curl_socket_t opensockCb(void *clientp, + curlsocktype purpose, + struct curl_sockaddr *caddr) +{ + const char* path = (const char*)clientp; + struct sockaddr_un* unaddr = (struct sockaddr_un*)&caddr->addr; + caddr->family = AF_UNIX; + caddr->addrlen = sizeof(struct sockaddr_un); + /* This is actually safe. caddr is padded. See singleipconnect() + * in lib/connect.c within libcurl for details */ + memset(unaddr, 0, caddr->addrlen); + unaddr->sun_family = AF_UNIX; + strncpy(unaddr->sun_path, path, sizeof(unaddr->sun_path)); + caddr->protocol = 0; + return socket(caddr->family, caddr->socktype, caddr->protocol); +} +#endif + +/* --------------------------------------------------------------------------*/ + static size_t writeCb(void *ptr, size_t size, size_t nmemb, void *stream) { @@ -376,8 +398,19 @@ static char* genRequest(ClientEnc *cle, const char *op, con->mResponse->ft->reset(con->mResponse); con->mUri->ft->reset(con->mUri); - con->mUri->ft->append6Chars(con->mUri, cld->scheme, "://", cld->hostName, - ":", cld->port, "/cimom"); + +#if LIBCURL_VERSION_NUM >= 0x071101 + if (cld->port != NULL && cld->port[0] == '/') { + // Setup connection to Unix Socket + con->mUri->ft->append3Chars(con->mUri, cld->scheme, "://", cld->hostName); + con->mUri->ft->appendChars(con->mUri, "/cimom"); + curl_easy_setopt(con->mHandle, CURLOPT_OPENSOCKETDATA, cld->port); + curl_easy_setopt(con->mHandle, CURLOPT_OPENSOCKETFUNCTION, opensockCb); + } + else +#endif + con->mUri->ft->append6Chars(con->mUri, cld->scheme, "://", + cld->hostName, ":", cld->port, "/cimom"); /* Initialize curl with the url */ curl_easy_setopt(con->mHandle, CURLOPT_URL, diff --git a/contributions.txt b/contributions.txt index de54043..df15190 100644 --- a/contributions.txt +++ b/contributions.txt @@ -46,3 +46,7 @@ Suresh Sundriyal, VMWare Josef Moellers, Fujitsu ----------------------- 03/29/2011 [ 3196128 ] enumInstances does not set NameSpace in ObjectPath in XML mode + +J. Bart Whiteley, Novell +------------------------ +03/29/2011 [ 1956407 ] CIM-XML/HTTP connection to unix socket hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Chris B. <buc...@us...> - 2011-03-29 19:56:03
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via ddae6fe79ba7283a27b46bafb3da1c5fdf0fc6c1 (commit) from 15f824680e3bfce51df1deeb1be9aeac8ded1227 (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 ddae6fe79ba7283a27b46bafb3da1c5fdf0fc6c1 Author: buccella <buc...@li...> Date: Tue Mar 29 15:55:48 2011 -0400 [ 3196128 ] enumInstances does not set NameSpace in ObjectPath in XML mode ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index edb7131..7027f98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-29 Chris Buccella <buc...@li...> + + * backend/cimxml/grammar.c: + [ 3196128 ] enumInstances does not set NameSpace in ObjectPath in XML mode + (patch by Josef Moellers) + 2011-03-23 Narasimha Sharoff <nsh...@us...> * frontend/sfcc/sfcclient.c diff --git a/NEWS b/NEWS index 4c96e72..d007ee6 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,7 @@ Bugs: - 3101151: SfcbLocal failed to connect due to hardcoded library path - 3195267: sfcc v2 tests segfault when sfcb is not running - 2990315: cmciRelease not called in case of error +- 3196128: enumInstances does not set NameSpace in ObjectPath in XML mode Changes in 2.2.1 ================ diff --git a/contributions.txt b/contributions.txt index 8c3e0f8..de54043 100644 --- a/contributions.txt +++ b/contributions.txt @@ -36,8 +36,13 @@ Klaus Kampf, Novell ------------------- 09/02/2009 [ 2847782 ] sfcc getClass crashes if cimom isn't running 09/22/2009 [ 2849853 ] getClass reports most property types as CMPI_Instance +03/23/2011 [ 2990315 ] cmciRelease not called in case of error Suresh Sundriyal, VMWare ------------------------ 04/05/2010 [ 2982349 ] Memory leak in backend/cimxml/client.c 04/05/2010 [ 2982352 ] Double free in backend/cimxml/property.c + +Josef Moellers, Fujitsu +----------------------- +03/29/2011 [ 3196128 ] enumInstances does not set NameSpace in ObjectPath in XML mode hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Dave B. <bla...@us...> - 2011-03-28 14:00:04
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/logging In directory vz-cvs-3.sog:/tmp/cvs-serv5135/src/org/sblim/cimclient/internal/logging Modified Files: Tag: Experimental LogAndTraceBroker.java Log Message: 3252669 - setXmlTraceStream blindly closes previous stream Index: LogAndTraceBroker.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/logging/LogAndTraceBroker.java,v retrieving revision 1.10.2.10 retrieving revision 1.10.2.11 diff -u -d -r1.10.2.10 -r1.10.2.11 --- LogAndTraceBroker.java 13 Jan 2011 16:15:43 -0000 1.10.2.10 +++ LogAndTraceBroker.java 28 Mar 2011 13:59:59 -0000 1.10.2.11 @@ -23,6 +23,7 @@ * 3001345 2010-05-18 blaschke-oss File handle leaks in HttpSocketFactory and LogAndTraceBroker * 3027618 2010-07-14 blaschke-oss Close files/readers in finally blocks * 3154232 2011-01-13 blaschke-oss EmbeddedObject misspelled in javadoc + * 3252669 2011-03-28 blaschke-oss setXmlTraceStream blindly closes previous stream */ package org.sblim.cimclient.internal.logging; @@ -561,7 +562,8 @@ * CIM-XML debugging is disabled. */ public void setXmlTraceStream(OutputStream pStream) { - if (this.iXmlTraceStream != null) { + if ((this.iXmlTraceStream != null) && (!this.iXmlTraceStream.equals(System.out)) + && (!this.iXmlTraceStream.equals(System.err))) { try { this.iXmlTraceStream.close(); } catch (IOException e) { |
From: Narasimha S. <nsh...@us...> - 2011-03-23 19:24:08
|
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 "SFCC - Small Footprint CIM Client". The branch, master has been updated via 15f824680e3bfce51df1deeb1be9aeac8ded1227 (commit) via 718024f884aca07a1cf35879badaa609dc241d4f (commit) from a53d9d182171b82cb21ae17a582e5faae2a91734 (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 15f824680e3bfce51df1deeb1be9aeac8ded1227 Author: Narasimha Sharoff <nsh...@us...> Date: Wed Mar 23 12:23:07 2011 -0700 [ 2990315 ] cmciRelease not called in case of error commit 718024f884aca07a1cf35879badaa609dc241d4f Author: Narasimha Sharoff <nsh...@us...> Date: Wed Mar 23 12:20:33 2011 -0700 [ 2990315 ] cmciRelease not called in case of error ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index b6d7772..edb7131 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-23 Narasimha Sharoff <nsh...@us...> + + * frontend/sfcc/sfcclient.c + [ 2990315 ] cmciRelease not called in case of error + (patch by Klaus Kampf) + 2011-03-02 Narasimha Sharoff <nsh...@us...> * TEST/v2*.c diff --git a/NEWS b/NEWS index 67133d3..4c96e72 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ Bugs: - 2793377: Missing includes - 3101151: SfcbLocal failed to connect due to hardcoded library path - 3195267: sfcc v2 tests segfault when sfcb is not running +- 2990315: cmciRelease not called in case of error Changes in 2.2.1 ================ diff --git a/frontend/sfcc/sfcclient.c b/frontend/sfcc/sfcclient.c index be1345c..2418410 100644 --- a/frontend/sfcc/sfcclient.c +++ b/frontend/sfcc/sfcclient.c @@ -109,6 +109,15 @@ CMCIClient *cmciConnect2(const char *hn, const char *scheme, const char *port, } } pthread_mutex_unlock(&ConnectionControl.ccMux); + if (!cc) { + /* cleanup ccEnv after pthread_mutex_unlock */ + cmciRelease(NULL); + if (rc) { + rc->rc = CMPI_RC_ERR_FAILED; + rc->msg = NULL; + } + } + return cc; } hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Narasimha S. <nsh...@us...> - 2011-03-23 17:28:49
|
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 8b9671bfa82879b56f596b5ed4e6c1b8a721ff73 (commit) from 80e6bc17830f7e2fcc66c58beb062ce0ebdad719 (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 8b9671bfa82879b56f596b5ed4e6c1b8a721ff73 Author: Narasimha Sharoff <nsh...@us...> Date: Wed Mar 23 10:26:43 2011 -0700 [2990315] cmciRelease not called in case of error ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 3f66017..cfc2946 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-22 Narasimha Sharoff <nsh...@us...> + + * cimcClientSfcbLocal.c + [ 2990315 ] cmciRelease not called in case of error + (patch by Klaus Kampf) + 2011-03-09 Chris Buccella <buc...@li...> * cimXmlGen.c: diff --git a/NEWS b/NEWS index 36779d2..f307f99 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ Bugs fixed: - 3082573 Typo in interopProvider - 3177707 ExecQuery 1 to 4 tests segfault on power LPAR - 3185034 exec query test failures on power - char16 mismatch +- 2990315 cmciRelease not called in case of error Changes in 1.4.0 ================ diff --git a/cimcClientSfcbLocal.c b/cimcClientSfcbLocal.c index 4502681..f1b95e0 100644 --- a/cimcClientSfcbLocal.c +++ b/cimcClientSfcbLocal.c @@ -203,7 +203,6 @@ releaseClient(Client * mb) CMRelease(cl->connection); free(cl); - closeLogging(); return rc; } @@ -1937,6 +1936,7 @@ static void * release(ClientEnv *ce) { void *lib = ce->hdl; + closeLogging(); CONNECT_LOCK(); if (localConnectCount > 0) localConnectCount -= 1; hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Dave B. <bla...@us...> - 2011-03-23 15:48:10
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/http In directory vz-cvs-3.sog:/tmp/cvs-serv3917/src/org/sblim/cimclient/internal/http Modified Files: Tag: Experimental HttpClient.java Log Message: 3235440 - NullPointerException when socket factory returns null Index: HttpClient.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/http/HttpClient.java,v retrieving revision 1.12.2.23 retrieving revision 1.12.2.24 diff -u -d -r1.12.2.23 -r1.12.2.24 --- HttpClient.java 28 Feb 2011 17:01:08 -0000 1.12.2.23 +++ HttpClient.java 23 Mar 2011 15:48:08 -0000 1.12.2.24 @@ -57,6 +57,7 @@ * 3022554 2010-06-30 blaschke-oss Flushing socket ignores skip() return code * 3046073 2010-09-07 blaschke-oss Performance hit due to socket conn. creation with timeout * 3195069 2011-02-28 blaschke-oss Need support to disable SSL Handshake + * 3235440 2011-03-22 blaschke-oss NullPointerException when socket factory returns null */ package org.sblim.cimclient.internal.http; @@ -989,11 +990,16 @@ logger.trace(Level.FINER, "Creating new http for url " + this.iUrl.toString()); if (socketConnectWithTimeout) { this.iSocket = factory.createSocket(); - this.iSocket.connect( - new InetSocketAddress(this.iUrl.getHost(), this.iUrl.getPort()), timeout); + if (this.iSocket != null) this.iSocket.connect(new InetSocketAddress(this.iUrl + .getHost(), this.iUrl.getPort()), timeout); } else { this.iSocket = factory.createSocket(this.iUrl.getHost(), this.iUrl.getPort()); } + if (this.iSocket == null) { + logger.trace(Level.WARNING, "Socket factory " + factory.getClass().getName() + + " returned null socket"); + throw new IOException("Socket factory did not create socket"); + } this.iSocket.setTcpNoDelay(true); this.iSocket.setKeepAlive(true); |
From: Tyrel D. <ty...@us...> - 2011-03-19 01:36:47
|
Update of /cvsroot/sblim/cmpi-pec In directory vz-cvs-3.sog:/tmp/cvs-serv1993 Modified Files: .cvsignore Log Message: updated .cvsignore Index: .cvsignore =================================================================== RCS file: /cvsroot/sblim/cmpi-pec/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- .cvsignore 20 Mar 2009 22:17:50 -0000 1.2 +++ .cvsignore 19 Mar 2011 01:36:45 -0000 1.3 @@ -6,4 +6,6 @@ aclocal.m4 Makefile.in Makefile - +sblim-cmpi-pec-1.0.0 +sblim-cmpi-pec-1.0.0.tar.bz2 +sblim-cmpi-pec-1.0.1.tar.bz2 |
From: Tyrel D. <ty...@us...> - 2011-03-19 01:32:04
|
Update of /cvsroot/sblim/cmpi-params In directory vz-cvs-3.sog:/tmp/cvs-serv1696 Added Files: .cvsignore Log Message: added .cvsignore for generated files --- NEW FILE: .cvsignore --- .deps Makefile Makefile.in aclocal.m4 autom4te.cache config.h config.h.in config.log config.status configure libtool sblim-cmpi-params-1.3.0.tar.bz2 sblim-cmpi-params-1.3.0.tar.gz sblim-cmpi-params.spec stamp-h1 |
From: Tyrel D. <ty...@us...> - 2011-03-19 01:29:57
|
Update of /cvsroot/sblim/cmpi-nfsv4 In directory vz-cvs-3.sog:/tmp/cvs-serv1462 Added Files: .cvsignore Log Message: added .cvsignore for autogenerated files --- NEW FILE: .cvsignore --- .deps .libs Linux_NFSv4SettingContext.lo Linux_NFSv4SystemConfiguration.lo Linux_NFSv4SystemConfigurationUtil.lo Linux_NFSv4SystemSetting.lo Makefile Makefile.in aclocal.m4 autom4te.cache config.h config.h.in config.log config.status configure instance2string.lo lexer.c lexer.lo libLinux_NFSv4SettingContext.la libLinux_NFSv4SystemConfiguration.la libLinux_NFSv4SystemConfigurationUtil.la libLinux_NFSv4SystemSetting.la libtool parser.c parser.h parser.lo parsertest sblim-cmpi-nfsv4-1.1.0.tar.bz2 sblim-cmpi-nfsv4-1.1.0.tar.gz sblim-cmpi-nfsv4.spec stamp-h1 xmllexer.c xmllexer.lo xmlparser.c xmlparser.h xmlparser.lo xmlparsertest |
From: Tyrel D. <ty...@us...> - 2011-03-19 01:25:56
|
Update of /cvsroot/sblim/cmpi-network In directory vz-cvs-3.sog:/tmp/cvs-serv32589 Added Files: .cvsignore Log Message: added .cvsignore to ignore generated files --- NEW FILE: .cvsignore --- .deps .libs Makefile Makefile.in OSBase_CommonNetwork.lo OSBase_IPProtocolEndpoint.lo aclocal.m4 autom4te.cache cmpiOSBase_CSNetworkPortProvider.lo cmpiOSBase_EthernetPort.lo cmpiOSBase_EthernetPortProvider.lo cmpiOSBase_IPProtocolEndpoint.lo cmpiOSBase_IPProtocolEndpointProvider.lo cmpiOSBase_LocalLoopbackPort.lo cmpiOSBase_LocalLoopbackPortProvider.lo cmpiOSBase_NetworkPortImplementsIPEndpoint.lo cmpiOSBase_NetworkPortImplementsIPEndpointProvider.lo cmpiOSBase_TokenRingPort.lo cmpiOSBase_TokenRingPortProvider.lo config.h config.h.in config.log config.status configure libOSBase_CommonNetwork.la libcmpiOSBase_CSNetworkPortProvider.la libcmpiOSBase_EthernetPortProvider.la libcmpiOSBase_IPProtocolEndpointProvider.la libcmpiOSBase_LocalLoopbackPortProvider.la libcmpiOSBase_NetworkPortImplementsIPEndpointProvider.la libcmpiOSBase_TokenRingPortProvider.la libtool sblim-cmpi-network.spec stamp-h1 |
From: Dave B. <bla...@us...> - 2011-03-15 11:22:05
|
Update of /cvsroot/sblim/jsr48-client In directory vz-cvs-3.sog:/tmp/cvs-serv11965 Modified Files: Tag: CIM_CLIENT_2_1_8_M build.xml sblim-cim-client2.spec Log Message: 2.1.8 release work Index: sblim-cim-client2.spec =================================================================== RCS file: /cvsroot/sblim/jsr48-client/sblim-cim-client2.spec,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -u -d -r1.21 -r1.21.2.1 --- sblim-cim-client2.spec 15 Mar 2011 10:00:38 -0000 1.21 +++ sblim-cim-client2.spec 15 Mar 2011 11:22:03 -0000 1.21.2.1 @@ -1,7 +1,7 @@ %define name sblim-cim-client2 %define project_folder %{name}-%{version}-src %define archive_folder build -%define version HEAD +%define version 2.1.8 %define release 1jpp %define section free Index: build.xml =================================================================== RCS file: /cvsroot/sblim/jsr48-client/build.xml,v retrieving revision 1.43 retrieving revision 1.43.2.1 diff -u -d -r1.43 -r1.43.2.1 --- build.xml 15 Feb 2011 12:42:35 -0000 1.43 +++ build.xml 15 Mar 2011 11:22:03 -0000 1.43.2.1 @@ -36,7 +36,7 @@ <property name="Manifest.name" value="SBLIM CIM Client for Java" /> <property name="Manifest.title" value="SBLIM CIM Client for Java" /> <property name="Manifest.vendor" value="IBM Corporation 2005, 2011" /> - <property name="Manifest.version" value="HEAD" /> + <property name="Manifest.version" value="2.1.8" /> <property name="Directory.source.core" value="${basedir}/src" /> <property name="Directory.source.samples" value="${basedir}/smpl" /> |