Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at main_toolbar.c:335

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

toolbar_new

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_toolbar.c)expand/collapse
Show more  
 324       * We'll also fudge in an object key ("save") for the save button with data which  specifies 
 325       * whether the button is currently "save" (1)or "save as" (0).
 326       * The fcn file_save_or_save_as_cmd_cb 
 327       * will then call the appropriate file_save_cmd_cb or file_save_as_cmd_cb
 328       */
 329   
 330      toolbar_item(save_button, main_tb,  
 331          GTK_STOCK_SAVE, tooltips, SAVE_BUTTON_TOOLTIP_TEXT, file_save_or_save_as_cmd_cb, NULL);
 332      g_object_set_data(G_OBJECT(save_button), "save", GINT_TO_POINTER(1));
 333   
 334      toolbar_item(close_button, main_tb,  
 335          GTK_STOCK_CLOSE, tooltips, "Close this capture file", file_close_cmd_cb, NULL);
 336   
 337      toolbar_item(reload_button, main_tb,  
 338          GTK_STOCK_REFRESH, tooltips, "Reload this capture file", file_reload_cmd_cb, NULL);
 339   
 340      toolbar_item(print_button, main_tb,  
 341          GTK_STOCK_PRINT, tooltips, "Print packet(s)...", file_print_cmd_cb, NULL);
 342   
 343      toolbar_append_separator(main_tb);
 344   
 345      toolbar_item(find_button, main_tb,  
Show more  




Change Warning 390.28362 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: