Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-mgcp.c:1894

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

dissect_mgcp_connectionparams

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-mgcp.c)expand/collapse
Show more  
 1868  dissect_mgcp_connectionparams(proto_tree *parent_tree, tvbuff_t *tvb, gint offset, gint param_type_len, gint param_val_len)
 1869  {
 1870          proto_tree *tree = parent_tree;
 1871          proto_item *item = NULL;
 1872   
 1873          gchar *tokenline = NULL;
 1874          gchar **tokens = NULL;
 1875          gchar **typval = NULL;
 1876          guint i = 0;
 1877          guint tokenlen = 0;
 1878          int hf_uint = -1;
 1879          int hf_string = -1;
 1880   
 1881          if (parent_tree)
 1882          {
 1883                  item = proto_tree_add_item(parent_tree, hf_mgcp_param_connectionparam, tvb, offset, param_type_len+param_val_len, FALSE);
 1884                  tree = proto_item_add_subtree(item, ett_mgcp_param_connectionparam);
 1885          }
 1886   
 1887          /* The P: line */
 1888          offset += param_type_len; /* skip the P: */
 1889          tokenline = tvb_get_ephemeral_string(tvb, offset, param_val_len);
 1890   
 1891          /* Split into type=value pairs separated by comma */
 1892[+]         tokens = ep_strsplit(tokenline, ",", -1);
 1893           
 1894          for (i = 0; tokens[i] != NULL; i++)
Show more  




Change Warning 2738.31954 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: