From: Chris B. <buc...@us...> - 2011-06-21 22:16:39
|
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 f8d3ecdfe9f9bb82d5442e512ede2567ec90265d (commit) from b256339e7fce6702c774765c6f33a824da7eb8dd (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 f8d3ecdfe9f9bb82d5442e512ede2567ec90265d Author: buccella <buc...@li...> Date: Tue Jun 21 18:16:21 2011 -0400 [ 3324192 ] Erroneous condition in loop in objectImpl:locateParameter() ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index ba84009..07cb534 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-06-21 Chris Buccella <buc...@li...> + * objectImpl.c: + [ 3324192 ] Erroneous condition in loop in objectImpl:locateParameter() + * interopServerProvider.c: [ 3324168 ] gatherNameSpacesData() may closedir() a NULL pointer diff --git a/NEWS b/NEWS index 0c28b5d..a074ee8 100644 --- a/NEWS +++ b/NEWS @@ -94,6 +94,7 @@ Bugs Fixed: - 3324214 Remove dead code from providerDrv:loadProvider() - 3324131 indCIMXMLHandler may return uninitialized CMPIStatus - 3324168 gatherNameSpacesData() may closedir() a NULL pointer +- 3324192 Erroneous condition in loop in objectImpl:locateParameter() Changes in 1.3.11 ================= diff --git a/objectImpl.c b/objectImpl.c index 61bef19..a3e5b2c 100644 --- a/objectImpl.c +++ b/objectImpl.c @@ -1064,7 +1064,7 @@ locateParameter(ClObjectHdr * hdr, ClSection * prms, const char *id) p = (ClParameter *) getSectionPtr(hdr, prms); - for (i = 0; i > prms->used; i++) { + for (i = 0; i < prms->used; i++) { if (strcasecmp(id, ClObjectGetClString(hdr, &(p + i)->id)) == 0) return i + 1; } hooks/post-receive -- SFCB - Small Footprint CIM Broker |