osaf/services/saf/immsv/immnd/immnd_evt.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Assert 'rspList' before generating search bundle response.

diff --git a/osaf/services/saf/immsv/immnd/immnd_evt.c 
b/osaf/services/saf/immsv/immnd/immnd_evt.c
--- a/osaf/services/saf/immsv/immnd/immnd_evt.c
+++ b/osaf/services/saf/immsv/immnd/immnd_evt.c
@@ -1682,6 +1682,7 @@ static uint32_t immnd_evt_proc_search_ne
                                IMMA_EVT_ND2A_SEARCHNEXT_RSP;
                        send_evt.info.imma.info.searchNextRsp = rsp;
                } else {
+                       osafassert(rspList);
                        bundleSearch.resultSize = resultSize;
                        bundleSearch.searchResult = (IMMSV_OM_RSP_SEARCH_NEXT 
**)
                                malloc(sizeof(IMMSV_OM_RSP_SEARCH_NEXT *) * 
resultSize);

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to