Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at profile_dlg.c:778

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

profile_dialog_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/profile_dlg.c)expand/collapse
Show more  
 768    gtk_container_add(GTK_CONTAINER(props_vb), middle_hb);
 769    gtk_widget_show(middle_hb);
 770   
 771    name_lb = gtk_label_new("Profile name:");
 772    gtk_box_pack_start(GTK_BOX(middle_hb), name_lb, FALSE, FALSE, 0);
 773    gtk_widget_show(name_lb);
 774   
 775    name_te = gtk_entry_new();
 776    gtk_box_pack_start(GTK_BOX(middle_hb), name_te, TRUE, TRUE, 0);
 777    g_object_set_data(G_OBJECT(main_w), E_PROF_NAME_TE_KEY, name_te);
 778    g_signal_connect(name_te, "changed", G_CALLBACK(profile_name_te_changed_cb), NULL);
 779  #ifdef _WIN32 
 780    gtk_tooltips_set_tip (tooltips, name_te, "A profile name cannot start or end with a period (.), and cannot contain any of the following characters:\n   \\ / : * ? \" < > |", NULL);
 781  #else
 782    gtk_tooltips_set_tip (tooltips, name_te, "A profile name cannot contain the '/' character", NULL);
 783  #endif
 784    gtk_widget_show(name_te);
 785   
 786    /* button row (create all possible buttons and hide the unrequired later - it's a lot easier) */
 787    bbox = dlg_button_row_new(GTK_STOCK_OK, GTK_STOCK_APPLY, GTK_STOCK_CANCEL, GTK_STOCK_HELP, NULL);
 788    gtk_box_pack_start(GTK_BOX(main_vb), bbox, FALSE, FALSE, 5);
Show more  




Change Warning 491.28496 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: