Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-asn1.c:2588

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

get_values

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/asn1/packet-asn1.c)expand/collapse
Show more  
 2562  get_values(void)                /* collect values from ASN.1 tree */
 2563                                  /* coded according to the tbl.asn1 description of snacc output */
 2564  {                               /* This routine does not leave references to the tvbuff or */
 2565                                  /* to the asn1_nodes, both can be freed by the caller of this.*/
 2566          GNode *p;
 2567          SearchDef sd;
 2568          NameDefs nd;
 2569          guint i;
 2570          char X;
 2571          const char *t, *s, *E;
 2572          static char missing[] = "  **missing**  ";
 2573   
 2574          if (asn1_verbose) g_message("interpreting tree");
 2575          typeDef_names = 0;  /* just forget allocated any data .... */
 2576   
 2577          if (data_nodes) {
 2578                  g_node_traverse(data_nodes, G_POST_ORDER, G_TRAVERSE_ALL, -1,
 2579                      free_node_data, NULL);
 2580                  g_node_destroy(data_nodes);
 2581          }
 2582   
 2583          data_nodes = g_node_new(0);
 2584   
 2585          p = g_node_first_child(asn1_nodes); /* top of the data tree */
 2586   
 2587          p = g_node_first_child(p);
 2588          TT.totalNumModules = get_asn1_uint(GPOINTER_TO_UINT(p->data));
Show more  




Change Warning 3593.35140 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: