Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at funnel_stat.c:162

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

new_text_window

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/funnel_stat.c)expand/collapse
Show more  
 152   
 153  static funnel_text_window_t* new_text_window(const gchar* title) {
 154      funnel_text_window_t* tw = g_malloc(sizeof(funnel_text_window_t));
 155          GtkWidget *txt_scrollw, *main_vb, *hbox;
 156   
 157      tw->close_cb = NULL;
 158      tw->close_data = NULL;
 159      tw->buttons = g_ptr_array_new();
 160           
 161      tw->win = window_new(GTK_WINDOW_TOPLEVEL,title);
 162      g_signal_connect(tw->win, "delete-event", G_CALLBACK(text_window_delete_event_cb), tw);
 163   
 164      txt_scrollw = scrolled_window_new(NULL, NULL);
 165      main_vb = gtk_vbox_new(FALSE, 3);
 166          gtk_container_set_border_width(GTK_CONTAINER(main_vb), 6);
 167          gtk_container_add(GTK_CONTAINER(tw->win), main_vb);
 168       
 169      gtk_container_add(GTK_CONTAINER(main_vb), txt_scrollw);
 170   
 171      gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(txt_scrollw),  
 172                                          GTK_SHADOW_IN);
Show more  




Change Warning 641.28824 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: