Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at uat_gui.c:492

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

uat_edit_dialog

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/uat_gui.c)expand/collapse
Show more  
 482                                          md->valptr = valptr;
 483                                           
 484                                          gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item);
 485                                           
 486                                          if ( g_str_equal(str, text) ) {
 487                                                  menu_index = index;
 488                                                  *((char const**)valptr) = str;
 489                                          }
 490   
 491                                          g_signal_connect(menu_item, "activate", G_CALLBACK(fld_menu_item_cb), md);
 492                                          g_signal_connect(menu_item, "destroy", G_CALLBACK(fld_menu_item_destroy_cb), md);
 493                                  }
 494   
 495                                  g_ptr_array_add(dd->entries,valptr);
 496                                  g_ptr_array_add(dd->tobe_freed,valptr);
 497   
 498                                  /* Create the option menu from the menu */
 499                                  option_menu = gtk_option_menu_new();
 500                                  gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu);
 501   
 502                                  /* Set its current value to the variable's current value */
Show more  




Change Warning 560.28639 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: