Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at capture_dlg.c:1918

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  
 1908    gtk_tooltips_set_tip(tooltips, multi_files_on_cb,
 1909      "Instead of using a single capture file, multiple files will be created. "
 1910      "The generated file names will contain an incrementing number and the start time of the capture.", NULL);
 1911    gtk_table_attach_defaults(GTK_TABLE(multi_tb), multi_files_on_cb, 0, 1, row, row+1);
 1912    row++;
 1913   
 1914    /* Ring buffer filesize row */
 1915    ring_filesize_cb = gtk_check_button_new_with_label("Next file every");
 1916    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ring_filesize_cb),
 1917                  global_capture_opts.has_autostop_filesize || !global_capture_opts.has_file_duration);
 1918    g_signal_connect(ring_filesize_cb, "toggled", G_CALLBACK(capture_prep_adjust_sensitivity), cap_open_w);
 1919    gtk_tooltips_set_tip(tooltips, ring_filesize_cb,
 1920      "If the selected file size is exceeded, capturing switches to the next file.\n"
 1921      "PLEASE NOTE: at least one of the \"Next file every\" options MUST be selected.",
 1922      NULL);
 1923    gtk_table_attach_defaults(GTK_TABLE(multi_tb), ring_filesize_cb, 0, 1, row, row+1);
 1924   
 1925    ring_filesize_adj = (GtkAdjustment *) gtk_adjustment_new(0.0,
 1926      1, (gfloat)INT_MAX, 1.0, 10.0, 0.0);
 1927    ring_filesize_sb = gtk_spin_button_new (ring_filesize_adj, 0, 0);
 1928    gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (ring_filesize_sb), TRUE);
Show more  




Change Warning 108.27889 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: