Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at firewall_dlg.c:293

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

firewall_rule_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/firewall_dlg.c)expand/collapse
Show more  
 283      gtk_text_view_set_editable(GTK_TEXT_VIEW(text), FALSE);
 284      gtk_container_add(GTK_CONTAINER(txt_scrollw), text);
 285      rule_info->text = text;
 286   
 287      /* Button row */
 288      button_hbox = dlg_button_row_new(GTK_STOCK_HELP, GTK_STOCK_COPY, GTK_STOCK_SAVE, GTK_STOCK_CANCEL, NULL);
 289      gtk_box_pack_start(GTK_BOX(vbox), button_hbox, FALSE, FALSE, 0);
 290   
 291      /* Create Copy Button */
 292      button = g_object_get_data(G_OBJECT(button_hbox), GTK_STOCK_COPY);
 293      g_signal_connect(button, "clicked", G_CALLBACK(firewall_copy_cmd_cb), rule_info);
 294      gtk_tooltips_set_tip (tooltips, button, "Copy rule to clipboard ", NULL);
 295   
 296      /* Create Save Button */
 297      button = g_object_get_data(G_OBJECT(button_hbox), GTK_STOCK_SAVE);
 298      g_signal_connect(button, "clicked", G_CALLBACK(firewall_save_as_cmd_cb), rule_info);
 299      gtk_tooltips_set_tip (tooltips, button, "Save the rule as currently displayed ", NULL);
 300   
 301      button = g_object_get_data(G_OBJECT(button_hbox), GTK_STOCK_CANCEL);
 302      gtk_tooltips_set_tip (tooltips, button, "Cancel the dialog", NULL);
 303      window_set_cancel_button(rule_w, button, window_cancel_button_cb);
Show more  




Change Warning 271.28157 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: