Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at print_dlg.c:647

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

open_print_dialog

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/print_dlg.c)expand/collapse
Show more  
 637    cmd_te = gtk_entry_new();
 638    g_object_set_data(G_OBJECT(dest_cb), PRINT_CMD_TE_KEY, cmd_te);
 639    gtk_tooltips_set_tip (tooltips, cmd_te, "Enter print command", NULL);
 640    gtk_entry_set_text(GTK_ENTRY(cmd_te), args->cmd);
 641    gtk_table_attach_defaults(GTK_TABLE(printer_tb), cmd_te, 1, 2, 1, 2);
 642    gtk_widget_set_sensitive(cmd_te, !args->to_file);
 643    if(action == output_action_print)
 644      gtk_widget_show(cmd_te);
 645  #endif
 646   
 647    g_signal_connect(dest_cb, "toggled", G_CALLBACK(print_cmd_toggle_dest), NULL);
 648    g_signal_connect(file_bt, "clicked", G_CALLBACK(print_browse_file_cb), file_te);
 649   
 650    if(action == output_action_export_ps) {
 651      export_format_lb = gtk_label_new("(PostScript files can be easily converted to PDF files using ghostscript's ps2pdf)");
 652      gtk_box_pack_start(GTK_BOX(printer_vb), export_format_lb, FALSE, FALSE, 0);
 653      gtk_widget_show(export_format_lb);
 654    }
 655   
 656  /*****************************************************/
 657   
Show more  




Change Warning 484.28486 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: