|
From: Michael Chase-S. <mc...@us...> - 2013-05-20 15:52: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_1.3 has been updated
via 5d2158d867c25c25efaedca27cbc265adc363671 (commit)
from 946f5d2c4117682ff281422c867fa1f3a8df233a (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 5d2158d867c25c25efaedca27cbc265adc363671
Author: Michael Chase-Salerno <br...@li...>
Date: Mon May 20 11:48:47 2013 -0400
[sfcb-tix:#51] Malformed OP causes segfault
-----------------------------------------------------------------------
Summary of changes:
objectpath.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/objectpath.c b/objectpath.c
index ff1e5f0..3d85837 100644
--- a/objectpath.c
+++ b/objectpath.c
@@ -606,6 +606,12 @@ CMPIObjectPath *getObjectPath(char *path, char **msg)
u=pp+1;
}
+ if (p < u) {
+ if(msg) *msg = "Object Path malformed";
+ free(origu);
+ free(nname);
+ return NULL;
+ }
cname = strnDup(u, p - u);
// op = Broker->eft->newObjectPath(Broker, nname ? nname : "root/cimv2", cname, NULL);
op = Broker->eft->newObjectPath(Broker, nname , cname, NULL);
hooks/post-receive
--
sfcb - Small Footprint CIM Broker
|