Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at main.c:3215

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

create_main_window

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main.c)expand/collapse
Show more  
 3204      top_level = window_new(GTK_WINDOW_TOPLEVEL, title);
 3205      g_free(title);
 3206   
 3207      tooltips = gtk_tooltips_new();
 3208   
 3209      gtk_widget_set_name(top_level, "main window");
 3210      g_signal_connect(top_level, "delete_event", G_CALLBACK(main_window_delete_event_cb),
 3211                     NULL);
 3212      g_signal_connect(GTK_OBJECT(top_level), "window_state_event",
 3213                           G_CALLBACK(window_state_event_cb), NULL);
 3214      g_signal_connect(GTK_OBJECT(top_level), "key-press-event",
 3215                           G_CALLBACK(top_level_key_pressed_cb), NULL );
 3216   
 3217      gtk_window_set_policy(GTK_WINDOW(top_level), TRUE, TRUE, FALSE);
 3218   
 3219      /* Vertical container for menu bar, toolbar(s), paned windows and progress/info box */
 3220      main_vbox = gtk_vbox_new(FALSE, 1);
 3221      gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 1);
 3222      gtk_container_add(GTK_CONTAINER(top_level), main_vbox);
 3223      gtk_widget_show(main_vbox);
 3224   
 3225      /* Menu bar */
Show more  




Change Warning 334.28285 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: