Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at packet-synphasor.c:452

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

synphasor_init

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-synphasor.c)expand/collapse
Show more  
 442  #else
 443          g_mem_chunk_free(frame_chunks, frame);
 444  #endif
 445  }
 446   
 447  /* called every time the user loads a capture file or starts to capture */
 448  static void synphasor_init(void)
 449  {
 450          /* free stuff in the list from a previous run */
 451          if (config_frame_list) {
 452                  g_slist_foreach(config_frame_list, (GFunc) config_frame_free, NULL);
 453   
 454                  g_slist_free(config_frame_list);
 455   
 456                  config_frame_list = NULL;
 457          }
 458   
 459  #if ! GLIB_CHECK_VERSION(2,10,0)
 460          if (frame_chunks != NULL) {
 461              g_mem_chunk_destroy(frame_chunks);
 462          }
Show more  




Change Warning 72.27491 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: