Hi Peter,

ACK.

Best Regards,
ThuanTr

-----Original Message-----
From: Peter McIntyre <[email protected]> 
Sent: Monday, June 1, 2020 1:23 PM
To: Minh Hon Chau <[email protected]>; Vu Minh Nguyen 
<[email protected]>; Thang Duc Nguyen <[email protected]>; 
Thuan Tran <[email protected]>
Cc: [email protected]; Peter McIntyre 
<[email protected]>
Subject: [PATCH 1/1] imm: add checking of return parameters [#3194]

---
 src/imm/agent/imma_proc.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/imm/agent/imma_proc.cc b/src/imm/agent/imma_proc.cc
index 1060a62c2..dafd42391 100644
--- a/src/imm/agent/imma_proc.cc
+++ b/src/imm/agent/imma_proc.cc
@@ -2149,7 +2149,8 @@ static bool imma_process_callback_info(IMMA_CB *cb, 
IMMA_CLIENT_NODE *cl_node,
     case IMMA_CALLBACK_OM_ADMIN_OP_RSP: /*Async reply via OM. */
       /* ABT decide if it is A.2.1 or A.2.11 callback. */
       if (cl_node->isImmA2bCbk) {
-        if (!osaf_is_extended_names_enabled()) {
+        if (!osaf_is_extended_names_enabled() &&
+            callback->params) {
           int i = 0;
           while (callback->params[i]) {
             if (callback->params[i]->paramType == SA_IMM_ATTR_SANAMET &&
-- 
2.17.1



_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to