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: Dave B. <bla...@us...> - 2012-12-11 15:59:51
|
Update of /cvsroot/sblim/jsr48-client In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30720 Modified Files: NEWS Log Message: 3588558 An enhancement on Java CIM Client logging Index: NEWS =================================================================== RCS file: /cvsroot/sblim/jsr48-client/NEWS,v retrieving revision 1.327 retrieving revision 1.328 diff -u -d -r1.327 -r1.328 --- NEWS 26 Nov 2012 13:22:15 -0000 1.327 +++ NEWS 11 Dec 2012 15:59:49 -0000 1.328 @@ -1,5 +1,6 @@ Changes in HEAD ================ +3588558 An enhancement on Java CIM Client logging 3557283 Print full response when get EOF from CIMOM 3576396 Improve logging of config file name 3572993 parseDouble("2.2250738585072012e-308") DoS vulnerability |
From: Michael Chase-S. <mc...@us...> - 2012-12-06 00:29:48
|
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 e6db110f58fb78ce557efbcec3ae03b61b89977c (commit) from 9ffd4d991227d3c7e80af786f49f3ccf583404b9 (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 e6db110f58fb78ce557efbcec3ae03b61b89977c Author: Michael Chase-Salerno <br...@li...> Date: Wed Dec 5 19:28:55 2012 -0500 - 3593006 trace shared mem leak ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index b9adfdc..327866c 100644 --- a/NEWS +++ b/NEWS @@ -133,6 +133,7 @@ Bugs fixed: - 3588557 Object path in deliverIndication can remain resident - 3452703 Default http uid used causes unexpected behavior - 3381209 Memory leak inside getClass() used by invokeMethod() +- 3593006 trace shared mem leak Changes in 1.3.15 ================= diff --git a/cimcClientSfcbLocal.c b/cimcClientSfcbLocal.c index 77e1045..1fd49db 100644 --- a/cimcClientSfcbLocal.c +++ b/cimcClientSfcbLocal.c @@ -2081,6 +2081,12 @@ newDateTimeFromChars(ClientEnv *ce, const char *utcTime, CMPIStatus *rc) return NewCMPIDateTimeFromChars(utcTime, rc); } +void _Cleanup_SfcbLocal_Env(void) +{ +printf("MCS stop\n"); + _SFCB_TRACE_STOP(); +} + ClientEnv * _Create_SfcbLocal_Env(char *id, unsigned int options, int *rc, char **msg) { @@ -2121,6 +2127,7 @@ _Create_SfcbLocal_Env(char *id, unsigned int options, int *rc, char **msg) } _SFCB_TRACE_START(tracelevel, tracemask); } + atexit(_Cleanup_SfcbLocal_Env); return env; } hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Michael Chase-S. <mc...@us...> - 2012-12-05 23:29:04
|
Update of /cvsroot/sblim/sfcb In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32704 Modified Files: ChangeLog NEWS cimcClientSfcbLocal.c Log Message: [ 3593006 ] trace shared mem leak Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.726 retrieving revision 1.727 diff -u -d -r1.726 -r1.727 --- NEWS 21 Nov 2012 17:18:04 -0000 1.726 +++ NEWS 5 Dec 2012 23:29:02 -0000 1.727 @@ -27,6 +27,7 @@ - 3381209 Memory leak inside getClass() used by invokeMethod() - 3588557 Object path in deliverIndication can remain resident - 3452703 Default http uid used causes unexpected behavior +- 3593006 trace shared mem leak Changes in 1.3.15 ================= Index: cimcClientSfcbLocal.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimcClientSfcbLocal.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- cimcClientSfcbLocal.c 14 Nov 2012 22:04:28 -0000 1.50 +++ cimcClientSfcbLocal.c 5 Dec 2012 23:29:02 -0000 1.51 @@ -2024,6 +2024,11 @@ return NewCMPIDateTimeFromChars(utcTime,rc); } +void _Cleanup_SfcbLocal_Env(void) +{ + _SFCB_TRACE_STOP(); +} + ClientEnv* _Create_SfcbLocal_Env(char *id, unsigned int options, int *rc, char **msg) { @@ -2063,7 +2068,8 @@ } _SFCB_TRACE_START(tracelevel, tracemask); } - + + atexit(_Cleanup_SfcbLocal_Env); return env; } /* ************************************************************************************** */ Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.811 retrieving revision 1.812 diff -u -d -r1.811 -r1.812 --- ChangeLog 21 Nov 2012 17:18:04 -0000 1.811 +++ ChangeLog 5 Dec 2012 23:29:02 -0000 1.812 @@ -1,3 +1,8 @@ +2012-12-05 Michael Chase-Salerno <br...@li...> + + * cimcClientSfcbLocal.c: + [ 3593006 ] trace shared mem leak + 2012-11-21 Chris Buccella <buc...@li...> * sfcBroker.c: |
From: Chris B. <buc...@us...> - 2012-12-05 16:36:35
|
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 9ffd4d991227d3c7e80af786f49f3ccf583404b9 (commit) via f67a40f624030b2344aae939189803638f718346 (commit) via 9c33d3c0820e8f67ff6d3397a2dafa09d3627198 (commit) from 72d86bbdf07c6b7e8ceaa6c815dadc0f9821c0c5 (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 9ffd4d991227d3c7e80af786f49f3ccf583404b9 Author: buccella <buc...@li...> Date: Wed Dec 5 11:36:01 2012 -0500 [ 3592822 ] Bump schema to 2.34 commit f67a40f624030b2344aae939189803638f718346 Merge: 9c33d3c 72d86bb Author: buccella <buc...@li...> Date: Wed Dec 5 11:35:17 2012 -0500 Merge branch 'master' of ssh://sblim.git.sourceforge.net/gitroot/sblim/sfcb commit 9c33d3c0820e8f67ff6d3397a2dafa09d3627198 Author: buccella <buc...@li...> Date: Wed Dec 5 11:30:41 2012 -0500 [ 3592822 ] Bump schema to 2.34 ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index 6d53859..b9adfdc 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ New features: - 3562538 Enable curl debug via env variable - 3590203 Remove pg_interop checking in SFCB 1.4 - 3590202 Enable IPv6 by default for SFCB 1.4 +- 3592822 Bump schema to 2.34 Bugs fixed: - 3495804 Cleanup: httpProcId still defined, wrong define in cimXmlGen diff --git a/getSchema.sh.pre.in b/getSchema.sh.pre.in index f74a5f7..fe1d98a 100644 --- a/getSchema.sh.pre.in +++ b/getSchema.sh.pre.in @@ -9,8 +9,8 @@ CIMSCHEMA_SOURCE=${CIMSCHEMA_SOURCE:-@CIMSCHEMA_SOURCE@} CIMSCHEMA_MOF=${CIMSCHEMA_MOF:-@CIMSCHEMA_MOF@} CIMSCHEMA_SUBDIRS=${CIMSCHEMA_SUBDIRS:-@CIMSCHEMA_SUBDIRS@} -MOFZIPURL=${CIMSCHEMA_SOURCE:-"http://dmtf.org/sites/default/files/cim/cim_schema_v2260/cim_schema_2.26.0Final-MOFs.zip"} -SCHEMAMOF=${CIMSCHEMA_MOF:-cim_schema_2.26.0.mof} +MOFZIPURL=${CIMSCHEMA_SOURCE:-"http://dmtf.org/sites/default/files/cim/cim_schema_v2340/cim_schema_2.34.0Final-MOFs.zip"} +SCHEMAMOF=${CIMSCHEMA_MOF:-cim_schema_2.34.0.mof} # zip file for schema v2.17 (and others) contain subdirectories. v2.9 does not HASSUBDIRS=yes diff --git a/test/xmltest/enumerateQualifiers.OK b/test/xmltest/enumerateQualifiers.OK index 4d4eecc..c7fd405 100644 --- a/test/xmltest/enumerateQualifiers.OK +++ b/test/xmltest/enumerateQualifiers.OK @@ -128,14 +128,6 @@ <QUALIFIER.DECLARATION NAME="ModelCorrespondence" TYPE="string" ISARRAY="true" OVERRIDABLE="true" TOSUBCLASS="true"> <SCOPE CLASS="true" ASSOCIATION="true" REFERENCE="true" PROPERTY="true" METHOD="true" PARAMETER="true" INDICATION="true"></SCOPE> </QUALIFIER.DECLARATION> -<QUALIFIER.DECLARATION NAME="Nonlocal" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> -<SCOPE REFERENCE="true"></SCOPE> -<VALUE>null</VALUE> -</QUALIFIER.DECLARATION> -<QUALIFIER.DECLARATION NAME="NonlocalType" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> -<SCOPE REFERENCE="true"></SCOPE> -<VALUE>null</VALUE> -</QUALIFIER.DECLARATION> <QUALIFIER.DECLARATION NAME="NullValue" TYPE="string" OVERRIDABLE="false" TOSUBCLASS="true"> <SCOPE PROPERTY="true"></SCOPE> <VALUE>null</VALUE> @@ -167,6 +159,10 @@ <SCOPE PROPERTY="true"></SCOPE> <VALUE>TRUE</VALUE> </QUALIFIER.DECLARATION> +<QUALIFIER.DECLARATION NAME="Reference" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> +<SCOPE PROPERTY="true"></SCOPE> +<VALUE>null</VALUE> +</QUALIFIER.DECLARATION> <QUALIFIER.DECLARATION NAME="Required" TYPE="boolean" OVERRIDABLE="false" TOSUBCLASS="true"> <SCOPE REFERENCE="true" PROPERTY="true" METHOD="true" PARAMETER="true"></SCOPE> <VALUE>FALSE</VALUE> @@ -179,18 +175,14 @@ <SCOPE PROPERTY="true" METHOD="true"></SCOPE> <VALUE>null</VALUE> </QUALIFIER.DECLARATION> -<QUALIFIER.DECLARATION NAME="Source" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> -<SCOPE CLASS="true" ASSOCIATION="true" INDICATION="true"></SCOPE> -<VALUE>null</VALUE> -</QUALIFIER.DECLARATION> -<QUALIFIER.DECLARATION NAME="SourceType" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> -<SCOPE CLASS="true" ASSOCIATION="true" REFERENCE="true" INDICATION="true"></SCOPE> -<VALUE>null</VALUE> -</QUALIFIER.DECLARATION> <QUALIFIER.DECLARATION NAME="Static" TYPE="boolean" OVERRIDABLE="false" TOSUBCLASS="true"> <SCOPE PROPERTY="true" METHOD="true"></SCOPE> <VALUE>FALSE</VALUE> </QUALIFIER.DECLARATION> +<QUALIFIER.DECLARATION NAME="Structure" TYPE="boolean" OVERRIDABLE="false" TOSUBCLASS="true"> +<SCOPE CLASS="true" INDICATION="true"></SCOPE> +<VALUE>FALSE</VALUE> +</QUALIFIER.DECLARATION> <QUALIFIER.DECLARATION NAME="Terminal" TYPE="boolean" OVERRIDABLE="true" TOSUBCLASS="true"> <SCOPE CLASS="true" ASSOCIATION="true" INDICATION="true"></SCOPE> <VALUE>FALSE</VALUE> @@ -221,6 +213,10 @@ <SCOPE PROPERTY="true"></SCOPE> <VALUE>FALSE</VALUE> </QUALIFIER.DECLARATION> +<QUALIFIER.DECLARATION NAME="XMLNamespaceName" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true"> +<SCOPE PROPERTY="true" METHOD="true" PARAMETER="true"></SCOPE> +<VALUE>null</VALUE> +</QUALIFIER.DECLARATION> <QUALIFIER.DECLARATION NAME="Alias" TYPE="string" OVERRIDABLE="true" TOSUBCLASS="true" TRANSLATABLE="true"> <SCOPE REFERENCE="true" PROPERTY="true" METHOD="true"></SCOPE> <VALUE>null</VALUE> hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Dave B. <bla...@us...> - 2012-12-04 19:40:18
|
Update of /cvsroot/sblim/jsr48-client/utst/org/sblim/cimclient/unittest/cim In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30797/utst/org/sblim/cimclient/unittest/cim Modified Files: Tag: Experimental CIMDataTypeTest.java Log Message: 3592502 Enhance CIMDataType unit test Index: CIMDataTypeTest.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/utst/org/sblim/cimclient/unittest/cim/CIMDataTypeTest.java,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- CIMDataTypeTest.java 31 Mar 2012 15:39:41 -0000 1.1.2.3 +++ CIMDataTypeTest.java 4 Dec 2012 19:40:16 -0000 1.1.2.4 @@ -14,11 +14,20 @@ * ------------------------------------------------------------------------------- * 3513353 2012-03-30 blaschke-oss TCK: CIMDataType arrays must have length >= 1 * 3513349 2012-03-31 blaschke-oss TCK: CIMDataType must not accept null string + * 3592502 2012-12-04 blaschke-oss Enhance CIMDataType unit test */ package org.sblim.cimclient.unittest.cim; +import javax.cim.CIMClass; import javax.cim.CIMDataType; +import javax.cim.CIMDateTime; +import javax.cim.CIMInstance; +import javax.cim.CIMObjectPath; +import javax.cim.UnsignedInteger16; +import javax.cim.UnsignedInteger32; +import javax.cim.UnsignedInteger64; +import javax.cim.UnsignedInteger8; import org.sblim.cimclient.internal.cim.CIMHelper; import org.sblim.cimclient.unittest.TestCase; @@ -28,6 +37,10 @@ */ public class CIMDataTypeTest extends TestCase { + private static final String REF_CLASS = "SampleClass"; + + private static final int ARRAY_SIZE = 4; + private CIMDataType CIMScalarDataTypes[] = { /* 00 */CIMDataType.UINT8_T, /* 01 */CIMDataType.SINT8_T, @@ -60,6 +73,7 @@ } else { verify("Scalar data type #" + i + " does not match: " + type1.toString() + " != " + type2.toString(), type1.equals(type2)); + verify("Scalar data type #" + i + " fails isArray()", type1.isArray() == false); } } } @@ -96,6 +110,9 @@ } else { verify("Unbounded array data type #" + i + " does not match: " + type1.toString() + " != " + type2.toString(), type1.equals(type2)); + verify("Unbounded array data type #" + i + " fails isArray()", + type1.isArray() == true); + verify("Unbounded array data type #" + i + " fails getSize()", type1.getSize() == 0); } } } @@ -105,11 +122,159 @@ */ public void testBoundedArrayDataTypes() { for (int i = 0; i < this.CIMArrayDataTypes.length; i++) { - CIMDataType type1 = new CIMDataType(i, 1); + CIMDataType type1 = new CIMDataType(i, ARRAY_SIZE); CIMDataType type2 = CIMHelper.UnboundedArrayDataType(i); - if (type2 != null) verify("Bounded array data type #" + i + " does not match: " - + type1.getType() + " != " + type2.getType(), type1.getType() == type2 - .getType()); + if (type2 != null) { + verify("Bounded array data type #" + i + " does not match: " + type1.getType() + + " != " + type2.getType(), type1.getType() == type2.getType()); + verify("Bounded array data type #" + i + " fails isArray()", + type1.isArray() == true); + verify("Bounded array data type #" + i + " fails getSize()", + type1.getSize() == ARRAY_SIZE); + } + } + } + + /** + * testReferenceType + */ + public void testReferenceType() { + CIMDataType type = new CIMDataType(REF_CLASS); + verify("Scalar reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != " + REF_CLASS, type.getRefClassName().compareTo( + REF_CLASS) == 0); + verify("Scalar reference data type getType() should not be " + type.getType(), type + .getType() == CIMDataType.REFERENCE); + verify("Scalar reference data type isArray() should not be " + type.isArray(), type + .isArray() == false); + + type = new CIMDataType(REF_CLASS, 0); + verify("Unbounded array reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != " + REF_CLASS, type.getRefClassName().compareTo( + REF_CLASS) == 0); + verify("Unbounded array reference data type getType() should not be " + type.getType(), + type.getType() == CIMDataType.REFERENCE); + verify("Unbounded array reference data type isArray() should not be " + type.isArray(), + type.isArray() == true); + verify("Unbounded array reference data type getSize() should not be " + type.getSize(), + type.getSize() == 0); + + type = new CIMDataType(REF_CLASS, ARRAY_SIZE); + verify("Bounded array reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != " + REF_CLASS, type.getRefClassName().compareTo( + REF_CLASS) == 0); + verify("Bounded array reference data type getType() should not be " + type.getType(), type + .getType() == CIMDataType.REFERENCE); + verify("Bounded array reference data type isArray() should not be " + type.isArray(), type + .isArray() == true); + verify("Bounded array reference data type getSize() should not be " + type.getSize(), type + .getSize() == ARRAY_SIZE); + + type = new CIMDataType(""); + verify("Empty scalar reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != \"\"", type.getRefClassName().compareTo("") == 0); + verify("Empty scalar reference data type getType() should not be " + type.getType(), type + .getType() == CIMDataType.REFERENCE); + verify("Empty scalar reference data type isArray() should not be " + type.isArray(), type + .isArray() == false); + + try { + type = new CIMDataType(null); + verify("Null scalar reference data type did not result in exception", false); + } catch (Exception e) { + verify("Null scalar reference data type did not result in IllegalArgumentException", + e instanceof IllegalArgumentException); + } + + type = new CIMDataType("", 0); + verify("Empty unbounded array reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != \"\"", type.getRefClassName().compareTo("") == 0); + verify("Empty unbounded array reference data type getType() should not be " + + type.getType(), type.getType() == CIMDataType.REFERENCE); + verify("Empty unbounded array reference data type isArray() should not be " + + type.isArray(), type.isArray() == true); + verify("Empty unbounded array reference data type getSize() should not be " + + type.getSize(), type.getSize() == 0); + + try { + type = new CIMDataType(null, 0); + verify("Null unbounded array reference data type did not result in exception", false); + } catch (Exception e) { + verify( + "Null unbounded array reference data type did not result in IllegalArgumentException", + e instanceof IllegalArgumentException); + } + + type = new CIMDataType("", ARRAY_SIZE); + verify("Empty bounded array reference data type getRefClassName() does not match: " + + type.getRefClassName() + " != \"\"", type.getRefClassName().compareTo("") == 0); + verify("Empty bounded array reference data type getType() should not be " + type.getType(), + type.getType() == CIMDataType.REFERENCE); + verify("Empty bounded array reference data type isArray() should not be " + type.isArray(), + type.isArray() == true); + verify("Empty bounded array reference data type getSize() should not be " + type.getSize(), + type.getSize() == ARRAY_SIZE); + + try { + type = new CIMDataType(null, ARRAY_SIZE); + verify("Null bounded array reference data type did not result in exception", false); + } catch (Exception e) { + verify( + "Null bounded array reference data type did not result in IllegalArgumentException", + e instanceof IllegalArgumentException); + } + } + + private CIMObjectPath[] copA = { new CIMObjectPath( + "http://1.2.3.4:5/root/cimv2:My_ComputerSystem") }; + + private Object ArrayDataTypes[] = { + /* 00 */new UnsignedInteger8[1], + /* 01 */new Byte[1], + /* 02 */new UnsignedInteger16[1], + /* 03 */new Short[1], + /* 04 */new UnsignedInteger32[1], + /* 05 */new Integer[1], + /* 06 */new UnsignedInteger64[1], + /* 07 */new Long[1], + /* 08 */new String[1], + /* 09 */new Boolean[1], + /* 10 */new Float[1], + /* 11 */new Double[1], + /* 12 */new CIMDateTime[1], + /* 13 */new Character[1], + /* 14 */this.copA, + /* 15 */new CIMInstance[1], + /* 16 */null, + /* 17 */new CIMClass[1] }; + + /** + * testGetDataType + */ + public void testGetDataType() { + CIMDataType type; + for (int i = 0; i < this.ArrayDataTypes.length; i++) { + if (this.ArrayDataTypes[i] != null) { + type = CIMDataType.getDataType(this.ArrayDataTypes[i]); + verify("Array data type #" + i + " does not match: " + type.getType() + " != " + i, + type.getType() == i); + } + } + + try { + type = CIMDataType.getDataType(null); + verify("Null data type did not result in exception", false); + } catch (Exception e) { + verify("Null data type did not result in IllegalArgumentException", + e instanceof IllegalArgumentException); + } + + try { + type = CIMDataType.getDataType(new StringBuffer()); + verify("Bad data type did not result in exception", false); + } catch (Exception e) { + verify("Bad data type did not result in IllegalArgumentException", + e instanceof IllegalArgumentException); } } } |
From: Dave H. <hel...@us...> - 2012-12-04 15:11:50
|
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 b5fec238086b738525264ab96df4710ac28b0aeb (commit) from 1698d26dfb0ffb8ed451ccbf2310973a7150dcc9 (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 b5fec238086b738525264ab96df4710ac28b0aeb Author: Dave Heller <hel...@us...> Date: Tue Dec 4 10:08:54 2012 -0500 [ 3586680 ] improve error reporting in cmciConnect2 ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index b47e19e..d586380 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ Bugs: - 3547832: memory leak in backend/cimxml/grammer.c - 3555103: wrong declaration of release attribute in _CIMCArgsFT - 3566968: sfcc enumInstances fails to parse the xml +- 3586680: improve error reporting in cmciConnect2 Changes in 2.2.3 ================ diff --git a/contributions.txt b/contributions.txt index 3629fae..c08b7e1 100644 --- a/contributions.txt +++ b/contributions.txt @@ -39,6 +39,7 @@ Klaus Kampf, Novell 03/23/2011 [ 2990315 ] cmciRelease not called in case of error 04/25/2011 [ 2967265 ] code cleanup in sfcclient 05/29/2012 [ 3528819 ] Crash in getInstance when instance has NULL properties +12/04/2012 [ 3586680 ] improve error reporting in cmciConnect2 Suresh Sundriyal, VMWare ------------------------ diff --git a/frontend/sfcc/sfcclient.c b/frontend/sfcc/sfcclient.c index 2eed047..adbe355 100644 --- a/frontend/sfcc/sfcclient.c +++ b/frontend/sfcc/sfcclient.c @@ -76,10 +76,11 @@ CMCIClient *cmciConnect2(const char *hn, const char *scheme, const char *port, CMPIStatus *rc) { CMCIClient *cc = NULL; - char *msg; + char *msg = NULL; int retc = 0; char *client; + if (rc) rc->rc = CMPI_RC_OK; pthread_mutex_lock(&ConnectionControl.ccMux); if (ConnectionControl.ccCount == 0) { client = getenv("SFCC_CLIENT"); @@ -94,8 +95,15 @@ CMCIClient *cmciConnect2(const char *hn, const char *scheme, const char *port, } if (retc || ConnectionControl.ccEnv == NULL) { if(rc) { - rc->rc=CMPI_RC_ERR_FAILED; - rc->msg=NULL; + rc->rc = CMPI_RC_ERR_FAILED; + if (msg) { + fprintf(stderr, "sfcc: NewCIMCEnv failed: %s\n", msg); + free(msg); + } + else { + fprintf(stderr, "sfcc: NewCIMCEnv failed without message\n"); + } + rc->msg = NULL; /* Can't create CMPIString without ConnectionControl.ccEnv ! */ } cc=NULL; } else { @@ -113,8 +121,10 @@ CMCIClient *cmciConnect2(const char *hn, const char *scheme, const char *port, /* cleanup ccEnv after pthread_mutex_unlock */ cmciRelease(NULL); if (rc) { - rc->rc = CMPI_RC_ERR_FAILED; - rc->msg = NULL; + if (rc->rc == CMPI_RC_OK) + rc->rc = CMPI_RC_ERR_FAILED; + if (rc->msg == NULL && ConnectionControl.ccEnv != NULL) + rc->msg = native_new_CMPIString("Connection failed", NULL); } } hooks/post-receive -- SFCC - Small Footprint CIM Client |
From: Michael Chase-S. <mc...@us...> - 2012-11-30 16:22:09
|
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 72d86bbdf07c6b7e8ceaa6c815dadc0f9821c0c5 (commit) from 7101bedc916fe904e84168aadebfff5a41ccb978 (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 72d86bbdf07c6b7e8ceaa6c815dadc0f9821c0c5 Author: Michael Chase-Salerno <br...@li...> Date: Fri Nov 30 11:21:16 2012 -0500 - 3591112 NEEDS_CLEANUP ifdef ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index d3f1827..6d53859 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,7 @@ Bugs fixed: - 3585929 Additional ClassProviderSf prep work - 3588775 Startup will hang if indication support is disabled - 3590827 Exit if classprovider fails +- 3591112 NEEDS_CLEANUP ifdef Changes in 1.4.2 ================ diff --git a/queryStatement.c b/queryStatement.c index 09a5d4f..dce2aa3 100644 --- a/queryStatement.c +++ b/queryStatement.c @@ -209,16 +209,6 @@ qcClear(QLCollector * qc) qc->propName = NULL; } -#ifdef NEEDS_CLEANUP -static QLOperand * -newNameOperand(QLStatement * qs) -{ - QLOperand *o = newPropQueryOperand(qs, newPropertyNameData(qs)); - QL_TRACE(fprintf(stderr, "newNameOperand %p\n", o)); - return o; -} -#endif - static void qcAddPropIdentifier(QLCollector * qc, QLStatement * qs, char *cls, char *prop, int index) diff --git a/sfcBroker.c b/sfcBroker.c index 30ed1b0..a1229e0 100644 --- a/sfcBroker.c +++ b/sfcBroker.c @@ -377,23 +377,6 @@ handleSigChld(int sig) errno = oerrno; } -#ifdef NEEDS_CLEANUP -static void -handleSigterm(int sig) -{ - - if (!terminating) { - fprintf(stderr, "--- %s - %d exiting due to signal %d\n", processName, - currentProc, sig); - dumpTiming(currentProc); - } - terminating = 1; - if (providerProcess) - kill(currentProc, SIGKILL); - exit(1); -} -#endif - static void handleSigSegv(int sig) { hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Tyrel D. <ty...@us...> - 2012-11-29 08:03:29
|
Update of /cvsroot/sblim/gather In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19297 Modified Files: ChangeLog Makefile.am configure.ac Log Message: Updated for 2.2.7 release Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/gather/configure.ac,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- configure.ac 29 Nov 2012 07:14:58 -0000 1.46 +++ configure.ac 29 Nov 2012 08:03:26 -0000 1.47 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([sblim-gather],[2.2.6],[sbl...@li...]) +AC_INIT([sblim-gather],[2.2.7],[sbl...@li...]) AC_CONFIG_SRCDIR([cimplug.h]) AC_CONFIG_HEADER([gather-config.h]) AM_INIT_AUTOMAKE Index: Makefile.am =================================================================== RCS file: /cvsroot/sblim/gather/Makefile.am,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- Makefile.am 29 Nov 2012 07:14:58 -0000 1.29 +++ Makefile.am 29 Nov 2012 08:03:26 -0000 1.30 @@ -16,6 +16,8 @@ # Description: Automake input file for Files and Directories sample provider # ================================================================== +AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 + SUBDIRS=. $(PROVIDER_SUBDIR) # make sure that system z components are included Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/gather/ChangeLog,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- ChangeLog 15 Aug 2012 03:02:14 -0000 1.76 +++ ChangeLog 29 Nov 2012 08:03:26 -0000 1.77 @@ -1,3 +1,79 @@ +2012-11-28 Tyrel Datwyler <ty...@us...> + + * .cvsignore, man/.cvsignore: + + Correct .cvsignore files to deal with generated man page artifacts + +2012-11-28 Tyrel Datwyler <ty...@us...> + + * .cvsignore: + + Updated cvsignore with autogenerated man file artifacts + +2012-11-28 Tyrel Datwyler <ty...@us...> + + * Makefile.am, NEWS, configure.ac, man/reposdump.1.xml.pre.in: + + Fixed 3590926: add man page for reposdump utility + +2012-10-26 Tyrel Datwyler <ty...@us...> + + * Makefile.am, NEWS, configure.ac, man/gatherctl.8.xml.pre.in, + man/gatherd.8.xml.pre.in, man/gatherd.conf.5.xml.pre.in, + man/reposctl.8.xml.pre.in, man/reposd.8.xml.pre.in, + man/reposd.conf.5.xml.pre.in: + + Fixed 3019058: add man pages/help for gatherd and reposd + +2012-10-26 Tyrel Datwyler <ty...@us...> + + * comms/mcclt_unix.c: + + TODOs that need investigation + +2012-10-25 Tyrel Datwyler <ty...@us...> + + * NEWS, provider/OSBase_MetricDefForMEProvider.c, + provider/OSBase_MetricDefinitionProvider.c, + provider/OSBase_MetricElementCapabilitiesProvider.c, + provider/OSBase_MetricElementConformsToProfileProvider.c, + provider/OSBase_MetricForMEProvider.c, + provider/OSBase_MetricGathererProvider.c, + provider/OSBase_MetricHostedServiceProvider.c, + provider/OSBase_MetricInstanceProvider.c, + provider/OSBase_MetricRegisteredProfileProvider.c, + provider/OSBase_MetricRepositoryServiceProvider.c, + provider/OSBase_MetricServiceAffectsElementProvider.c, + provider/OSBase_MetricServiceCapabilitiesProvider.c, + provider/OSBase_MetricServiceProvider.c, + provider/OSBase_MetricUtil.c: + + Fixed 358023: use setProperty for instance keys under Pegasus + +2012-09-30 Tyrel Datwyler <ty...@us...> + + * NEWS, util/merrno.c: + + Fixed 3573315: thread cleanup segv if gather libs unloaded + +2012-09-30 Tyrel Datwyler <ty...@us...> + + * Makefile.am, NEWS, plugin/metricOperatingSystem.c: + + Fixed 3573309: large memory counters overflow raw metric buffer + +2012-08-14 Tyrel Datwyler <ty...@us...> + + * Makefile.am, NEWS: + + Fixed 355767: distcheck should check for system z plugins + +2012-08-14 Tyrel Datwyler <ty...@us...> + + * ChangeLog, configure.ac: + + updated for 2.2.6 release + 2012-08-14 Tyrel Datwyler <ty...@us...> * Makefile.am, NEWS, provider/Makefile.am: @@ -1563,8 +1639,9 @@ * AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README.TEST, autoconfiscate.sh, configure.ac, gatherd.c, makefile, reposctl.c, - reposd.c, rules, testenv.sh, comms/makefile, plugin/makefile, - plugin/metricProcessor.c, plugin/platform.sh, + reposd.c, rules, testenv.sh, comms/makefile, + contrib/SuSEconfig.sblim-gather, contrib/sblim-gather.spec, + plugin/makefile, plugin/metricProcessor.c, plugin/platform.sh, provider/indicationtest/PegasusCreateFilter.xml~, samples/makefile, util/gathercfg.c, util/makefile, util/mtrace.c, util/mtracetest.c, util/reposcfg.c: @@ -2465,9 +2542,16 @@ Fixed makefiles. +2004-03-30 Viktor Mihajlovski <mih...@de...> + + * contrib/sblim-gather.spec: + + Added test suite install. + 2004-03-27 Viktor Mihajlovski <mih...@de...> - * makefile, comms/makefile, plugin/makefile, plugin/platform.sh, + * makefile, comms/makefile, contrib/SuSEconfig.sblim-gather, + contrib/sblim-gather.spec, plugin/makefile, plugin/platform.sh, provider/env, provider/makefile, provider/setting.cmpi, provider/mof/makefile, provider/mof/makefile.LocalFileSystem.standalone, |
From: Tyrel D. <ty...@us...> - 2012-11-29 07:19:02
|
Update of /cvsroot/sblim/gather/man In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12149/man Added Files: .cvsignore Log Message: Correct .cvsignore files to deal with generated man page artifacts --- NEW FILE: .cvsignore --- *.xml.pre *.[158] |
From: Tyrel D. <ty...@us...> - 2012-11-29 07:17:00
|
Update of /cvsroot/sblim/gather In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11936 Modified Files: .cvsignore Log Message: Updated cvsignore with autogenerated man file artifacts Index: .cvsignore =================================================================== RCS file: /cvsroot/sblim/gather/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- .cvsignore 23 May 2010 04:05:09 -0000 1.4 +++ .cvsignore 29 Nov 2012 07:16:57 -0000 1.5 @@ -30,3 +30,5 @@ sblim-gather.spec stamp-h1 gatherer* +man/*.[851] +man/*.xml.pre |
From: Tyrel D. <ty...@us...> - 2012-11-29 07:15:02
|
Update of /cvsroot/sblim/gather In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11612 Modified Files: Makefile.am NEWS configure.ac Log Message: Fixed 3590926: add man page for reposdump utility Index: NEWS =================================================================== RCS file: /cvsroot/sblim/gather/NEWS,v retrieving revision 1.136 retrieving revision 1.137 diff -u -d -r1.136 -r1.137 --- NEWS 27 Oct 2012 01:08:30 -0000 1.136 +++ NEWS 29 Nov 2012 07:14:58 -0000 1.137 @@ -9,6 +9,7 @@ Features added: - 3019058 add man pages/help for gatherd and reposd +- 3590926 add man page for reposdump utility Changes in Version 2.2.6 ======================== Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/gather/configure.ac,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- configure.ac 27 Oct 2012 01:08:31 -0000 1.45 +++ configure.ac 29 Nov 2012 07:14:58 -0000 1.46 @@ -171,7 +171,8 @@ gatherer.init-redhat gatherer.init-none man/gatherd.8.xml.pre man/gatherctl.8.xml.pre man/gatherd.conf.5.xml.pre man/reposd.8.xml.pre - man/reposctl.8.xml.pre man/reposd.conf.5.xml.pre]) + man/reposctl.8.xml.pre man/reposd.conf.5.xml.pre + man/reposdump.1.xml.pre]) AC_SUBST(ARCHDEF) Index: Makefile.am =================================================================== RCS file: /cvsroot/sblim/gather/Makefile.am,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- Makefile.am 27 Oct 2012 01:08:30 -0000 1.28 +++ Makefile.am 29 Nov 2012 07:14:58 -0000 1.29 @@ -46,7 +46,8 @@ doc_DATA=README AUTHORS COPYING README.TEST reposd2csv.pl MANFILES=man/gatherd.8 man/gatherctl.8 man/gatherd.conf.5 \ - man/reposd.8 man/reposctl.8 man/reposd.conf.5 + man/reposd.8 man/reposctl.8 man/reposd.conf.5 \ + man/reposdump.1 if BASE_METRICS BASE_DOC=plugin/metricIPProtocolEndpoint.readme \ @@ -396,12 +397,15 @@ sed -e s?$$\{prefix\}?$(prefix)?g \ -e s?$$\{exec_prefix\}?$(prefix)?g $< > $@ -SUFFIXES = .xml .xml.pre .5.xml .8.xml .5 .8 +SUFFIXES = .xml .xml.pre .1.xml .5.xml .8.xml .1 .5 .8 .xml.pre.xml: sed -e s?$$\{prefix\}?$(prefix)?g \ -e s?$$\{exec_prefix\}?$(prefix)?g $< > $@ +.1.xml.1: + xmlto -o man man $< + .5.xml.5: xmlto -o man man $< @@ -428,7 +432,7 @@ clean-local: rm -f gatherer gatherer.init-redhat gatherer.init-suse gatherer.init-none \ - man/*.8 man/*.5 + man/*.8 man/*.5 man/*.1 dist-hook: test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS` |
From: Tyrel D. <ty...@us...> - 2012-11-29 07:15:01
|
Update of /cvsroot/sblim/gather/man In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11612/man Added Files: reposdump.1.xml.pre.in Log Message: Fixed 3590926: add man page for reposdump utility --- NEW FILE: reposdump.1.xml.pre.in --- <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <refentry id="reposdump"> <refentryinfo> <productname>@PACKAGE_NAME@-@PACKAGE_VERSION@</productname> </refentryinfo> <refmeta> <refentrytitle>reposdump</refentrytitle> <manvolnum>1</manvolnum> <refmiscinfo class="manual">Linux Programmer's Manual</refmiscinfo> </refmeta> <refnamediv> <refname>reposdump</refname> <refpurpose>utility for dumping SBLIM Data Gatherer online metric repository</refpurpose> <refclass>UNIX/Linux</refclass> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>reposdump</command> <arg choice="opt"><replaceable>age</replaceable></arg> <arg choice="opt"><replaceable>interval</replaceable></arg> <arg choice="opt"><replaceable>directory</replaceable></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>Description</title> <para> The <command>reposdump</command> program is used to dump the metrics from the <citerefentry><refentrytitle>reposd</refentrytitle><manvolnum>8</manvolnum> </citerefentry> daemons online repository. The metric data is exported into a flat text file. The file contains sections seperated by lines with the following format. </para> <screen><![CDATA[===metricdefs <pluginname>===]]></screen> <screen><![CDATA[===metricvals <pluginname>===]]></screen> <para> Each section contains a list of comma seperated records containing the defined metric or metric values. A sample perl script @datarootdir@/reposd2csv.pl is included which demonstrates converting the dump data into a comma seperated value list (CSV) suitable for import into a spreadsheet. </para> </refsect1> <refsect1> <title>Options</title> <variablelist> <varlistentry> <term><option><replaceable>age</replaceable></option></term> <listitem> <para>Maximum sample age in seconds to be dumped.</para> </listitem> </varlistentry> <varlistentry> <term><option><replaceable>interval</replaceable></option></term> <listitem> <para>Sample interval granularity in seconds to be dumped.</para> </listitem> </varlistentry> <varlistentry> <term><option><replaceable>directory</replaceable></option></term> <listitem> <para>Directory in which to dump metric file.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>Bugs</title> <para>The SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, the metric data gatherer, or any of the SBLIM providers. To subscribe to this list visit: <screen><![CDATA[https://lists.sourceforge.net/lists/listinfo/sblim-issues]]></screen> </para> <para>Please report bugs you discover to the bug tracker. The SBLIM project bug tracking page can be found at: <screen><![CDATA[https://sourceforge.net/tracker/?group_id=128809&atid=712784]]></screen> </para> </refsect1> <refsect1> <title>Authors</title> <para>Please refer to the AUTHORS file distributed with sblim-gather.</para> </refsect1> <refsect1> <title>Copyright</title> <para>Copyright © 2003-2012 IBM Corp.</para> </refsect1> <refsect1> <title>License</title> <para><command>reposdump</command> is distributed under the terms of the Eclipse Public License ("Agreement"). Any use, reproduction or distribution of this program constitutes recipeients acceptance of the agreement.</para> <para>You can obtain a current copy of the Eclipse Public License from http://www.opensource.org/licenses/eclipse-1.0.php</para> </refsect1> <refsect1> <title>See Also</title> <para> <citerefentry> <refentrytitle>reposd</refentrytitle> <manvolnum>8</manvolnum> </citerefentry> </para> </refsect1> </refentry> |
From: Tyrel D. <ty...@us...> - 2012-11-29 06:28:06
|
Update of /cvsroot/sblim/cmpi-base In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6935 Modified Files: NEWS configure.ac Log Message: Correction: updated info for 1.6.2 release Index: NEWS =================================================================== RCS file: /cvsroot/sblim/cmpi-base/NEWS,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- NEWS 29 Nov 2012 06:22:20 -0000 1.47 +++ NEWS 29 Nov 2012 06:28:04 -0000 1.48 @@ -1,15 +1,11 @@ -Changes in Version 1.6.3 -======================== -Bugs Fixed: -- 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so -- 3582069 Linux_UnixProcess command injection vulnerability - Changes in Version 1.6.2 ======================== Bugs Fixed: - 3275169 bash error reported in provider bootstrap scripts - 3306580 wrong OperatingSystem.Version prop value on RHEL6 +- 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so +- 3582069 Linux_UnixProcess command injection vulnerability Changes in Version 1.6.1 ======================== Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/cmpi-base/configure.ac,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- configure.ac 4 Jan 2011 23:26:21 -0000 1.24 +++ configure.ac 29 Nov 2012 06:28:04 -0000 1.25 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(SBLIM BaseOS Providers Base, 1.6.1, sbl...@li...,sblim-cmpi-base) +AC_INIT(SBLIM BaseOS Providers Base, 1.6.2, sbl...@li...,sblim-cmpi-base) AC_CONFIG_SRCDIR([OSBase_Common.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE |
From: Tyrel D. <ty...@us...> - 2012-11-29 06:22:23
|
Update of /cvsroot/sblim/cmpi-base In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6687 Modified Files: ChangeLog Makefile.am NEWS Log Message: Updated for info for 1.6.3 release Index: NEWS =================================================================== RCS file: /cvsroot/sblim/cmpi-base/NEWS,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- NEWS 2 Nov 2012 22:29:22 -0000 1.46 +++ NEWS 29 Nov 2012 06:22:20 -0000 1.47 @@ -1,3 +1,5 @@ +Changes in Version 1.6.3 +======================== Bugs Fixed: - 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so - 3582069 Linux_UnixProcess command injection vulnerability Index: Makefile.am =================================================================== RCS file: /cvsroot/sblim/cmpi-base/Makefile.am,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Makefile.am 8 Feb 2012 00:35:16 -0000 1.18 +++ Makefile.am 29 Nov 2012 06:22:20 -0000 1.19 @@ -14,6 +14,7 @@ # Description: Automake input file for OS Base Providers # ================================================================== +AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 # SBLIM Include Directory sblimincdir = $(includedir)/sblim Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/cmpi-base/ChangeLog,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- ChangeLog 4 Jan 2011 23:26:21 -0000 1.40 +++ ChangeLog 29 Nov 2012 06:22:20 -0000 1.41 @@ -1,3 +1,33 @@ +2012-11-02 Tyrel Datwyler <ty...@us...> + + * NEWS, OSBase_UnixProcess.c: + + Fixed 3582069: Linux_UnixProcess command injection vulnerability + +2012-02-07 Tyrel Datwyler <ty...@us...> + + * Makefile.am, NEWS: + + Fixed 3424288: Underlinked libcmpiOSBase_ProcessorProvider.so + +2011-05-23 Tyrel Datwyler <ty...@us...> + + * NEWS, OSBase_OperatingSystem.c: + + Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6 + +2011-05-23 Tyrel Datwyler <ty...@us...> + + * NEWS, test/test-cmpi-base.sh: + + Fixed 3275169: bash error reported in provider bootstrap scripts + +2011-01-04 Tyrel Datwyler <ty...@us...> + + * ChangeLog, NEWS, configure.ac: + + Update release info for 1.6.1 + 2010-12-20 Tyrel Datwyler <ty...@us...> * NEWS, OSBase_Processor.c, OSBase_Processor.h, @@ -322,7 +352,7 @@ [ 1395363 ] Providers' postinstall step location dependent. Fixed Makefile and updated autoconf/deployment files from cmpi-samples. -2006-01-23 Lynn Moss +2006-01-23 Lynn Moss <ly...@us...> * Makefile.am: @@ -1555,7 +1585,7 @@ Updated setting.cmpi to support Pegasus -2003-03-25 Adrian Schuur +2003-03-25 Adrian Schuur <sc...@de...> * cimibase.h: |
From: Michael Chase-S. <mc...@us...> - 2012-11-29 04:44:18
|
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 7101bedc916fe904e84168aadebfff5a41ccb978 (commit) from 32d1417156881efba3e73ce2283dfbe081353e67 (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 7101bedc916fe904e84168aadebfff5a41ccb978 Author: Michael Chase-Salerno <br...@li...> Date: Wed Nov 28 23:44:02 2012 -0500 3590827: Exit if classprovider fails ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index 5951628..d3f1827 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,7 @@ Bugs fixed: - 3562530 TestMiscProvider poorly tests CMGetPropertyAt - 3585929 Additional ClassProviderSf prep work - 3588775 Startup will hang if indication support is disabled +- 3590827 Exit if classprovider fails Changes in 1.4.2 ================ hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Michael Chase-S. <mc...@us...> - 2012-11-28 23:57:33
|
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 32d1417156881efba3e73ce2283dfbe081353e67 (commit) from 80d0385adaadd43a98290729812d1ba695c084f1 (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 32d1417156881efba3e73ce2283dfbe081353e67 Author: Michael Chase-Salerno <br...@li...> Date: Wed Nov 28 18:55:26 2012 -0500 3590827: Exit if classprovider fails ----------------------------------------------------------------------- Summary of changes: diff --git a/classProviderSf.c b/classProviderSf.c index 94a6ec3..456b3ec 100644 --- a/classProviderSf.c +++ b/classProviderSf.c @@ -1407,6 +1407,7 @@ ClassProviderInvokeMethod(CMPIMethodMI * mi, cReg = getNsReg(ref, &rc); if (cReg == NULL) { CMPIStatus st = { CMPI_RC_ERR_INVALID_NAMESPACE, NULL }; + semRelease(sfcbSem,INIT_CLASS_PROV_ID); _SFCB_RETURN(st); } diff --git a/providerMgr.c b/providerMgr.c index 6d452dc..ade1098 100644 --- a/providerMgr.c +++ b/providerMgr.c @@ -93,7 +93,7 @@ extern void dump(char *msg, void *a, int l); extern void showClHdr(void *ihdr); extern int forkProvider(ProviderInfo * info, char **msg); -static int startUpProvider(const char *ns, const char *name); +static int startUpProvider(const char *ns, const char *name, int noResp); extern void *markHeap(); extern void releaseHeap(void *hc); @@ -995,13 +995,19 @@ processProviderMgrRequests() sigfillset(&mask); sigprocmask(SIG_SETMASK, &mask, &old_mask); - startUpProvider("root/interop", "$ClassProvider$"); + rc=startUpProvider("root/interop", "$ClassProvider$",0); + if (rc != 0 ) { + mlogf(M_ERROR,M_SHOW,"--- ClassProvider failed to start, rc:%d\n",rc); + sigprocmask(SIG_SETMASK, &old_mask, NULL); + _SFCB_RETURN(); + } + /* wait until classProvider is finished init'ing */ semAcquire(sfcbSem,INIT_CLASS_PROV_ID); #ifdef SFCB_INCL_INDICATION_SUPPORT if (interOpProvInfoPtr != forceNoProvInfoPtr) { - startUpProvider("root/interop", "$InterOpProvider$"); + startUpProvider("root/interop", "$InterOpProvider$",1); /* note: we don't wait here for interopProvider to finish init'ing, because its init has some reqs that providerMgr will need to process. httpAdapter waits for interop to init before accepting HTTP requests */ @@ -1009,7 +1015,7 @@ processProviderMgrRequests() #endif #ifdef HAVE_SLP - startUpProvider("root/interop", "$ProfileProvider$"); + startUpProvider("root/interop", "$ProfileProvider$",1); #endif sigprocmask(SIG_SETMASK, &old_mask, NULL); @@ -1766,7 +1772,7 @@ isChild(const char *ns, const char *parent, const char *child) } static int -startUpProvider(const char *ns, const char *name) +startUpProvider(const char *ns, const char *name, int noResp) { _SFCB_ENTER(TRACE_PROVIDERMGR, "startUpProvider"); @@ -1785,8 +1791,8 @@ startUpProvider(const char *ns, const char *name) irc = _methProvider(&binCtx, &req); if (irc == MSG_X_PROVIDER) { - localInvokeMethod(&binCtx, path, "_startup", in, NULL, &rc, 1); - irc = (rc.rc == CMPI_RC_OK); + localInvokeMethod(&binCtx, path, "_startup", in, NULL, &rc, noResp); + irc=rc.rc; } else irc = 0; diff --git a/sfcBroker.c b/sfcBroker.c index 24f8278..30ed1b0 100644 --- a/sfcBroker.c +++ b/sfcBroker.c @@ -927,6 +927,7 @@ mlogf(M_INFO, M_SHOW, "--- Request handlers enabled:%s\n",rtmsg); processProviderMgrRequests(); + stopBroker(NULL); return 0; } /* MODELINES */ hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Chris B. <buc...@us...> - 2012-11-27 22:23:51
|
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 80d0385adaadd43a98290729812d1ba695c084f1 (commit) from 2a27df15c74711e4742972f4010498a7ac5e6e45 (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 80d0385adaadd43a98290729812d1ba695c084f1 Author: buccella <buc...@li...> Date: Tue Nov 27 17:23:15 2012 -0500 [ 3590202 ] Enable IPv6 by default for SFCB 1.4 ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index 56518a8..5951628 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ New features: - 3531210 Allow indication delivery timeout tuning - 3562538 Enable curl debug via env variable - 3590203 Remove pg_interop checking in SFCB 1.4 +- 3590202 Enable IPv6 by default for SFCB 1.4 Bugs fixed: - 3495804 Cleanup: httpProcId still defined, wrong define in cimXmlGen diff --git a/configure.ac b/configure.ac index 2691ea0..b33adf5 100644 --- a/configure.ac +++ b/configure.ac @@ -96,8 +96,11 @@ AC_ARG_ENABLE(docs, [Enable generation of API documentation.])]) AC_ARG_ENABLE(ipv6, - [AC_HELP_STRING([--enable-ipv6], - [include ipv6 support for SFCB.])]) + [AC_HELP_STRING([--disable-ipv6], + [Disable IPv6 support for SFCB])], + [enable_ipv6=$enableval], + [enable_ipv6="yes"] + ) AC_ARG_ENABLE(tests, [AC_HELP_STRING([--enable-tests(=TESTS)], diff --git a/httpAdapter.c b/httpAdapter.c index 2d0c223..9d338f6 100644 --- a/httpAdapter.c +++ b/httpAdapter.c @@ -195,10 +195,6 @@ typedef struct _buffer { } Buffer; #ifdef HAVE_IPV6 -#define USE_INET6 -#endif - -#ifdef USE_INET6 static int fallback_ipv4; #endif @@ -1100,7 +1096,7 @@ doHttpRequest(CommHndl conn_fd) struct sockaddr_storage from; socklen_t from_len = sizeof(from); getpeername(conn_fd.socket, (struct sockaddr *)&from, &from_len); -#ifdef USE_INET6 +#ifdef HAVE_IPV6 char ipstr[INET6_ADDRSTRLEN] = {0}; #else char ipstr[INET_ADDRSTRLEN] = {0}; @@ -1661,7 +1657,7 @@ getSocket() int fd; int ru = 1; -#ifdef USE_INET6 // need to check +#ifdef HAVE_IPV6 // need to check fd = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP); if (fd < 0) { mlogf(M_INFO, M_SHOW, "--- Using IPv4 address\n"); @@ -1670,14 +1666,14 @@ getSocket() } #else fd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); -#endif // USE_INET6 +#endif // HAVE_IPV6 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (char *) &ru, sizeof(ru)); if (bindSocketToDevice(fd) == -1) return -1; return fd; } -#ifdef USE_INET6 +#ifdef HAVE_IPV6 static struct sockaddr * prepSockAddr6(int port, void *ssin, socklen_t * sin_len) { @@ -1729,7 +1725,7 @@ bindToPort(int sock, int port, void *ssin, socklen_t * sin_len) if (getControlBool("httpLocalOnly", &httpLocalOnly)) httpLocalOnly = 0; -#ifdef USE_INET6 +#ifdef HAVE_IPV6 if (!fallback_ipv4) sin = prepSockAddr6(port, ssin, sin_len); else @@ -1796,7 +1792,7 @@ static void acceptRequest(int sock, void *ssin, socklen_t sin_len, int sslMode) { -#ifdef USE_INET6 +#ifdef HAVE_IPV6 struct sockaddr_in6 *sin = ssin; #else struct sockaddr_in *sin = ssin; @@ -1892,7 +1888,7 @@ int httpDaemon(int argc, char *argv[], int sslMode) { -#ifdef USE_INET6 +#ifdef HAVE_IPV6 struct sockaddr_in6 httpSin; #else struct sockaddr_in httpSin; @@ -1909,7 +1905,7 @@ httpDaemon(int argc, char *argv[], int sslMode) int maxfdp1; /* highest-numbered fd +1 */ #ifdef USE_SSL -#ifdef USE_INET6 +#ifdef HAVE_IPV6 struct sockaddr_in6 httpsSin; #else struct sockaddr_in httpsSin; hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Dave B. <bla...@us...> - 2012-11-27 01:31:07
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/cimxml In directory vz-cvs-3.sog:/tmp/cvs-serv12253/src/org/sblim/cimclient/internal/cimxml Modified Files: Tag: Experimental CIMXMLBuilderImpl.java Log Message: 3588558 An enhancement on Java CIM Client logging Index: CIMXMLBuilderImpl.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java,v retrieving revision 1.9.2.34 retrieving revision 1.9.2.35 diff -u -d -r1.9.2.34 -r1.9.2.35 --- CIMXMLBuilderImpl.java 20 May 2011 14:39:45 -0000 1.9.2.34 +++ CIMXMLBuilderImpl.java 27 Nov 2012 01:31:03 -0000 1.9.2.35 @@ -1,7 +1,7 @@ /** * CIMXMLBuilderImpl.java * - * (C) Copyright IBM Corp. 2005, 2011 + * (C) Copyright IBM Corp. 2005, 2012 * * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE @@ -48,6 +48,7 @@ * 2970881 2010-03-15 blaschke-oss Add property to control EmbeddedObject case * 3001333 2010-05-19 blaschke-oss CIMMethod class ignores propagated parameter * 3304058 2011-05-20 blaschke-oss Use same date format in change history + * 3588558 2012-11-26 blaschke-oss An enhancement on Java CIM Client logging */ package org.sblim.cimclient.internal.cimxml; @@ -1547,12 +1548,14 @@ */ if (propType == null) { throw new WBEMException( WBEMException.CIM_ERR_INVALID_PARAMETER, - "Type of property or key cannot be a null!"); } + "Type of property or key cannot be a null! " + propName + " in ObjectPath " + + instanceOP.toString() + " has null type."); } if (propValue == null) { if (propType.getType() == CIMDataType.REFERENCE) { throw new WBEMException( WBEMException.CIM_ERR_INVALID_PARAMETER, - "Value of reference cannot be null!"); } + "Value of reference cannot be null! " + propName + " in ObjectPath " + + instanceOP.toString() + " has null value."); } } Element keybindingE = createKEYBINDING(doc, instancenameE, propName); |
From: Chris B. <buc...@us...> - 2012-11-26 23:27:04
|
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 2a27df15c74711e4742972f4010498a7ac5e6e45 (commit) from 989fee789381930e0c78b17bb04ed7e7cfa6abf3 (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 2a27df15c74711e4742972f4010498a7ac5e6e45 Author: buccella <buc...@li...> Date: Mon Nov 26 18:26:38 2012 -0500 [ 3590203 ] Remove pg_interop checking in SFCB 1.4 ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index 8945966..56518a8 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ New features: - 3506453 Support peer cert verification for SSL indications - 3531210 Allow indication delivery timeout tuning - 3562538 Enable curl debug via env variable +- 3590203 Remove pg_interop checking in SFCB 1.4 Bugs fixed: - 3495804 Cleanup: httpProcId still defined, wrong define in cimXmlGen diff --git a/classProvider.c b/classProvider.c index 8c5f091..8f3923e 100644 --- a/classProvider.c +++ b/classProvider.c @@ -572,10 +572,7 @@ getNsReg(const CMPIObjectPath * ref, int *rc) if (nsi && nsi->hdl) { ns = (char *) nsi->hdl; - if (strcasecmp(ns, "root/pg_interop") == 0) - cReg = nsHt->ft->get(nsHt, "root/interop"); - else - cReg = nsHt->ft->get(nsHt, ns); + cReg = nsHt->ft->get(nsHt, ns); return cReg; } diff --git a/classProviderGz.c b/classProviderGz.c index 95d89b2..fe154db 100644 --- a/classProviderGz.c +++ b/classProviderGz.c @@ -539,10 +539,7 @@ getNsReg(const CMPIObjectPath * ref, int *rc) if (nsi && nsi->hdl) { ns = (char *) nsi->hdl; - if (strcasecmp(ns, "root/pg_interop") == 0) - cReg = nsHt->ft->get(nsHt, "root/interop"); - else - cReg = nsHt->ft->get(nsHt, ns); + cReg = nsHt->ft->get(nsHt, ns); return cReg; } diff --git a/classProviderMem.c b/classProviderMem.c index e23c28b..86a620a 100644 --- a/classProviderMem.c +++ b/classProviderMem.c @@ -452,10 +452,7 @@ getNsReg(const CMPIObjectPath * ref, int *rc) if (nsi && nsi->hdl) { ns = (char *) nsi->hdl; - if (strcasecmp(ns, "root/pg_interop") == 0) - cReg = nsHt->ft->get(nsHt, "root/interop"); - else - cReg = nsHt->ft->get(nsHt, ns); + cReg = nsHt->ft->get(nsHt, ns); return cReg; } diff --git a/classProviderSf.c b/classProviderSf.c index ab88210..94a6ec3 100644 --- a/classProviderSf.c +++ b/classProviderSf.c @@ -559,10 +559,7 @@ getNsReg(const CMPIObjectPath * ref, int *rc) if (nsi && nsi->hdl) { ns = (char *) nsi->hdl; - if (strcasecmp(ns, "root/pg_interop") == 0) - cReg = nsHt->ft->get(nsHt, "root/interop"); - else - cReg = nsHt->ft->get(nsHt, ns); + cReg = nsHt->ft->get(nsHt, ns); return cReg; } diff --git a/indCIMXMLHandler.c b/indCIMXMLHandler.c index c18a7f9..1b38632 100644 --- a/indCIMXMLHandler.c +++ b/indCIMXMLHandler.c @@ -55,7 +55,7 @@ static int interOpNameSpace(const CMPIObjectPath * cop, CMPIStatus *st) { char *ns = (char *) CMGetNameSpace(cop, NULL)->hdl; - if (strcasecmp(ns, "root/interop") && strcasecmp(ns, "root/pg_interop")) { + if (strcasecmp(ns, "root/interop")) { setStatus(st, CMPI_RC_ERR_FAILED, "Object must reside in root/interop"); return 0; diff --git a/internalProvider.c b/internalProvider.c index 71c68ec..039d363 100644 --- a/internalProvider.c +++ b/internalProvider.c @@ -39,7 +39,6 @@ #define LOCALCLASSNAME "InternalProvider" static char *interopNs = "root/interop"; -static char *pg_interopNs = "root/pg_interop"; extern ProviderInfo *interOpProvInfoPtr; extern ProviderInfo *forceNoProvInfoPtr; @@ -53,16 +52,6 @@ extern void setStatus(CMPIStatus *st, CMPIrc rc, const char *msg); static const CMPIBroker *_broker; -static const char * -repositoryNs(const char *nss) -{ - if (strcasecmp(nss, pg_interopNs) == 0) { - return interopNs; - } else { - return nss; - } -} - /* * static int cpy2lower(char *in, char *out) { int i = 0; while ((out[i] = * tolower(in[i++])) != 0); return i - 1; } @@ -185,7 +174,6 @@ InternalProviderEnumInstanceNames(CMPIInstanceMI * mi, CMPIObjectPath *cop; const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); size_t ekl; int i, ac = 0; @@ -203,14 +191,14 @@ InternalProviderEnumInstanceNames(CMPIInstanceMI * mi, in = CMNewArgs(Broker, NULL); out = CMNewArgs(Broker, NULL); CMAddArg(in, "class", cns, CMPI_chars); - op = CMNewObjectPath(Broker, bnss, "$ClassProvider$", &sti); + op = CMNewObjectPath(Broker, nss, "$ClassProvider$", &sti); rv = CBInvokeMethod(Broker, ctx, op, "getallchildren", in, out, &sti); ar = CMGetArg(out, "children", NULL).value.array; if (ar) ac = CMGetArrayCount(ar, NULL); for (i = 0; cns; i++) { - if ((bi = _getIndex(bnss, cns)) != NULL) { + if ((bi = _getIndex(nss, cns)) != NULL) { if (ipGetFirst(bi, NULL, &kp, &ekl)) { while (1) { strcpy(copKey, nss); @@ -258,7 +246,6 @@ enumInstances(CMPIInstanceMI * mi, CMPIString *ns = CMGetNameSpace(ref, NULL); const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); int len, i, ac = 0; @@ -279,7 +266,7 @@ enumInstances(CMPIInstanceMI * mi, else CMAddArg(in, "class", cns, CMPI_chars); - op = CMNewObjectPath(Broker, bnss, "$ClassProvider$", &sti); + op = CMNewObjectPath(Broker, nss, "$ClassProvider$", &sti); _SFCB_TRACE(1, ("--- getallchildren")); rv = CBInvokeMethod(Broker, ctx, op, "getallchildren", in, out, &sti); _SFCB_TRACE(1, ("--- getallchildren rc: %d", sti.rc)); @@ -291,7 +278,7 @@ enumInstances(CMPIInstanceMI * mi, for (i = 0; cns; i++) { _SFCB_TRACE(1, ("--- looking for %s", cns)); - if ((bi = _getIndex(bnss, cns)) != NULL) { + if ((bi = _getIndex(nss, cns)) != NULL) { for (ci = ipGetFirst(bi, &len, NULL, 0); ci; ci = ipGetNext(bi, &len, NULL, 0)) { if (properties) { @@ -366,19 +353,18 @@ internalProviderGetInstance(const CMPIObjectPath * cop, CMPIStatus *rc) CMPIInstance *ci = NULL; const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); CMPIStatus st = { CMPI_RC_OK, NULL }; _SFCB_ENTER(TRACE_INTERNALPROVIDER, "internalProviderGetInstance"); _SFCB_TRACE(1, ("--- Get instance for %s %s %s", nss, cns, key)); - if (testNameSpace(bnss, rc) == 0) { + if (testNameSpace(nss, rc) == 0) { _SFCB_TRACE(1, ("--- Invalid namespace %s", nss)); free(key); _SFCB_RETURN(NULL); } - ci = ipGetBlob(bnss, cns, key, &len); + ci = ipGetBlob(nss, cns, key, &len); if (ci == NULL) { _SFCB_TRACE(1, ("--- Instance not found")); @@ -429,11 +415,10 @@ InternalProviderCreateInstance(CMPIInstanceMI * mi, char *key = normalizeObjectPathCharsDup(cop); const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderCreateInstance"); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { free(key); _SFCB_RETURN(st); } @@ -448,7 +433,7 @@ InternalProviderCreateInstance(CMPIInstanceMI * mi, _SFCB_RETURN(st); } - if (existingBlob(bnss, cns, key)) { + if (existingBlob(nss, cns, key)) { CMPIStatus st = { CMPI_RC_ERR_ALREADY_EXISTS, NULL }; free(key); _SFCB_RETURN(st); @@ -458,7 +443,7 @@ InternalProviderCreateInstance(CMPIInstanceMI * mi, blob = malloc(len + 64); getSerializedInstance(ci, blob); - if (addBlob(bnss, cns, key, blob, (int) len)) { + if (addBlob(nss, cns, key, blob, (int) len)) { CMPIStatus st = { CMPI_RC_ERR_FAILED, NULL }; st.msg = sfcb_native_new_CMPIString("Unable to write to repository", NULL, @@ -493,16 +478,15 @@ InternalProviderModifyInstance(CMPIInstanceMI * mi, char *key = normalizeObjectPathCharsDup(cop); const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderSetInstance"); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { free(key); _SFCB_RETURN(st); } - if (existingBlob(bnss, cns, key) == 0) { + if (existingBlob(nss, cns, key) == 0) { CMPIStatus st = { CMPI_RC_ERR_NOT_FOUND, NULL }; free(key); _SFCB_RETURN(st); @@ -515,7 +499,7 @@ InternalProviderModifyInstance(CMPIInstanceMI * mi, len = getInstanceSerializedSize(ci); blob = malloc(len + 64); getSerializedInstance(ci, blob); - addBlob(bnss, cns, key, blob, (int) len); + addBlob(nss, cns, key, blob, (int) len); free(blob); free(key); _SFCB_RETURN(st); @@ -533,22 +517,21 @@ InternalProviderDeleteInstance(CMPIInstanceMI * mi, char *key = normalizeObjectPathCharsDup(cop); const char *nss = ns->ft->getCharPtr(ns, NULL); const char *cns = cn->ft->getCharPtr(cn, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderDeleteInstance"); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { free(key); _SFCB_RETURN(st); } - if (existingBlob(bnss, cns, key) == 0) { + if (existingBlob(nss, cns, key) == 0) { CMPIStatus st = { CMPI_RC_ERR_NOT_FOUND, NULL }; free(key); _SFCB_RETURN(st); } - deleteBlob(bnss, cns, key); + deleteBlob(nss, cns, key); free(key); _SFCB_RETURN(st); diff --git a/interopProvider.c b/interopProvider.c index d6c8164..771d36e 100644 --- a/interopProvider.c +++ b/interopProvider.c @@ -122,7 +122,7 @@ static int interOpNameSpace(const CMPIObjectPath * cop, CMPIStatus *st) { char *ns = (char *) CMGetNameSpace(cop, NULL)->hdl; - if (strcasecmp(ns, "root/interop") && strcasecmp(ns, "root/pg_interop")) { + if (strcasecmp(ns, "root/interop")) { if (st) setStatus(st, CMPI_RC_ERR_FAILED, "Object must reside in root/interop"); diff --git a/providerMgr.c b/providerMgr.c index 8185025..6d452dc 100644 --- a/providerMgr.c +++ b/providerMgr.c @@ -179,9 +179,6 @@ nameSpaceOk(ProviderInfo * info, char *nameSpace) if (info == classProvInfoPtr) _SFCB_RETURN(1); - if (strcasecmp(nameSpace, "root/pg_interop") == 0) - return nameSpaceOk(info, "root/interop"); - _SFCB_TRACE(1, ("--- failed")); _SFCB_RETURN(0); } diff --git a/qualifierProvider.c b/qualifierProvider.c index 1f42bd1..0ff8928 100644 --- a/qualifierProvider.c +++ b/qualifierProvider.c @@ -32,7 +32,6 @@ #include "providerRegister.h" #include "fileRepository.h" static char *interopNs = "root/interop"; -static char *pg_interopNs = "root/pg_interop"; static char *qualrep = "qualifiers"; // filename of qualifier // repository extern ProviderInfo *interOpProvInfoPtr; @@ -46,15 +45,6 @@ static const CMPIBroker *_broker; * */ -static const char * -repositoryNs(const char *nss) -{ - if (strcasecmp(nss, pg_interopNs) == 0) { - return interopNs; - } else { - return nss; - } -} static int testNameSpace(const char *ns, CMPIStatus *st) { @@ -105,17 +95,16 @@ QualifierProviderGetQualifier(CMPIQualifierDeclMI * mi, void *blob; const char *nss = ns->ft->getCharPtr(ns, NULL); const char *qns = qn->ft->getCharPtr(qn, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "QualifierProviderGetQualifier"); _SFCB_TRACE(1, ("--- Get Qualifier for %s %s %s", nss, qualrep, qns)); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { _SFCB_TRACE(1, ("--- Invalid namespace %s", nss)); _SFCB_RETURN(st); } - blob = getBlob(bnss, qualrep, qns, &len); + blob = getBlob(nss, qualrep, qns, &len); if (blob == NULL) { _SFCB_TRACE(1, ("--- Qualifier not found")); @@ -149,26 +138,25 @@ QualifierProviderSetQualifier(CMPIQualifierDeclMI * mi, CMPIString *ns = CMGetNameSpace(cop, NULL); char *qns = (char *) qual->ft->getCharQualifierName(qual); const char *nss = ns->ft->getCharPtr(ns, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "QualifierProviderSetQualifier"); _SFCB_TRACE(1, ("--- Set Qualifier for %s %s %s", nss, qualrep, qns)); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { _SFCB_TRACE(1, ("--- Invalid namespace %s", nss)); _SFCB_RETURN(st); } - if (existingBlob(bnss, qualrep, qns)) { + if (existingBlob(nss, qualrep, qns)) { // first delete it - deleteBlob(bnss, qualrep, qns); + deleteBlob(nss, qualrep, qns); } len = getQualifierSerializedSize(qual); blob = malloc(len + 64); getSerializedQualifier(qual, blob); - if (addBlob(bnss, qualrep, qns, blob, (int) len)) { + if (addBlob(nss, qualrep, qns, blob, (int) len)) { CMPIStatus st = { CMPI_RC_ERR_FAILED, NULL }; st.msg = sfcb_native_new_CMPIString("Unable to write to repository", NULL, @@ -191,21 +179,20 @@ QualifierProviderDeleteQualifier(CMPIQualifierDeclMI * mi, const char *nss = ns->ft->getCharPtr(ns, NULL); const char *qns = qn->ft->getCharPtr(qn, NULL); - const char *bnss = repositoryNs(nss); _SFCB_ENTER(TRACE_INTERNALPROVIDER, "QualifierProviderDeleteQualifier"); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { _SFCB_TRACE(1, ("--- Invalid namespace %s", nss)); _SFCB_RETURN(st); } - if (existingBlob(bnss, qualrep, qns) == 0) { + if (existingBlob(nss, qualrep, qns) == 0) { CMPIStatus st = { CMPI_RC_ERR_NOT_FOUND, NULL }; _SFCB_RETURN(st); } - deleteBlob(bnss, qualrep, qns); + deleteBlob(nss, qualrep, qns); _SFCB_RETURN(st); } @@ -217,7 +204,6 @@ QualifierProviderEnumQualifiers(CMPIQualifierDeclMI * mi, { CMPIString *ns = CMGetNameSpace(ref, NULL); const char *nss = ns->ft->getCharPtr(ns, NULL); - const char *bnss = repositoryNs(nss); BlobIndex *bi; int len = 0; void *blob; @@ -226,12 +212,12 @@ QualifierProviderEnumQualifiers(CMPIQualifierDeclMI * mi, _SFCB_ENTER(TRACE_PROVIDERS, "QualifierProviderEnumQualifiers"); - if (testNameSpace(bnss, &st) == 0) { + if (testNameSpace(nss, &st) == 0) { _SFCB_TRACE(1, ("--- Invalid namespace %s", nss)); _SFCB_RETURN(st); } // why 64 ? copied it from _getIndex from InternalProvider - if (getIndex(bnss, qualrep, strlen(bnss) + strlen(qualrep) + 64, 0, &bi)) { + if (getIndex(nss, qualrep, strlen(nss) + strlen(qualrep) + 64, 0, &bi)) { for (blob = getFirst(bi, &len, NULL, 0); blob; blob = getNext(bi, &len, NULL, 0)) { q = relocateSerializedQualifier(blob); diff --git a/test/xmltest/enumerateNameSpaces.xml b/test/xmltest/enumerateNameSpaces.xml index 7ab552b..6bd0d9c 100644 --- a/test/xmltest/enumerateNameSpaces.xml +++ b/test/xmltest/enumerateNameSpaces.xml @@ -5,7 +5,7 @@ <IMETHODCALL NAME="EnumerateInstances"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root"/> - <NAMESPACE NAME="PG_InterOp"/> + <NAMESPACE NAME="InterOp"/> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="ClassName"> <CLASSNAME NAME="CIM_Namespace"/> hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Dave B. <bla...@us...> - 2012-11-26 13:22:17
|
Update of /cvsroot/sblim/jsr48-client In directory vz-cvs-3.sog:/tmp/cvs-serv5546 Modified Files: NEWS Log Message: 3557283 Print full response when get EOF from CIMOM Index: NEWS =================================================================== RCS file: /cvsroot/sblim/jsr48-client/NEWS,v retrieving revision 1.326 retrieving revision 1.327 diff -u -d -r1.326 -r1.327 --- NEWS 15 Nov 2012 14:56:39 -0000 1.326 +++ NEWS 26 Nov 2012 13:22:15 -0000 1.327 @@ -1,5 +1,6 @@ Changes in HEAD ================ +3557283 Print full response when get EOF from CIMOM 3576396 Improve logging of config file name 3572993 parseDouble("2.2250738585072012e-308") DoS vulnerability 3567433 Add links to top of detailed release history HTML |
From: Chris B. <buc...@us...> - 2012-11-21 17:18:07
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv23993 Modified Files: sfcBroker.c ChangeLog NEWS Log Message: [ 3452703 ] Default http uid used causes unexpected behavior Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.725 retrieving revision 1.726 diff -u -d -r1.725 -r1.726 --- NEWS 19 Nov 2012 23:07:47 -0000 1.725 +++ NEWS 21 Nov 2012 17:18:04 -0000 1.726 @@ -26,6 +26,7 @@ - 3528056 sfcbd --version doesn't always work - 3381209 Memory leak inside getClass() used by invokeMethod() - 3588557 Object path in deliverIndication can remain resident +- 3452703 Default http uid used causes unexpected behavior Changes in 1.3.15 ================= Index: sfcBroker.c =================================================================== RCS file: /cvsroot/sblim/sfcb/sfcBroker.c,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -r1.66 -r1.67 --- sfcBroker.c 9 Nov 2012 22:22:41 -0000 1.66 +++ sfcBroker.c 21 Nov 2012 17:18:04 -0000 1.67 @@ -406,10 +406,7 @@ mlogf(M_ERROR,M_SHOW,"--- Error retrieving http user info from config file.\n"); exit(2); } - if (httpSFCB) { - // This indicates that we should use the SFCB user by default - httpuid = -1; - } else { + if (!httpSFCB) { // Get the user specified in the config file if (getControlChars("httpUser",&httpUser)) { mlogf(M_ERROR,M_SHOW,"--- Error retrieving http user info from config file.\n"); @@ -434,7 +431,7 @@ } if (pid == 0) { currentProc=getpid(); - if (httpuid != -1 ) { + if (!httpSFCB) { // Set the real and effective uids rc=setreuid(httpuid,httpuid); if (rc == -1) { Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.810 retrieving revision 1.811 diff -u -d -r1.810 -r1.811 --- ChangeLog 19 Nov 2012 23:07:47 -0000 1.810 +++ ChangeLog 21 Nov 2012 17:18:04 -0000 1.811 @@ -1,3 +1,8 @@ +2012-11-21 Chris Buccella <buc...@li...> + + * sfcBroker.c: + [ 3452703 ] Default http uid used causes unexpected behavior + 2012-11-19 Chris Buccella <buc...@li...> * brokerUpc.c: |
From: Chris B. <buc...@us...> - 2012-11-21 16:33:46
|
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 989fee789381930e0c78b17bb04ed7e7cfa6abf3 (commit) via 5fc760ac1233b8e6a1ff7d135ef0afe145b8be52 (commit) via 1f1c2c9b9b9403f4c75d2a0455a5858ebe836a59 (commit) via 43bbe00a607b2c9b9e747e8c1ff3e18b5b3fd8b4 (commit) from 72beb85ac63b1cb9a46eee59ad18d358f88c252c (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 989fee789381930e0c78b17bb04ed7e7cfa6abf3 Merge: 5fc760a 72beb85 Author: buccella <buc...@li...> Date: Wed Nov 21 11:32:51 2012 -0500 merge NEWS commit 5fc760ac1233b8e6a1ff7d135ef0afe145b8be52 Author: buccella <buc...@li...> Date: Wed Nov 21 11:30:07 2012 -0500 [ 3452703 ] Default http uid used causes unexpected behavior commit 1f1c2c9b9b9403f4c75d2a0455a5858ebe836a59 Author: buccella <buc...@li...> Date: Tue Nov 20 14:54:36 2012 -0500 [ 3588775 ] Startup will hang if indication support is disabled commit 43bbe00a607b2c9b9e747e8c1ff3e18b5b3fd8b4 Author: buccella <buc...@li...> Date: Tue Nov 20 12:40:18 2012 -0500 [ 3588557 ] Object path in deliverIndication can remain resident ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index 5355a09..8945966 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,7 @@ Bugs fixed: - 3579637 SFCB should check ftok return code - 3562530 TestMiscProvider poorly tests CMGetPropertyAt - 3585929 Additional ClassProviderSf prep work +- 3588775 Startup will hang if indication support is disabled Changes in 1.4.2 ================ @@ -124,6 +125,8 @@ Bugs fixed: - 3580137 Classname needed in *ActivateFilter - 3585274 Local connect kills tracing - 3528056 sfcbd --version doesn't always work +- 3588557 Object path in deliverIndication can remain resident +- 3452703 Default http uid used causes unexpected behavior - 3381209 Memory leak inside getClass() used by invokeMethod() Changes in 1.3.15 diff --git a/brokerUpc.c b/brokerUpc.c index 2f95867..ec24da3 100644 --- a/brokerUpc.c +++ b/brokerUpc.c @@ -166,6 +166,7 @@ deliverIndication(const CMPIBroker * mb, const CMPIContext *ctx, classMatch = 0; /* 3483200 */ se = se->next; } + CMRelease(indop); /* 3588557 */ _SFCB_RETURN(st); #else diff --git a/httpAdapter.c b/httpAdapter.c index 333733a..2d0c223 100644 --- a/httpAdapter.c +++ b/httpAdapter.c @@ -2148,7 +2148,9 @@ httpDaemon(int argc, char *argv[], int sslMode) /* wait until providerMgr is ready to start accepting reqs (that is, when interopProvider is finished initializing) */ +#ifdef SFCB_INCL_INDICATION_SUPPORT semAcquire(sfcbSem, INIT_PROV_MGR_ID); +#endif for (;;) { diff --git a/sfcBroker.c b/sfcBroker.c index 73c4847..24f8278 100644 --- a/sfcBroker.c +++ b/sfcBroker.c @@ -425,10 +425,7 @@ startHttpd(int argc, char *argv[], int sslMode) "--- Error retrieving http user info from config file.\n"); exit(2); } - if (httpSFCB) { - // This indicates that we should use the SFCB user by default - httpuid = -1; - } else { + if (!httpSFCB) { // Get the user specified in the config file if (getControlChars("httpUser", &httpUser)) { mlogf(M_ERROR, M_SHOW, @@ -456,7 +453,7 @@ startHttpd(int argc, char *argv[], int sslMode) } if (pid == 0) { currentProc = getpid(); - if (httpuid != -1) { + if (!httpSFCB) { // Set the real and effective uids rc = setreuid(httpuid, httpuid); if (rc == -1) { hooks/post-receive -- SFCB - Small Footprint CIM Broker |
From: Chris B. <buc...@us...> - 2012-11-19 23:07:50
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv8086 Modified Files: brokerUpc.c ChangeLog NEWS Log Message: [ 3588557 ] Object path in deliverIndication can remain resident Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.724 retrieving revision 1.725 diff -u -d -r1.724 -r1.725 --- NEWS 14 Nov 2012 22:04:28 -0000 1.724 +++ NEWS 19 Nov 2012 23:07:47 -0000 1.725 @@ -25,6 +25,7 @@ - 3585274 Local connect kills tracing - 3528056 sfcbd --version doesn't always work - 3381209 Memory leak inside getClass() used by invokeMethod() +- 3588557 Object path in deliverIndication can remain resident Changes in 1.3.15 ================= Index: brokerUpc.c =================================================================== RCS file: /cvsroot/sblim/sfcb/brokerUpc.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- brokerUpc.c 31 Oct 2012 01:40:09 -0000 1.43 +++ brokerUpc.c 19 Nov 2012 23:07:47 -0000 1.44 @@ -32,6 +32,7 @@ #include "msgqueue.h" #include "utilft.h" #include "config.h" +#include "objectpath.h" #ifdef HAVE_INDICATIONS #define SFCB_INCL_INDICATION_SUPPORT 1 @@ -159,8 +160,9 @@ } classMatch = 0; /* 3483200 */ se=se->next; - } - + } + CMRelease(indop); /* 3588557 */ + _SFCB_RETURN(st); #else Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.809 retrieving revision 1.810 diff -u -d -r1.809 -r1.810 --- ChangeLog 14 Nov 2012 22:04:28 -0000 1.809 +++ ChangeLog 19 Nov 2012 23:07:47 -0000 1.810 @@ -1,3 +1,8 @@ +2012-11-19 Chris Buccella <buc...@li...> + + * brokerUpc.c: + [ 3588557 ] Object path in deliverIndication can remain resident + 2012-11-14 Michael Chase-Salerno <br...@li...> * cimcClientSfcbLocal.c: |
From: Michael Chase-S. <mc...@us...> - 2012-11-16 17:27:48
|
Update of /cvsroot/sblim/sfcb In directory vz-cvs-3.sog:/tmp/cvs-serv28322 Modified Files: contributions.txt Log Message: Contrib update Index: contributions.txt =================================================================== RCS file: /cvsroot/sblim/sfcb/contributions.txt,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- contributions.txt 30 Mar 2012 02:47:11 -0000 1.73 +++ contributions.txt 16 Nov 2012 17:27:46 -0000 1.74 @@ -196,6 +196,7 @@ Santosh Bidaralli, Dell ----------------------- 06/22/2011 [ 3324578 ] getInstance() up call does not close provider context +11/14/2012 [ 3381209 ] Memory leak inside getClass() used by invokeMethod() Zane Bitter, Red Hat -------------------- |
From: Michael Chase-S. <mc...@us...> - 2012-11-16 16:30:21
|
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 72beb85ac63b1cb9a46eee59ad18d358f88c252c (commit) from 250d47a8848a294fb4aefb37ca78475140ee83ce (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 72beb85ac63b1cb9a46eee59ad18d358f88c252c Author: Michael Chase-Salerno <br...@li...> Date: Fri Nov 16 11:29:33 2012 -0500 Update contributors.txt ----------------------------------------------------------------------- Summary of changes: diff --git a/contributions.txt b/contributions.txt index c36b3ed..40595b8 100644 --- a/contributions.txt +++ b/contributions.txt @@ -200,6 +200,7 @@ Josef Moellers Santosh Bidaralli, Dell ----------------------- 06/22/2011 [ 3324578 ] getInstance() up call does not close provider context +11/14/2012 [ 3381209 ] Memory leak inside getClass() used by invokeMethod() Zane Bitter, Red Hat -------------------- hooks/post-receive -- SFCB - Small Footprint CIM Broker |