---

** [tickets:#526] dtm: Null pointer dereference when dtm_node_new() fails**

**Status:** unassigned
**Created:** Mon Jul 29, 2013 12:01 PM UTC by Anders Widell
**Last Updated:** Mon Jul 29, 2013 12:01 PM UTC
**Owner:** nobody

If dtm_node_new() returns NULL, the call to LOG_ER() below will dereference the 
returned NULL pointer. This code is in file dtm_node_sockets.c, line 1335 - 
1341, tag 4.2.4RC1:

                new_node = dtm_node_new(&node);

                if (new_node == NULL) {
                        LOG_ER("DTM: dtm_node_add failed .node_ip: %s, node_id: 
%u", new_node->node_ip, new_node->node_id);
                        dtm_comm_socket_close(&new_conn_sd);
                        goto node_fail;
                }



---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to