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 9525b06191bf0b23eb3d6b5d14074c6e50c04cd7 (commit)
from 0ad8e7634e9b7b6aa1872310eaf7c4d3a0fdcd91 (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 9525b06191bf0b23eb3d6b5d14074c6e50c04cd7
Author: Narasimha Sharoff <nsh...@us...>
Date: Thu Sep 29 00:12:58 2011 -0700
[2727918] blob has leak in EnumQualifier
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index 718a8a8..fcb142b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-28 Narasimha Sharoff <nsh...@us...>
+
+ * providerDrv.c:
+ [ 2727918 ] blob has leak in EnumQualifiers
+
2011-09-27 Chris Buccella <buc...@li...>
* cimcClientSfcbLocal.c:
diff --git a/NEWS b/NEWS
index 450545b..5cde8ce 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ Bugs fixed:
- 3400114 sfcb fails to start with ipv6 disabled
- 3310192 32bit sfcbmof fails to run x86_64
- 3413031 fixes to perform check before calling free
+- 2727918 blob has leak in EnumQualifiers
Changes in 1.4.1
================
diff --git a/providerDrv.c b/providerDrv.c
index 38f4335..2d1c188 100644
--- a/providerDrv.c
+++ b/providerDrv.c
@@ -3246,7 +3246,23 @@ processProviderInvocationRequestsThread(void *prms)
if (req->operation == OPS_LoadProvider && resp->rc == 2)
exit(-1);
}
+
+ /* SF:2727918, Bugzilla:51733 - memory leak fix */
+#ifdef HAVE_QUALREP
+ if ((req->operation == OPS_GetQualifier)
+ || (req->operation == OPS_EnumerateQualifiers)) {
+ for (i = 0; i < resp->count; i++) {
+ if (resp->object[i].data) {
+ free(resp->object[i].data);
+ resp->object[i].data = NULL;
+ }
+ }
+ }
+ free(resp);
+ resp = NULL;
+#else
free(resp);
+#endif
}
tool_mm_flush();
hooks/post-receive
--
SFCB - Small Footprint CIM Broker
|