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 038b132f010f3a74b27aa68203ce833250d24846 (commit)
from 4e1dbba6434044df5198a60277efea3505a6912d (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 038b132f010f3a74b27aa68203ce833250d24846
Author: Michael Chase-Salerno <br...@li...>
Date: Mon May 20 14:40:40 2013 -0400
[sfb-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 aefea26..6b0bd4d 100644
--- a/objectpath.c
+++ b/objectpath.c
@@ -615,6 +615,12 @@ 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",
//
hooks/post-receive
--
sfcb - Small Footprint CIM Broker
|