coverity #62
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Mar 2006 12:16:53 +0000 (12:16 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Mar 2006 12:16:53 +0000 (12:16 +0000)
potential null dereference

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17549 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/rtp_analysis.c

index 16e7034b3d6de5190d1375507ba70b4bd286f3d2..48eba899e40ef8ec5b46847bea1581b925128938 100644 (file)
@@ -3609,6 +3609,8 @@ static gboolean process_node(proto_node *ptree_node, header_field_info *hfinform
                                return TRUE;
                        }
                }
+               if(!ptree_node)
+                       return FALSE;
        }
 
        proto_sibling_node = ptree_node->next;