Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at capture_if_dlg.c:700

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

capture_if_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/capture_if_dlg.c)expand/collapse
Show more  
 690        if_dlg_data->capture_bt = gtk_button_new_from_stock(WIRESHARK_STOCK_CAPTURE_START);
 691            g_signal_connect(if_dlg_data->capture_bt, "clicked", G_CALLBACK(capture_do_cb), if_dlg_data);
 692        tmp_str = g_strdup_printf("Immediately start a capture from this interface:\n\n%s", if_tool_str->str);
 693        gtk_tooltips_set_tip(tooltips, if_dlg_data->capture_bt,
 694            tmp_str, NULL);
 695        g_free(tmp_str);
 696        gtk_table_attach_defaults(GTK_TABLE(if_tb), if_dlg_data->capture_bt, 6, 7, row, row+1);
 697   
 698        /* prepare button */
 699        if_dlg_data->prepare_bt = gtk_button_new_from_stock(WIRESHARK_STOCK_CAPTURE_OPTIONS);
 700        g_signal_connect(if_dlg_data->prepare_bt, "clicked", G_CALLBACK(capture_prepare_cb), if_dlg_data);
 701        gtk_tooltips_set_tip(tooltips, if_dlg_data->prepare_bt,
 702            "Open the capture options dialog with this interface selected.", NULL);
 703        gtk_table_attach_defaults(GTK_TABLE(if_tb), if_dlg_data->prepare_bt, 7, 8, row, row+1);
 704   
 705        /* details button */
 706  #ifdef _WIN32 
 707        if_dlg_data->details_bt = gtk_button_new_from_stock(WIRESHARK_STOCK_CAPTURE_DETAILS);
 708        gtk_tooltips_set_tip(tooltips, if_dlg_data->details_bt,
 709            "Open the capture details dialog of this interface.", NULL);
 710        gtk_table_attach_defaults(GTK_TABLE(if_tb), if_dlg_data->details_bt, 8, 9, row, row+1);
Show more  




Change Warning 135.27931 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: