Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-mgcp.c:2005

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_mgcp_localconnectionoptions

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-mgcp.c)expand/collapse
Show more  
 1980  dissect_mgcp_localconnectionoptions(proto_tree *parent_tree, tvbuff_t *tvb, gint offset, gint param_type_len, gint param_val_len)
 1981  {
 1982          proto_tree *tree = parent_tree;
 1983          proto_item *item = NULL;
 1984   
 1985          gchar *tokenline = NULL;
 1986          gchar **tokens = NULL;
 1987          gchar **typval = NULL;
 1988          guint i = 0;
 1989          guint tokenlen = 0;
 1990          int hf_uint = -1;
 1991          int hf_string = -1;
 1992   
 1993          if (parent_tree)
 1994          {
 1995                  item = proto_tree_add_item(parent_tree, hf_mgcp_param_localconnoptions, tvb, offset, param_type_len+param_val_len, FALSE);
 1996                  tree = proto_item_add_subtree(item, ett_mgcp_param_localconnectionoptions);
 1997          }
 1998   
 1999          /* The L: line */
 2000          offset += param_type_len; /* skip the L: */
 2001          tokenline = tvb_get_ephemeral_string(tvb, offset, param_val_len);
 2002   
 2003          /* Split into type=value pairs separated by comma */
 2004[+]         tokens = ep_strsplit(tokenline, ",", -1);
 2005          for (i = 0; tokens[i] != NULL; i++)
Show more  




Change Warning 2736.31956 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: