Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at hostlist_table.c:432

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

hostlist_create_popup_menu

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/hostlist_table.c)expand/collapse
Show more  
 422  static void
 423  hostlist_create_popup_menu(hostlist_table *hl)
 424  {
 425      GtkItemFactory *item_factory;
 426   
 427      item_factory = gtk_item_factory_new(GTK_TYPE_MENU, "<main>", NULL);
 428   
 429      gtk_item_factory_create_items_ac(item_factory, sizeof(hostlist_list_menu_items)/sizeof(hostlist_list_menu_items[0]), hostlist_list_menu_items, hl, 2);
 430   
 431      hl->menu = gtk_item_factory_get_widget(item_factory, "<main>");
 432      g_signal_connect(hl->table, "button_press_event", G_CALLBACK(hostlist_show_popup_menu_cb), hl);
 433  }
 434   
 435   
 436  /* Draw/refresh the address field of a single entry at the specified index */
 437  static void
 438  draw_hostlist_table_address(hostlist_table *hl, int hostlist_idx)
 439  {
 440      const char *entry;
 441      char *port;
 442      guint32 pt;
Show more  




Change Warning 320.28262 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: