|
From: Dave H. <hel...@us...> - 2012-08-08 22:04:31
|
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 dddf52c56c30e5a031b75e27b7c8ba99ab3d8412 (commit)
from c5a69962f45d70e8bce9a48f8af3be28441e7921 (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 dddf52c56c30e5a031b75e27b7c8ba99ab3d8412
Author: Dave Heller <hel...@us...>
Date: Wed Aug 8 18:02:29 2012 -0400
[ 3546279 ] Core dump in providerDrv on Qualifier not found
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index f798c56..c41f76a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-08 Dave Heller <hel...@us...>
+
+ * providerDrv.c:
+ [ 3546279 ] Core dump in providerDrv on Qualifier not found
+
2012-08-03 Chris Buccella <buc...@li...>
* classProvider.c, classProviderSf.c, classProviderMem.c:
diff --git a/NEWS b/NEWS
index 9b24c34..9e780fd 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ Bugs fixed:
- 3529879 Fixes for sfcb-ps test script
- 3527714 Every other EnumerateClasses fails
- 3541554 insecure LD_LIBRARY_PATH usage
+- 3546279 Core dump in providerDrv on Qualifier not found
Changes in 1.4.2
================
diff --git a/providerDrv.c b/providerDrv.c
index 596f14d..74dd48f 100644
--- a/providerDrv.c
+++ b/providerDrv.c
@@ -3448,7 +3448,8 @@ processProviderInvocationRequestsThread(void *prms)
if ((req->operation == OPS_GetQualifier)
|| (req->operation == OPS_EnumerateQualifiers)) {
for (i = 0; i < resp->count; i++) {
- if (resp->object[i].data) {
+ /* SF:3546279 - only free on successful return */
+ if (resp->object[i].data && resp->object[i].type == MSG_SEG_QUALIFIER) {
free(resp->object[i].data);
resp->object[i].data = NULL;
}
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|