- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,10 +1,10 @@
-[HIGH] /opensaf-code/src/dtm/dtmnd/dtm_intra.cc:960:3: Memory leak: pid_node 
[cppcheck-memleak]
+[HIGH] /home/opensaf-code/src/dtm/dtmnd/dtm_intra.cc:960:3: Memory leak: 
pid_node [cppcheck-memleak]
   return NCSCC_RC_SUCCESS;
   ^
 
 Found 1 defect(s) in dtm_intra.cc
 
-[HIGH] /opensaf-code/src/dtm/dtmnd/multicast.cc:136:13: The left operand of 
'==' is a garbage value [core.UndefinedBinaryOperatorResult]
+[HIGH] /home/opensaf-code/src/dtm/dtmnd/multicast.cc:136:13: The left operand 
of '==' is a garbage value [core.UndefinedBinaryOperatorResult]
         if (IN6_ARE_ADDR_EQUAL(&addr_ipv6, &peer->sin6_addr) &&
             ^
 

~~~~




---

**[tickets:#3378] dtm: coding issues identified by codechecker**

**Status:** assigned
**Milestone:** 5.25.04
**Created:** Fri Jul 18, 2025 07:57 AM UTC by Nguyen Van Khoa
**Last Updated:** Fri Jul 18, 2025 09:06 AM UTC
**Owner:** Nguyen Van Khoa


[HIGH] /home/opensaf-code/src/dtm/dtmnd/dtm_intra.cc:960:3: Memory leak: 
pid_node [cppcheck-memleak]
  return NCSCC_RC_SUCCESS;
  ^

Found 1 defect(s) in dtm_intra.cc

[HIGH] /home/opensaf-code/src/dtm/dtmnd/multicast.cc:136:13: The left operand 
of '==' is a garbage value [core.UndefinedBinaryOperatorResult]
        if (IN6_ARE_ADDR_EQUAL(&addr_ipv6, &peer->sin6_addr) &&
            ^

Found 1 defect(s) in multicast.cc


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to