Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at profile_dlg.c:889

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

profile_show_popup_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/profile_dlg.c)expand/collapse
Show more  
 879      while ((file = ws_dir_read_name(dir)) != NULL) {
 880        name = ws_dir_get_name(file);
 881   
 882        if (profile_exists(name)) {
 883          menu_item = gtk_check_menu_item_new_with_label (name);
 884          if (strcmp (name, profile_name)==0) {
 885            /* Check current profile */
 886            gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(menu_item), TRUE);
 887          }
 888          g_object_set (G_OBJECT(menu_item), "draw-as-radio", TRUE, NULL);
 889          g_signal_connect (menu_item, "activate", G_CALLBACK(select_profile_cb), g_strdup (name));
 890          gtk_menu_shell_append  (GTK_MENU_SHELL (menu), menu_item);
 891          gtk_widget_show (menu_item);
 892        }
 893      }
 894    }
 895   
 896    gtk_menu_popup (GTK_MENU(menu), NULL, NULL, NULL, NULL,
 897                    bevent->button, bevent->time);
 898   
 899    return TRUE;
Show more  




Change Warning 498.28504 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: