Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at capture_dlg.c:1945

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

capture_prep_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/capture_dlg.c)expand/collapse
Show more  
 1934   
 1935    value = size_unit_option_menu_set_value(global_capture_opts.autostop_filesize);
 1936    gtk_adjustment_set_value(ring_filesize_adj, (gfloat) value);
 1937   
 1938    row++;
 1939   
 1940    /* Ring buffer duration row */
 1941    file_duration_cb = gtk_check_button_new_with_label("Next file every");
 1942    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(file_duration_cb),
 1943                                global_capture_opts.has_file_duration);
 1944    g_signal_connect(file_duration_cb, "toggled",
 1945                   G_CALLBACK(capture_prep_adjust_sensitivity), cap_open_w);
 1946    gtk_tooltips_set_tip(tooltips, file_duration_cb,
 1947      "If the selected duration is exceeded, capturing switches to the next file.\n"
 1948      "PLEASE NOTE: at least one of the \"Next file every\" options MUST be selected.",
 1949      NULL);
 1950    gtk_table_attach_defaults(GTK_TABLE(multi_tb), file_duration_cb, 0, 1, row, row+1);
 1951   
 1952    file_duration_adj = (GtkAdjustment *)gtk_adjustment_new(0.0,
 1953      1, (gfloat)INT_MAX, 1.0, 10.0, 0.0);
 1954    file_duration_sb = gtk_spin_button_new (file_duration_adj, 0, 0);
 1955    gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (file_duration_sb), TRUE);
Show more  




Change Warning 107.27888 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: