Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at capture_file_dlg.c:1256

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

file_save_as_cmd

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/capture_file_dlg.c)expand/collapse
Show more  
 1245    compressed_cb = gtk_check_button_new_with_label("Compress with gzip");
 1246    gtk_container_add(GTK_CONTAINER(ft_hb), compressed_cb);
 1247    /* XXX - disable output compression for now, as this doesn't work with the 
 1248     * current optimization to simply copy a capture file if it's using the same 
 1249     * encapsulation ... */
 1250    /* the rest of the implementation is just working fine :-( */
 1251    /*gtk_widget_show(compressed_cb);*/
 1252    g_object_set_data(G_OBJECT(file_save_as_w), "compressed", compressed_cb);
 1253    gtk_widget_set_sensitive(compressed_cb, wtap_dump_can_compress(cfile.cd_t));
 1254   
 1255    g_signal_connect(file_save_as_w, "destroy",
 1256                     G_CALLBACK(file_save_as_destroy_cb), NULL);
 1257   
 1258    if (gtk_dialog_run(GTK_DIALOG(file_save_as_w)) == GTK_RESPONSE_ACCEPT) {
 1259      file_save_as_ok_cb(file_save_as_w, file_save_as_w);
 1260    } else {
 1261      window_destroy(file_save_as_w);
 1262    }
 1263  #endif /* _WIN32 */
 1264  }
 1265   
 1266  void 
Show more  




Change Warning 129.27919 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: