Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at main_menu.c:1894

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

add_menu_recent_capture_file_absolute

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_menu.c)expand/collapse
Show more  
 1883      gtk_widget_show (menu_item);
 1884   
 1885      /* add seperator at last position */
 1886      menu_item = gtk_menu_item_new();
 1887      gtk_menu_shell_append (GTK_MENU_SHELL(submenu_recent_files), menu_item);
 1888      gtk_widget_show (menu_item);
 1889   
 1890      /* add new "clear list" item at last position */
 1891      menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_CLEAR, NULL);
 1892      gtk_menu_shell_append (GTK_MENU_SHELL(submenu_recent_files), menu_item);
 1893      g_signal_connect_swapped(GTK_OBJECT(menu_item), "activate",
 1894                               G_CALLBACK(clear_menu_recent_capture_file_cmd_cb), (GtkObject *) menu_item);
 1895      gtk_widget_show (menu_item);
 1896   
 1897      update_menu_recent_capture_file(submenu_recent_files);
 1898  }
 1899   
 1900   
 1901  /* add the capture filename to the "Recent Files" menu */
 1902  /* (will change nothing, if this filename is already in the menu) */
 1903  /*
 1904   * XXX - We might want to call SHAddToRecentDocs under Windows 7:
Show more  




Change Warning 353.28309 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: