From: Chris B. <buc...@us...> - 2011-06-21 22:46: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 "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 797169a9f23e84224e2fcfced29189396791c576 (commit) from f8d3ecdfe9f9bb82d5442e512ede2567ec90265d (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 797169a9f23e84224e2fcfced29189396791c576 Author: buccella <buc...@li...> Date: Tue Jun 21 18:46:11 2011 -0400 [ 3324198 ] getObjectPath() may deref a NULL pointer ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 07cb534..592256c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-06-21 Chris Buccella <buc...@li...> + * objectpath.c: + [ 3324198 ] getObjectPath() may deref a NULL pointer + * objectImpl.c: [ 3324192 ] Erroneous condition in loop in objectImpl:locateParameter() diff --git a/NEWS b/NEWS index a074ee8..99466e4 100644 --- a/NEWS +++ b/NEWS @@ -95,6 +95,7 @@ Bugs Fixed: - 3324131 indCIMXMLHandler may return uninitialized CMPIStatus - 3324168 gatherNameSpacesData() may closedir() a NULL pointer - 3324192 Erroneous condition in loop in objectImpl:locateParameter() +- 3324198 getObjectPath() may deref a NULL pointer Changes in 1.3.11 ================= diff --git a/objectpath.c b/objectpath.c index fb76d8d..cbf4b0d 100644 --- a/objectpath.c +++ b/objectpath.c @@ -642,7 +642,7 @@ getObjectPath(char *path, char **msg) free(nname); return op; } - *msg = "No className found"; + if (msg) *msg = "No className found"; free(origu); if (nname) free(nname); hooks/post-receive -- SFCB - Small Footprint CIM Broker |